Skip to content

Commit

Permalink
Fix E2E tests by disabling AppArmor restrictions (#9568)
Browse files Browse the repository at this point in the history
Co-authored-by: Achyuth Ajoy <[email protected]>
  • Loading branch information
danielmx-dev and achyuthajoy authored Oct 17, 2024
1 parent 1a21522 commit b6fc858
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/actions/e2e/env-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,11 @@ runs:
echo "::group::Setup E2E test environment"
npm run test:e2e-setup
echo "::endgroup::"
# Disable restrictions that prevent chromium from running properly. See: https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
- name: Disable AppArmor User Namespace Restrictions
shell: bash
run: |
echo "::group::Disable AppArmor User Namespace Restrictions"
sudo sysctl --ignore --write kernel.apparmor_restrict_unprivileged_userns=0
echo "::endgroup::"

0 comments on commit b6fc858

Please sign in to comment.