Merge pull request #488 from vvoland/test-rootless-install

gha: Add workflow to test rootless install
This commit is contained in:
Sebastiaan van Stijn authored and GitHub committed 2025-04-17 20:32:00 +02:00
commit 16bae30658
1 file changed
+12
+12
View File
@@ -23,3 +23,15 @@ jobs:
run: make shellcheck
- name: Check distribution
run: TEST_IMAGE=${{ matrix.os }} VERSION=${{ matrix.version }} make test
# This is a separate workflow step, because we need to check it outside of container (due to lsmod, iptables checks)
test-install-rootless:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- name: Install rootless
run: |
sudo sh -c 'echo 0 > /proc/sys/kernel/apparmor_restrict_unprivileged_userns'
FORCE_ROOTLESS_INSTALL=1 ./rootless-install.sh