Skip to content

Commit ee28a40

Browse files
Rolv-Apnesethdebarshiray
authored andcommitted
.zuul, playbooks: Run the CI on Fedora CoreOS
Add system tests across the stable, next and testing Fedora CoreOS streams. #714 Signed-off-by: Rolv Apneseth <rolv.apneseth@gmail.com>
1 parent 682a407 commit ee28a40

2 files changed

Lines changed: 183 additions & 0 deletions

File tree

.zuul.yaml

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,108 @@
190190
pre-run: playbooks/setup-env.yaml
191191
run: playbooks/system-test-runtime-environment-ubuntu.yaml
192192

193+
- job:
194+
name: system-test-fedora-coreos
195+
abstract: true
196+
pre-run: playbooks/setup-env.yaml
197+
timeout: 6300
198+
vars:
199+
dependencies_playbook: dependencies-fedora-coreos.yaml
200+
meson_setup_args: >-
201+
-Dfish_completions_dir=/usr/local/share/fish/vendor_completions.d
202+
-Dprofile_dir=/usr/local/share/profile.d
203+
-Dtmpfiles_dir=/usr/local/lib/tmpfiles.d
204+
205+
- job:
206+
name: system-test-fedora-coreos-next-commands-options
207+
parent: system-test-fedora-coreos
208+
description: Run Toolbx's commands-options system tests in Fedora CoreOS next
209+
nodeset:
210+
nodes:
211+
- name: fedora-coreos-next
212+
label: cloud-fedora-coreos-next
213+
run: playbooks/system-test-commands-options.yaml
214+
215+
- job:
216+
name: system-test-fedora-coreos-next-runtime-environment-arch-fedora
217+
parent: system-test-fedora-coreos
218+
description: Run Toolbx's (arch-fedora,runtime-environment) system tests in Fedora CoreOS next
219+
nodeset:
220+
nodes:
221+
- name: fedora-coreos-next
222+
label: cloud-fedora-coreos-next
223+
run: playbooks/system-test-runtime-environment-arch-fedora.yaml
224+
225+
- job:
226+
name: system-test-fedora-coreos-next-runtime-environment-ubuntu
227+
parent: system-test-fedora-coreos
228+
description: Run Toolbx's (runtime-environment,ubuntu) system tests in Fedora CoreOS next
229+
nodeset:
230+
nodes:
231+
- name: fedora-coreos-next
232+
label: cloud-fedora-coreos-next
233+
run: playbooks/system-test-runtime-environment-ubuntu.yaml
234+
235+
- job:
236+
name: system-test-fedora-coreos-stable-commands-options
237+
parent: system-test-fedora-coreos
238+
description: Run Toolbx's commands-options system tests in Fedora CoreOS stable
239+
nodeset:
240+
nodes:
241+
- name: fedora-coreos-stable
242+
label: cloud-fedora-coreos-stable
243+
run: playbooks/system-test-commands-options.yaml
244+
245+
- job:
246+
name: system-test-fedora-coreos-stable-runtime-environment-arch-fedora
247+
parent: system-test-fedora-coreos
248+
description: Run Toolbx's (arch-fedora,runtime-environment) system tests in Fedora CoreOS stable
249+
nodeset:
250+
nodes:
251+
- name: fedora-coreos-stable
252+
label: cloud-fedora-coreos-stable
253+
run: playbooks/system-test-runtime-environment-arch-fedora.yaml
254+
255+
- job:
256+
name: system-test-fedora-coreos-stable-runtime-environment-ubuntu
257+
parent: system-test-fedora-coreos
258+
description: Run Toolbx's (runtime-environment,ubuntu) system tests in Fedora CoreOS stable
259+
nodeset:
260+
nodes:
261+
- name: fedora-coreos-stable
262+
label: cloud-fedora-coreos-stable
263+
run: playbooks/system-test-runtime-environment-ubuntu.yaml
264+
265+
- job:
266+
name: system-test-fedora-coreos-testing-commands-options
267+
parent: system-test-fedora-coreos
268+
description: Run Toolbx's commands-options system tests in Fedora CoreOS testing
269+
nodeset:
270+
nodes:
271+
- name: fedora-coreos-testing
272+
label: cloud-fedora-coreos-testing
273+
run: playbooks/system-test-commands-options.yaml
274+
275+
- job:
276+
name: system-test-fedora-coreos-testing-runtime-environment-arch-fedora
277+
parent: system-test-fedora-coreos
278+
description: Run Toolbx's (arch-fedora,runtime-environment) system tests in Fedora CoreOS testing
279+
nodeset:
280+
nodes:
281+
- name: fedora-coreos-testing
282+
label: cloud-fedora-coreos-testing
283+
run: playbooks/system-test-runtime-environment-arch-fedora.yaml
284+
285+
- job:
286+
name: system-test-fedora-coreos-testing-runtime-environment-ubuntu
287+
parent: system-test-fedora-coreos
288+
description: Run Toolbx's (runtime-environment,ubuntu) system tests in Fedora CoreOS testing
289+
nodeset:
290+
nodes:
291+
- name: fedora-coreos-testing
292+
label: cloud-fedora-coreos-testing
293+
run: playbooks/system-test-runtime-environment-ubuntu.yaml
294+
193295
- project:
194296
periodic:
195297
jobs:
@@ -205,6 +307,15 @@
205307
- system-test-fedora-42-commands-options
206308
- system-test-fedora-42-runtime-environment-arch-fedora
207309
- system-test-fedora-42-runtime-environment-ubuntu
310+
- system-test-fedora-coreos-next-commands-options
311+
- system-test-fedora-coreos-next-runtime-environment-arch-fedora
312+
- system-test-fedora-coreos-next-runtime-environment-ubuntu
313+
- system-test-fedora-coreos-stable-commands-options
314+
- system-test-fedora-coreos-stable-runtime-environment-arch-fedora
315+
- system-test-fedora-coreos-stable-runtime-environment-ubuntu
316+
- system-test-fedora-coreos-testing-commands-options
317+
- system-test-fedora-coreos-testing-runtime-environment-arch-fedora
318+
- system-test-fedora-coreos-testing-runtime-environment-ubuntu
208319
check:
209320
jobs:
210321
- unit-test
@@ -222,6 +333,15 @@
222333
- system-test-fedora-42-commands-options
223334
- system-test-fedora-42-runtime-environment-arch-fedora
224335
- system-test-fedora-42-runtime-environment-ubuntu
336+
- system-test-fedora-coreos-next-commands-options
337+
- system-test-fedora-coreos-next-runtime-environment-arch-fedora
338+
- system-test-fedora-coreos-next-runtime-environment-ubuntu
339+
- system-test-fedora-coreos-stable-commands-options
340+
- system-test-fedora-coreos-stable-runtime-environment-arch-fedora
341+
- system-test-fedora-coreos-stable-runtime-environment-ubuntu
342+
- system-test-fedora-coreos-testing-commands-options
343+
- system-test-fedora-coreos-testing-runtime-environment-arch-fedora
344+
- system-test-fedora-coreos-testing-runtime-environment-ubuntu
225345
gate:
226346
jobs:
227347
- unit-test
@@ -239,3 +359,12 @@
239359
- system-test-fedora-42-commands-options
240360
- system-test-fedora-42-runtime-environment-arch-fedora
241361
- system-test-fedora-42-runtime-environment-ubuntu
362+
- system-test-fedora-coreos-next-commands-options
363+
- system-test-fedora-coreos-next-runtime-environment-arch-fedora
364+
- system-test-fedora-coreos-next-runtime-environment-ubuntu
365+
- system-test-fedora-coreos-stable-commands-options
366+
- system-test-fedora-coreos-stable-runtime-environment-arch-fedora
367+
- system-test-fedora-coreos-stable-runtime-environment-ubuntu
368+
- system-test-fedora-coreos-testing-commands-options
369+
- system-test-fedora-coreos-testing-runtime-environment-arch-fedora
370+
- system-test-fedora-coreos-testing-runtime-environment-ubuntu
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
#
2+
# Copyright © 2026 Red Hat, Inc.
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
- name: Synchronize glibc to repo version for gcc/glibc-devel compatibility
18+
become: yes
19+
command: >-
20+
rpm-ostree override replace --experimental --from repo=updates
21+
glibc
22+
glibc-common
23+
glibc-minimal-langpack
24+
glibc-gconv-extra
25+
ignore_errors: yes
26+
27+
- name: Synchronize shadow-utils to repo version for shadow-utils-subid-devel compatibility
28+
become: yes
29+
command: rpm-ostree override replace --experimental --from repo=updates shadow-utils
30+
ignore_errors: yes
31+
32+
- name: Apply base package overrides
33+
become: yes
34+
command: rpm-ostree apply-live --allow-replacement
35+
ignore_errors: yes
36+
37+
- name: Install RPM packages
38+
become: yes
39+
command: >-
40+
rpm-ostree install --allow-inactive --apply-live --assumeyes --idempotent
41+
ShellCheck
42+
bats
43+
codespell
44+
fish
45+
gcc
46+
golang
47+
golang-github-cpuguy83-md2man
48+
httpd-tools
49+
meson
50+
ninja-build
51+
shadow-utils-subid-devel
52+
udisks2
53+
54+
- include_tasks: dependencies-common.yaml

0 commit comments

Comments
 (0)