This is an automated email from the ASF dual-hosted git repository.
tiagobento pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git
The following commit(s) were added to refs/heads/main by this push:
new ed78bdbf3a6 NO-ISSUE: Disable AppArmor allowing unpriviledge user
namespace to fix VS Code E2E tests (#2808)
ed78bdbf3a6 is described below
commit ed78bdbf3a6ccebb8c704c8dc39b4d3380194148
Author: Luiz João Motta <[email protected]>
AuthorDate: Sun Dec 15 11:59:52 2024 -0300
NO-ISSUE: Disable AppArmor allowing unpriviledge user namespace to fix VS
Code E2E tests (#2808)
---
.github/actions/setup-env/action.yml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/.github/actions/setup-env/action.yml
b/.github/actions/setup-env/action.yml
index d10f0cd9138..ba701e7e763 100644
--- a/.github/actions/setup-env/action.yml
+++ b/.github/actions/setup-env/action.yml
@@ -246,6 +246,11 @@ runs:
libxml2-utils > /dev/null 2>&1
fi
+ - name: "Allow unprivileged user namespace (Ubuntu Only)"
+ if: runner.os == 'Linux'
+ shell: bash
+ run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
+
- name: "Update bash for macOS (macOS Only)"
shell: bash
if: runner.os == 'macOS'
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]