forked from osbuild/images
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
65 lines (59 loc) · 1.15 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
stages:
- init
- gen
- test
- verify
- finish
init:
stage: init
interruptible: true
tags:
- shell
script:
- schutzbot/update_github_status.sh start
configure-generators:
stage: gen
image: fedora:latest
variables:
PYTHONUNBUFFERED: 1
script:
- ./test/scripts/install-dependencies
- ./test/scripts/configure-generators generator-config.yml
artifacts:
paths:
- generator-config.yml
generator-trigger:
stage: test
trigger:
include:
- artifact: generator-config.yml
job: configure-generators
strategy: depend
check-build-coverage:
stage: verify
image: fedora:latest
variables:
PYTHONUNBUFFERED: 1
script:
- ./test/scripts/install-dependencies
- ./test/scripts/check-build-coverage ./s3configs/
cache:
key: testcache
paths:
- .cache/osbuild-images
finish:
stage: finish
dependencies: []
tags:
- shell
script:
- schutzbot/update_github_status.sh finish
fail:
stage: finish
tags:
- shell
script:
- schutzbot/update_github_status.sh fail
- exit 1 # make the pipeline fail so it doesn't look like success
when: on_failure