Skip to content

Commit

Permalink
chore(ci): fix failing Ubuntu 24.04 pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
pospisilf committed Jan 15, 2025
1 parent 62c8be8 commit c324ba8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
run: yarn build:prod
- name: vsix package
run: yarn vsce package --no-dependencies --yarn
- name: Allow unprivileged user namespace (ubuntu)
if: ${{ startsWith(matrix.os, 'ubuntu') }}
run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
- name: Run Unit tests on Linux
run: xvfb-run -a yarn test:unit
if: ${{ matrix.os == 'ubuntu-latest' }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/main-kaoto.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ jobs:
- name: vsix package
working-directory: vscode-kaoto
run: yarn vsce package --no-dependencies --yarn
- name: Allow unprivileged user namespace (ubuntu)
if: ${{ startsWith(matrix.os, 'ubuntu') }}
run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
- name: Run Unit tests
working-directory: vscode-kaoto
run: xvfb-run -a yarn test:unit
Expand Down

0 comments on commit c324ba8

Please sign in to comment.