blob: 05c3bab26324753c6d4fc6bc914cb50404202846 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
include:
- project: "common/gitlab-helper"
ref: master
file: "ci-helper.yml"
- project: "common/gitlab-helper"
ref: master
file: "container-helper.yml"
- project: "common/gitlab-helper"
ref: master
file: "deploy-helper.yml"
workflow: !reference [.common, workflow]
variables:
PKG_NAME: "eccodes"
stages:
- prepareBuild
- build
- test
- deploy
docker-build-and-test:
stage: prepareBuild
extends: .container-build-and-push
variables: !reference [.arch-build-and-test, variables]
needs: []
build-eccodes:
stage: build
image: !reference [.arch-build-and-test, variables, IMAGE_NAME]
needs:
- job: "docker-build-and-test"
artifacts: no
artifacts: !reference [.arch-build-and-test, artifacts]
script:
- !reference [.arch-build, script]
test-eccodes:
stage: test
image: !reference [.arch-build-and-test, variables, IMAGE_NAME]
needs: ["build-eccodes"]
script:
- !reference [.arch-test, script]
deploy-eccodes:
stage: deploy
extends: .git-ssh-push-remote
variables: !reference [.arch-deploy, variables]
before_script:
- !reference [.arch-deploy, before_script]
rules:
- !reference [.arch-deploy, rules]
|