Skip to content

Commit

Permalink
Fix pipeline (Ubuntu restricted user namespaces)
Browse files Browse the repository at this point in the history
  • Loading branch information
blechschmidt committed Dec 24, 2024
1 parent 9f5d99d commit 4e651a8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,11 @@ jobs:
check-latest: true
go-version-file: 'go.mod'

# cf. https://ubuntu.com/blog/ubuntu-23-10-restricted-unprivileged-user-namespaces
- name: Allow Unconfined NS
run: |
sudo sysctl -w kernel.apparmor_restrict_unprivileged_unconfined=0
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
- name: Run Tests
run: make test

0 comments on commit 4e651a8

Please sign in to comment.