From 5d09baca949e71be7246bc766857623c98a362f8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 28 Sep 2023 16:42:48 +0200 Subject: [PATCH] ci: add nspawn boot of rhel-ubi --- .github/mkosi.conf.d/20-rhel-ubi.conf | 6 ++++++ .github/workflows/ci.yml | 8 ++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 .github/mkosi.conf.d/20-rhel-ubi.conf diff --git a/.github/mkosi.conf.d/20-rhel-ubi.conf b/.github/mkosi.conf.d/20-rhel-ubi.conf new file mode 100644 index 000000000..20b1fdcbc --- /dev/null +++ b/.github/mkosi.conf.d/20-rhel-ubi.conf @@ -0,0 +1,6 @@ +[Match] +Distribution=rhel-ubi + +[Content] +Packages=systemd + systemd-udev diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc73e9e47..efb721663 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 -- 2.47.2