-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
45 lines (39 loc) · 987 Bytes
/
.gitlab-ci.yml
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
include:
- project: 'vivarium/th2/pipelines'
ref: master
file: '/.gitlab-ci-multi-docker.yml'
variables:
APP_NAME: "th2-conn-generic"
.resolve-multi-image-name: &resolve-multi-image-name
- |
APP_NAME="th2-${PROJECT_NAME}"
if [ $SOLUTION == "true" ]; then
IMAGE_NAME=${SOLUTION_REGISTRY}/${APP_NAME}
else
IMAGE_NAME=${REGISTRY}/${APP_NAME}
fi
IMAGE_VERSION_LABEL=com.exactpro.th2.${APP_NAME}.version
build-dockers-context:
extends: .build-dockers-context-template
build-dockers:
extends: .build-dockers-template
before_script:
- *resolve-multi-image-name
parallel:
matrix:
- PROVIDER: conns
PROJECT_NAME:
- conn-fix
- conn-ntg
- conn-soup
dockers-publish:
extends: .dockers-publish-template
before_script:
- *resolve-multi-image-name
parallel:
matrix:
- PROVIDER: conns
PROJECT_NAME:
- conn-fix
- conn-ntg
- conn-soup