]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
ci: add nspawn boot of rhel-ubi 1911/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 28 Sep 2023 14:42:48 +0000 (16:42 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 29 Sep 2023 15:44:27 +0000 (17:44 +0200)
.github/mkosi.conf.d/20-rhel-ubi.conf [new file with mode: 0644]
.github/workflows/ci.yml

diff --git a/.github/mkosi.conf.d/20-rhel-ubi.conf b/.github/mkosi.conf.d/20-rhel-ubi.conf
new file mode 100644 (file)
index 0000000..20b1fdc
--- /dev/null
@@ -0,0 +1,6 @@
+[Match]
+Distribution=rhel-ubi
+
+[Content]
+Packages=systemd
+         systemd-udev
index bc73e9e47af74c2bfa0265226002e996461ee192..efb72166333dab017f2b134810c17d8f5937eb45 100644 (file)
@@ -93,6 +93,7 @@ jobs:
         distro:
           - arch
           - centos
+          - rhel-ubi
           - debian
           - ubuntu
           - fedora
@@ -105,6 +106,9 @@ jobs:
           - cpio
           - disk
           - uki
+        exclude:
+          - distro: rhel-ubi
+            format: uki
 
     steps:
     - uses: actions/checkout@v3
@@ -140,9 +144,9 @@ jobs:
       run: sudo mkosi --debug boot
 
     - name: Boot ${{ matrix.distro }}/${{ matrix.format }} QEMU
-      if: matrix.format == 'disk' || matrix.format == 'uki' || matrix.format == 'cpio'
+      if: matrix.distro != 'rhel-ubi' && (matrix.format == 'disk' || matrix.format == 'uki' || matrix.format == 'cpio')
       run: timeout -k 30 10m mkosi --debug qemu
 
     - name: Boot ${{ matrix.distro }}/${{ matrix.format }} BIOS
-      if: matrix.format == 'disk'
+      if: matrix.distro != 'rhel-ubi' && matrix.format == 'disk'
       run: timeout -k 30 10m mkosi --debug --qemu-firmware bios qemu