.gitlab-ci.yml 841 Bytes
Newer Older
Sebastian Schüpbach's avatar
Sebastian Schüpbach committed
1
2
3
4
5
stages:
  - test
  - build
  - publish

Sebastian Schüpbach's avatar
Sebastian Schüpbach committed
6
7
include:
  - project: 'memoriav/memobase-2020/utilities/ci-templates'
Sebastian Schüpbach's avatar
Sebastian Schüpbach committed
8
    ref: modular
Sebastian Schüpbach's avatar
Sebastian Schüpbach committed
9
10
    file: 'sbt/base.yml'
  - project: 'memoriav/memobase-2020/utilities/ci-templates'
Sebastian Schüpbach's avatar
Sebastian Schüpbach committed
11
    ref: modular
Sebastian Schüpbach's avatar
Sebastian Schüpbach committed
12
    file: 'docker/base.yml'
Sebastian Schüpbach's avatar
Sebastian Schüpbach committed
13
14
  - project: 'memoriav/memobase-2020/utilities/ci-templates'
    file: 'helm-chart/helm-chart.yml'
Sebastian Schüpbach's avatar
Sebastian Schüpbach committed
15

Sebastian Schüpbach's avatar
Sebastian Schüpbach committed
16
17
18
19
20
21
22
23
cache:
  key: "$CI_BUILD_REF_NAME"
  paths:
    - "sbt-cache/ivy/cache"
    - "sbt-cache/boot"
    - "sbt-cache/sbtboot"
    - "sbt-cache/target"

Sebastian Schüpbach's avatar
Sebastian Schüpbach committed
24
25
test-sbt:
  extends: .test-sbt
Sebastian Schüpbach's avatar
Sebastian Schüpbach committed
26
  before_script:
27
    - apt-get update --allow-releaseinfo-change && apt-get install -y ffmpeg
Sebastian Schüpbach's avatar
Sebastian Schüpbach committed
28
29
assembly-sbt:
  extends: .assembly-sbt
Sebastian Schüpbach's avatar
Sebastian Schüpbach committed
30

Sebastian Schüpbach's avatar
Sebastian Schüpbach committed
31
32
build-tagged-image:
  extends: .build-tagged-image
Sebastian Schüpbach's avatar
Sebastian Schüpbach committed
33

Sebastian Schüpbach's avatar
Sebastian Schüpbach committed
34
35
build-latest-image:
  extends: .build-latest-image
Sebastian Schüpbach's avatar
Sebastian Schüpbach committed
36

Sebastian Schüpbach's avatar
Sebastian Schüpbach committed
37
build-feature-branch-image:
38
  extends: .build-feature-branch-image