fix(ci): E2E DinD networking + registry token auth
CI / Lint & Typecheck (pull_request) Successful in 24s
CI / Test (pull_request) Successful in 26s
CI / Build (pull_request) Successful in 24s
CI / E2E Tests (pull_request) Successful in 1m41s
CI / Build & Push Docker Images (pull_request) Failing after 11s
CI / Update Infra Image Tags (pull_request) Has been skipped
CI / Web E2E (Dev) (pull_request) Has been cancelled
CI / Deploy PR to groombook-dev (pull_request) Has been cancelled
CI / Lint & Typecheck (pull_request) Successful in 24s
CI / Test (pull_request) Successful in 26s
CI / Build (pull_request) Successful in 24s
CI / E2E Tests (pull_request) Successful in 1m41s
CI / Build & Push Docker Images (pull_request) Failing after 11s
CI / Update Infra Image Tags (pull_request) Has been skipped
CI / Web E2E (Dev) (pull_request) Has been cancelled
CI / Deploy PR to groombook-dev (pull_request) Has been cancelled
- playwright.config.ts: make baseURL configurable via PLAYWRIGHT_BASE_URL env var - ci.yml: set PLAYWRIGHT_BASE_URL=http://host.docker.internal:8080 in e2e job step Note: gitea.token registry auth not applicable — this repo uses GitHub Actions with ghcr.io and secrets.GITHUB_TOKEN (already correct). Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -86,6 +86,8 @@ jobs:
|
||||
|
||||
- name: Run E2E tests
|
||||
run: pnpm --filter @groombook/e2e test
|
||||
env:
|
||||
PLAYWRIGHT_BASE_URL: http://host.docker.internal:8080
|
||||
|
||||
- name: Upload Playwright report
|
||||
if: failure()
|
||||
|
||||
@@ -19,7 +19,7 @@ export default defineConfig({
|
||||
reporter: process.env.CI ? "github" : "list",
|
||||
|
||||
use: {
|
||||
baseURL: "http://localhost:8080",
|
||||
baseURL: process.env.PLAYWRIGHT_BASE_URL || "http://localhost:8080",
|
||||
trace: "on-first-retry",
|
||||
screenshot: "only-on-failure",
|
||||
serviceWorkers: "block",
|
||||
|
||||
Reference in New Issue
Block a user