Commit dba56d5
authored
Pin to Ubuntu 22.04 to fix Puppeteer (#940)
From Puppeteer docs:
> Ubuntu 23.10+ (or possibly other Linux distros in the future) ship an
AppArmor profile that applies to Chrome stable binaries installed at
/opt/google/chrome/chrome (the default installation path). This policy
is stored at /etc/apparmor.d/chrome. This AppArmor policy prevents
Chrome for Testing binaries downloaded by Puppeteer from using user
namespaces resulting in the `No usable sandbox!` error when trying to
launch the browser
We are currently seeing this error in CI due to our usage of
`ubuntu-latest` in our CI Github Action images. It seems that Puppeteer
has disabled this check as part of
puppeteer/puppeteer#13196, but it doesn't look
like this has been released yet. Once it has, we could potentially
update to that latest version of Puppeteer and reinstate usage of
`ubuntu-latest`. In the meantime, though, this pins our CI image to
`ubuntu-22.04` to get CI to pass.
---------
Signed-off-by: Steve Ayers <[email protected]>1 parent 80c1569 commit dba56d5
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
0 commit comments