forked from osbuild/image-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
73 lines (66 loc) · 1.2 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
66
67
68
69
70
71
72
73
stages:
- start
- build
- test
- finish
.terraform:
after_script:
- schutzbot/update_github_status.sh update
- schutzbot/save_journal.sh
tags:
- terraform
artifacts:
paths:
- journal-log
when: always
start:
stage: start
tags:
- shell
script:
- schutzbot/update_github_status.sh start
build:
stage: build
extends: .terraform
script:
- schutzbot/build.sh
artifacts:
paths:
- repo/image-builder/${CI_PIPELINE_ID}
expire_in: 3 days
parallel:
matrix:
- RUNNER:
- aws/rhel-8-x86_64
Test EL8:
stage: test
extends: .terraform
script:
- schutzbot/ci_details.sh
- schutzbot/deploy.sh
- /usr/libexec/tests/image-builder/api.sh ${PROVIDER}
parallel:
matrix:
- PROVIDER:
- aws
- azure
- gcp
RUNNER:
- aws/rhel-8-x86_64
Test Edge 84:
stage: test
extends: .terraform
script:
- schutzbot/ci_details.sh
- schutzbot/deploy.sh
- /usr/libexec/tests/image-builder/edge.sh
parallel:
matrix:
- RUNNER:
- openstack/rhel-8-x86_64
finish:
stage: finish
tags:
- shell
script:
- schutzbot/update_github_status.sh finish