Skip to content

Commit 16bae30

Browse files
authored
Merge pull request #488 from vvoland/test-rootless-install
gha: Add workflow to test rootless install
2 parents 02ac1b4 + 5c96993 commit 16bae30

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,15 @@ jobs:
2323
run: make shellcheck
2424
- name: Check distribution
2525
run: TEST_IMAGE=${{ matrix.os }} VERSION=${{ matrix.version }} make test
26+
27+
# This is a separate workflow step, because we need to check it outside of container (due to lsmod, iptables checks)
28+
test-install-rootless:
29+
runs-on: ubuntu-latest
30+
timeout-minutes: 5
31+
steps:
32+
- uses: actions/checkout@v3
33+
- name: Install rootless
34+
run: |
35+
sudo sh -c 'echo 0 > /proc/sys/kernel/apparmor_restrict_unprivileged_userns'
36+
FORCE_ROOTLESS_INSTALL=1 ./rootless-install.sh
37+

0 commit comments

Comments
 (0)