feat(ci): run browser tests in docker run container on shared network #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ci/browser-test-networking"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The CI container is on the outer runner's bridge — its localhost cannot
reach tier containers port-mapped by the HOST daemon. The same DNAT
limitation that affected bootstrap also affects browser tests.
Fix: run the entire Playwright harness inside a transient container
on watchcraft-browser-ci (a pre-created HOST network). Tier Jellyfin
and Seerr containers join this network via a new CI overlay
(docker-compose.tier.ci.yml), so dev-server.ts can reach them by
container DNS name instead of localhost:PORT.
Key details:
mount pattern so artifacts written to /workspace persist to the
CI workspace and are uploaded by the always-run artifact step.
accessible bind-mount paths for tier containers (the HOST daemon
resolves sources against the HOST filesystem, not /workspace).
tier Jellyfin (same flags as the bootstrap overlay) and joins
both services to watchcraft-browser-ci.
and screenshots are available on every CI run.
Pull request closed