Skip to content

Commit

Permalink
ci: Test alongside installation in GH Actions
Browse files Browse the repository at this point in the history
Having a fast disposable VM is great for this.

Signed-off-by: Colin Walters <[email protected]>
  • Loading branch information
cgwalters committed Nov 2, 2023
1 parent 08a5ff6 commit c92832a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,19 @@ 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: Integration tests
run: |
sudo podman run --rm -ti --privileged -v /:/target -v bootc:/usr/bin/bootc --pid=host \
quay.io/fedora/fedora-coreos:testing-devel bootc install-to-filesystem --karg=foo=bar --disable-selinux --replace=alongside /target
sudo grep foo=bar /boot/loader/entries/*.conf

0 comments on commit c92832a

Please sign in to comment.