Some checks failed
CI/CD / detect-changes (pull_request) Successful in 4s
CI/CD / test-frontend (pull_request) Successful in 5s
CI/CD / test-runners (pull_request) Failing after 29s
CI/CD / test-go-pg (pull_request) Successful in 2m40s
CI/CD / test-sqlite (pull_request) Successful in 2m52s
CI/CD / build-and-deploy (pull_request) Has been skipped
npm install playwright pulled v1.59.1 but the Docker image ships v1.52.0 browsers, causing a version mismatch crash. Pin to 1.52.0. Also add ci/Dockerfile.test-runner for pre-building the image into registry.gobha.me:5000/ci-test-runner:latest — eliminates npm install from every CI run. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
12 lines
546 B
Docker
12 lines
546 B
Docker
# ci/Dockerfile.test-runner — Pre-built Playwright test runner
|
|
#
|
|
# Build & push (one-time, repeat when Playwright version bumps):
|
|
# docker build -t registry.gobha.me:5000/ci-test-runner:latest -f ci/Dockerfile.test-runner .
|
|
# docker push registry.gobha.me:5000/ci-test-runner:latest
|
|
#
|
|
# The CI compose override uses this image directly, avoiding npm install
|
|
# on every run. Only the ci/ scripts are COPY'd at compose build time.
|
|
FROM mcr.microsoft.com/playwright:v1.52.0-noble
|
|
WORKDIR /work
|
|
RUN npm init -y && npm install playwright@1.52.0
|