Run the E2E job with host networking so the homeserver replies reach it. (#109)
Tests / unit (pull_request) Successful in 17s
Tests / e2e (pull_request) Failing after 2m41s

The homeserver ruv.wtf (192.168.10.4) is a macvlan interface on the caddy-caddy-1 container on the runner host pizzabox. Replies to a bridge-networked job arrive on br-f192811a98b7 and DOCKER-ISOLATION-STAGE-2 drops them, so the login E2E times out. Host networking keeps request and reply on one path.
This commit is contained in:
2026-11-03 12:16:17 +11:00
parent f4fb8d2d28
commit e58b87ed3a
+6
View File
@@ -26,6 +26,12 @@ jobs:
# PRs can be trusted with the E2E_PASSWORD secret. # PRs can be trusted with the E2E_PASSWORD secret.
if: github.event.pull_request.head.repo.full_name == github.repository if: github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest runs-on: ubuntu-latest
# ruv.wtf is a macvlan interface on a container on the runner host, so the reply to a
# bridge-networked job arrives on that container's bridge and Docker's inter-bridge
# isolation drops it. Host networking keeps the request and reply on one path.
container:
image: docker.io/gitea/runner-images:ubuntu-latest
options: --network=host
env: env:
# Dedicated test account on the homeserver, not a personal one. # Dedicated test account on the homeserver, not a personal one.
E2E_HOMESERVER: ruv.wtf E2E_HOMESERVER: ruv.wtf