-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.gitlab-ci.yml
37 lines (37 loc) · 914 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
build dependency image:
tags:
- 1c-server
rules:
- changes:
- dependency-image/Dockerfile
- dependency-image/docker-compose.yml
script:
- cd dependency-image && docker-compose up --build --remove-orphans
build conveyor image:
tags:
- 1c-server
rules:
- changes:
- conveyor-image/*
script:
- cd conveyor-image && docker-compose --env-file ./config.env up --build --remove-orphans
build dependency image (manual):
tags:
- 1c-server
rules:
- changes:
- .gitlab-ci.yml
when: manual
allow_failure: true
script:
- cd dependency-image && docker-compose up --build --remove-orphans
build conveyor image (manual):
tags:
- 1c-server
rules:
- changes:
- .gitlab-ci.yml
when: manual
allow_failure: true
script:
- cd conveyor-image && docker-compose --env-file ./config.env up --build --remove-orphans