-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
47 lines (37 loc) · 1.01 KB
/
.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
46
47
build_images:
image: docker:19.03.1
variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_TLS_CERTDIR: ""
services:
- docker:19.03.1-dind
stage: build
script:
- cd orchestrus
- docker login -u gelina -p $DOCKER_HUB_GELINA
- docker build worker -t gelina/worker
- docker push gelina/worker
- docker build bdd-controller -t gelina/bdd-controller
- docker push gelina/bdd-controller
- docker build orchestrus-core -t gelina/orchestrus-core
- docker push gelina/orchestrus-core
- docker build postgres -t gelina/postgres
- docker push gelina/postgres
test_core:
image: mcr.microsoft.com/dotnet/core/sdk:3.1-buster
stage: test
script:
- cd orchestrus/orchestrus-core
- dotnet test
test_bdd:
image: mcr.microsoft.com/dotnet/core/sdk:3.1-buster
stage: test
script:
- cd orchestrus/bdd-controller
- dotnet test
test_worker:
image: mcr.microsoft.com/dotnet/core/sdk:3.1-buster
stage: test
script:
- cd orchestrus/worker
- dotnet test