Use Docker host gateway for edge E2E

This commit is contained in:
Jeppe Bundgaard
2026-04-24 20:07:05 +02:00
parent eba33d0735
commit 3adf5957f0
2 changed files with 8 additions and 1 deletions
+6 -1
View File
@@ -219,7 +219,12 @@ jobs:
vendor/bin/pest tests/Integration/EdgeGateway --colors=always"
- name: Run edge gateway E2E smoke
run: node scripts/edge-gateway-e2e.mjs
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
- name: Tear down local stack
if: always()
+2
View File
@@ -381,6 +381,8 @@ async function main() {
"start",
"--install-token",
installToken,
"--host-api-url",
baseUrl,
"--container-name",
containerName,
"--config-dir",