File tree 4 files changed +20
-0
lines changed
4 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 38
38
- run : yarn type-check
39
39
- run : yarn build-all
40
40
41
+ # Since Ubuntu 23, dev builds of Chromium need this.
42
+ # https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
43
+ - run : sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
44
+
41
45
# Run pptr tests using ToT Chrome instead of stable default.
42
46
- name : Install Chrome ToT
43
47
run : bash $GITHUB_WORKSPACE/core/scripts/download-chrome.sh
Original file line number Diff line number Diff line change @@ -160,6 +160,10 @@ jobs:
160
160
- run : yarn build-report
161
161
working-directory : ${{ github.workspace }}/lighthouse
162
162
163
+ # Since Ubuntu 23, dev builds of Chromium need this.
164
+ # https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
165
+ - run : sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
166
+
163
167
- name : Install Chrome ToT
164
168
run : bash ${{ github.workspace }}/lighthouse/core/scripts/download-chrome.sh
165
169
Original file line number Diff line number Diff line change 41
41
with :
42
42
node-version : 18.x
43
43
44
+ # Since Ubuntu 23, dev builds of Chromium need this.
45
+ # https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
46
+ - run : sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
47
+
44
48
# Chrome Stable is already installed by default.
45
49
- name : Install Chrome ToT
46
50
if : matrix.chrome-channel == 'ToT'
@@ -151,6 +155,10 @@ jobs:
151
155
- run : yarn build-report
152
156
- run : yarn build-devtools
153
157
158
+ # Since Ubuntu 23, dev builds of Chromium need this.
159
+ # https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
160
+ - run : sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
161
+
154
162
- name : Install Chrome ToT
155
163
run : bash $GITHUB_WORKSPACE/core/scripts/download-chrome.sh
156
164
Original file line number Diff line number Diff line change 53
53
- run : yarn build-report
54
54
- run : yarn reset-link
55
55
56
+ # Since Ubuntu 23, dev builds of Chromium need this.
57
+ # https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
58
+ - run : sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
59
+
56
60
# Run pptr tests using ToT Chrome instead of stable default.
57
61
- name : Install Chrome ToT
58
62
run : bash $GITHUB_WORKSPACE/core/scripts/download-chrome.sh
You can’t perform that action at this time.
0 commit comments