From 792fa87824fa701e571510a47ddfeb40ff69f910 Mon Sep 17 00:00:00 2001 From: enisdenjo Date: Wed, 18 Dec 2024 16:33:14 +0100 Subject: [PATCH] Revert "try on ci" This reverts commit b175ad0ec8157bb52a27634f050eba8a3c310906. --- e2e/self-hosting-hive/gateway.config.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/e2e/self-hosting-hive/gateway.config.ts b/e2e/self-hosting-hive/gateway.config.ts index ce993dc6..cdcab78b 100644 --- a/e2e/self-hosting-hive/gateway.config.ts +++ b/e2e/self-hosting-hive/gateway.config.ts @@ -1,9 +1,13 @@ import { defineConfig } from '@graphql-hive/gateway'; -import { Opts } from '@internal/testing'; +import { boolEnv, Opts } from '@internal/testing'; const opts = Opts(process.argv); const selfHostingHost = - process.env['E2E_GATEWAY_RUNNER'] === 'docker' ? '172.17.0.1' : 'localhost'; + process.env['E2E_GATEWAY_RUNNER'] === 'docker' + ? boolEnv('CI') + ? '172.17.0.1' + : 'host.docker.internal' + : 'localhost'; const selfHostingPort = opts.getServicePort('selfHostingHive'); export const gatewayConfig = defineConfig({