-
Notifications
You must be signed in to change notification settings - Fork 5
/
.gitlab-ci-rwth.yml
55 lines (51 loc) · 3.39 KB
/
.gitlab-ci-rwth.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
46
47
48
49
50
51
52
53
54
stages:
- build
- test
- deploy
build:
stage: build
tags:
- shell-runner
variables:
GIT_SUBMODULE_STRATEGY: recursive
script:
- docker build . -f ./docker/simulators/Dockerfile_TVB -t insite-tvb
- docker build . -f ./docker/simulators/Dockerfile_Arbor -t insite-arbor
- docker build . -f ./docker/simulators/Dockerfile_NEST -t insite-nest
- docker build . -f ./docker/Dockerfile_AccessNode -t insite-access-node
- docker build . -f ./docker/examples/Dockerfile_TVBExample -t insite-tvb-example
- docker build . -f ./docker/examples/Dockerfile_NestExample -t insite-nest-example
- docker build . -f ./docker/examples/Dockerfile_ArborRingExample -t insite-arbor-example-ring
- docker-compose -f ./test/run-tests.yml up --build --exit-code-from pytest
deploy:
stage: deploy
tags:
- shell-runner
variables:
GIT_SUBMODULE_STRATEGY: recursive
before_script:
- echo $REGISTRY_TOKEN | docker login -u "registry_pusher" --password-stdin registry.git-ce.rwth-aachen.de
script:
- docker build . -f ./docker/simulators/Dockerfile_TVB -t insite-tvb
- docker build . -f ./docker/simulators/Dockerfile_Arbor -t insite-arbor
- docker build . -f ./docker/simulators/Dockerfile_NEST -t insite-nest
- docker build . -f ./docker/Dockerfile_AccessNode -t insite-access-node
- docker build . -f ./docker/examples/Dockerfile_TVBExample -t insite-tvb-example
- docker build . -f ./docker/examples/Dockerfile_NestExample -t insite-nest-example
- docker build . -f ./docker/examples/Dockerfile_ArborRingExample -t insite-arbor-example-ring
- docker tag insite-access-node registry.git-ce.rwth-aachen.de/vr-vis/vr-group/in-situ-pipeline/insite/insite-access-node
- docker tag insite-tvb registry.git-ce.rwth-aachen.de/vr-vis/vr-group/in-situ-pipeline/insite/insite-tvb
- docker tag insite-arbor registry.git-ce.rwth-aachen.de/vr-vis/vr-group/in-situ-pipeline/insite/insite-arbor
- docker tag insite-nest registry.git-ce.rwth-aachen.de/vr-vis/vr-group/in-situ-pipeline/insite/insite-nest
- docker tag insite-nest-example registry.git-ce.rwth-aachen.de/vr-vis/vr-group/in-situ-pipeline/insite/insite-nest-example
- docker tag insite-arbor-example registry.git-ce.rwth-aachen.de/vr-vis/vr-group/in-situ-pipeline/insite/insite-arbor-example
- docker tag insite-arbor-example registry.git-ce.rwth-aachen.de/vr-vis/vr-group/in-situ-pipeline/insite/insite-arbor-example-ring
- docker tag insite-tvb-example registry.git-ce.rwth-aachen.de/vr-vis/vr-group/in-situ-pipeline/insite/insite-tvb-example
- docker push registry.git-ce.rwth-aachen.de/vr-vis/vr-group/in-situ-pipeline/insite/insite-access-node
- docker push registry.git-ce.rwth-aachen.de/vr-vis/vr-group/in-situ-pipeline/insite/insite-tvb
- docker push registry.git-ce.rwth-aachen.de/vr-vis/vr-group/in-situ-pipeline/insite/insite-arbor
- docker push registry.git-ce.rwth-aachen.de/vr-vis/vr-group/in-situ-pipeline/insite/insite-nest
- docker push registry.git-ce.rwth-aachen.de/vr-vis/vr-group/in-situ-pipeline/insite/insite-tvb-example
- docker push registry.git-ce.rwth-aachen.de/vr-vis/vr-group/in-situ-pipeline/insite/insite-arbor-example
- docker push registry.git-ce.rwth-aachen.de/vr-vis/vr-group/in-situ-pipeline/insite/insite-arbor-example-ring
- docker push registry.git-ce.rwth-aachen.de/vr-vis/vr-group/in-situ-pipeline/insite/insite-nest-example