forked from osbuild/koji-osbuild
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
60 lines (55 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
stages:
- init
- rpmbuild
- test
- finish
.terraform:
tags:
- terraform
init:
stage: init
tags:
- shell
script:
- schutzbot/update_github_status.sh start
RPM:
stage: rpmbuild
extends: .terraform
script:
- sh "schutzbot/ci_details.sh"
- sh "schutzbot/mockbuild.sh"
after_script:
- schutzbot/update_github_status.sh update
parallel:
matrix:
- RUNNER:
- aws/fedora-36-x86_64
- aws/fedora-36-aarch64
- aws/fedora-37-x86_64
- aws/fedora-37-aarch64
- aws/rhel-8.6-ga-x86_64
- aws/rhel-8.6-ga-aarch64
Testing:
stage: test
extends: .terraform
script:
- sh "schutzbot/ci_details.sh"
- sh "schutzbot/deploy.sh"
- sh "/usr/libexec/tests/koji-osbuild/integration.sh"
after_script:
- schutzbot/update_github_status.sh update
parallel:
matrix:
# https://quay.io/repository/osbuild/postgres available only for x86_64
- RUNNER:
- aws/fedora-36-x86_64
- aws/fedora-37-x86_64
- RUNNER:
- aws/rhel-8.6-ga-x86_64
INTERNAL_NETWORK: ["true"]
finish:
stage: finish
tags:
- shell
script:
- schutzbot/update_github_status.sh finish