fix(ci): give gitlab perf job a discoverable chromium (ADR-0028) #243

Merged
julien merged 1 commits from fix/gitlab-perf-chrome into main 2026-05-28 10:12:07 +02:00

1 Commits

Author SHA1 Message Date
Julien Gautier 441b9297ce fix(ci): give gitlab perf job a discoverable chromium (ADR-0028)
CI / scan (pull_request) Successful in 2m48s
CI / commits (pull_request) Successful in 2m59s
CI / check (pull_request) Successful in 3m13s
CI / a11y (pull_request) Successful in 1m34s
CI / perf (pull_request) Successful in 6m22s
The perf job ran on the Playwright image, which bundles Chromium at
a non-standard path that Lighthouse's chrome-launcher cannot find —
the job failed at the healthcheck with 'Chrome installation not
found'.

Switch perf to node:24-bookworm and apt-install Debian's chromium
(/usr/bin/chromium), pointing CHROME_PATH at it. Preferred over
wiring CHROME_PATH to Playwright's bundled Chromium because the
latter couples the job to an exact @playwright/test-version vs
image-tag match that a Renovate bump would silently break.

The future ADR-0016 axe-core e2e job will use the Playwright image;
Lighthouse and Playwright want different things, so they get
different images rather than one that serves both poorly.
2026-05-28 10:03:56 +02:00