Skip to content

Commit 1477166

Browse files
authored
Merge pull request #176 from cgwalters/ci-alongside-gha
2 parents 634ce23 + bf99697 commit 1477166

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,3 +97,27 @@ jobs:
9797
run: sudo tar -C / -xvf bootc.tar.zst
9898
- name: Integration tests
9999
run: bootc internal-tests run-container-integration
100+
privtest-alongside:
101+
name: "Test install-alongside"
102+
needs: build
103+
runs-on: ubuntu-latest
104+
steps:
105+
- name: Download
106+
uses: actions/download-artifact@v2
107+
with:
108+
name: bootc.tar.zst
109+
- name: Install
110+
run: tar -xvf bootc.tar.zst
111+
- name: Update host skopeo
112+
run: |
113+
echo 'deb http://cz.archive.ubuntu.com/ubuntu lunar main universe' | sudo tee -a /etc/apt/sources.list
114+
sudo apt update
115+
sudo apt upgrade skopeo
116+
- name: Integration tests
117+
run: |
118+
set -xeuo pipefail
119+
sudo podman run --rm -ti --privileged -v /:/target -v ./usr/bin/bootc:/usr/bin/bootc --pid=host --security-opt label=disable \
120+
registry.gitlab.com/centos/cloud/sagano/fedora-boot-tier-1-dev:eln bootc install-to-filesystem --target-no-signature-verification \
121+
--karg=foo=bar --disable-selinux --replace=alongside /target
122+
ls -al /boot/loader/
123+
sudo grep foo=bar /boot/loader/entries/*.conf

0 commit comments

Comments
 (0)