Resolve edge E2E host routing in CI

This commit is contained in:
Jeppe Bundgaard
2026-04-24 20:27:44 +02:00
parent ebe1299089
commit 288627243b
3 changed files with 88 additions and 18 deletions
+1 -6
View File
@@ -219,12 +219,7 @@ jobs:
vendor/bin/pest tests/Integration/EdgeGateway --colors=always"
- name: Run edge gateway E2E smoke
run: |
docker_host="$(ip route show default 2>/dev/null | awk '/default/ { print $3; exit }')"
if [ -z "${docker_host}" ]; then
docker_host="localhost"
fi
EDGE_GATEWAY_E2E_BASE_URL="http://${docker_host}:18080/api" node scripts/edge-gateway-e2e.mjs
run: node scripts/edge-gateway-e2e.mjs
- name: Tear down local stack
if: always()