@@ -19,6 +19,7 @@ concurrency:
19
19
20
20
jobs :
21
21
tests :
22
+ if : ${{ !contains(github.event.pull_request.labels.*.name, 'control/skip-ci') }}
22
23
runs-on : ubuntu-latest
23
24
container : quay.io/coreos-assembler/fcos-buildroot:testing-devel
24
25
steps :
49
50
- name : Clippy (gate on correctness and suspicous)
50
51
run : cargo clippy -- -D clippy::correctness -D clippy::suspicious
51
52
build-fedora :
53
+ if : ${{ !contains(github.event.pull_request.labels.*.name, 'control/skip-ci') }}
52
54
runs-on : ubuntu-latest
53
55
container : quay.io/coreos-assembler/fcos-buildroot:testing-devel
54
56
steps :
67
69
name : bootc.tar.zst
68
70
path : target/bootc.tar.zst
69
71
build-c9s :
72
+ if : ${{ !contains(github.event.pull_request.labels.*.name, 'control/skip-ci') }}
70
73
runs-on : ubuntu-latest
71
74
container : quay.io/centos/centos:stream9
72
75
steps :
94
97
log-level : warn
95
98
command : check bans sources licenses
96
99
privtest :
100
+ if : ${{ !contains(github.event.pull_request.labels.*.name, 'control/skip-ci') }}
97
101
name : " Privileged testing"
98
102
needs : build-fedora
99
103
runs-on : ubuntu-latest
@@ -109,6 +113,7 @@ jobs:
109
113
- name : Integration tests
110
114
run : sudo podman run --rm -ti --privileged -v /run/systemd:/run/systemd -v /:/run/host -v /usr/bin/bootc:/usr/bin/bootc --pid=host quay.io/fedora/fedora-coreos:testing-devel bootc internal-tests run-privileged-integration
111
115
container-tests :
116
+ if : ${{ !contains(github.event.pull_request.labels.*.name, 'control/skip-ci') }}
112
117
name : " Container testing"
113
118
needs : build-fedora
114
119
runs-on : ubuntu-latest
@@ -123,6 +128,7 @@ jobs:
123
128
- name : Integration tests
124
129
run : bootc internal-tests run-container-integration
125
130
privtest-alongside :
131
+ if : ${{ !contains(github.event.pull_request.labels.*.name, 'control/skip-ci') }}
126
132
name : " Test install-alongside"
127
133
needs : [build-c9s]
128
134
runs-on : ubuntu-latest
@@ -153,6 +159,7 @@ jobs:
153
159
${image} bootc install to-existing-root
154
160
sudo podman run --rm -ti --privileged -v /:/target -v ./usr/bin/bootc:/usr/bin/bootc --pid=host --security-opt label=disable ${image} bootc internal-tests verify-selinux /target/ostree --warn
155
161
install-to-existing-root :
162
+ if : ${{ !contains(github.event.pull_request.labels.*.name, 'control/skip-ci') }}
156
163
name : " Test install-to-existing-root"
157
164
needs : [build-c9s]
158
165
runs-on : ubuntu-latest
@@ -173,6 +180,7 @@ jobs:
173
180
sudo podman run --rm -ti --privileged --env RUST_LOG=debug -v /:/target -v /var/lib/containers:/var/lib/containers -v ./usr/bin/bootc:/usr/bin/bootc -v ${empty}:/usr/lib/bootc/install --pid=host --security-opt label=disable \
174
181
${image} bootc install to-existing-root
175
182
install-to-loopback :
183
+ if : ${{ !contains(github.event.pull_request.labels.*.name, 'control/skip-ci') }}
176
184
name : " Test install to-disk --via-loopback"
177
185
needs : [build-c9s]
178
186
runs-on : ubuntu-latest
0 commit comments