diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 90501f5cf..050ef8d7d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,3 +97,25 @@ jobs: run: sudo tar -C / -xvf bootc.tar.zst - name: Integration tests run: bootc internal-tests run-container-integration + privtest-alongside: + name: "Test install-alongside" + needs: build + runs-on: ubuntu-latest + steps: + - name: Download + uses: actions/download-artifact@v2 + with: + name: bootc.tar.zst + - name: Install + run: tar -xvf bootc.tar.zst + - name: Update host skopeo + run: | + echo 'deb http://cz.archive.ubuntu.com/ubuntu lunar main universe' | sudo tee -a /etc/apt/sources.list + sudo apt update + sudo apt upgrade skopeo + - name: Integration tests + run: | + sudo podman run --rm -ti --privileged -v /:/target --pid=host --security-opt label=disable \ + registry.gitlab.com/centos/cloud/sagano/fedora-boot-tier-1-dev:eln bootc install-to-filesystem --target-no-signature-verification \ + --karg=foo=bar --disable-selinux --replace=alongside /target + sudo grep foo=bar /boot/loader/entries/*.conf