Skip to content

Commit

Permalink
Revert "try on ci"
Browse files Browse the repository at this point in the history
This reverts commit b175ad0.
  • Loading branch information
enisdenjo committed Dec 18, 2024
1 parent a227776 commit 792fa87
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions e2e/self-hosting-hive/gateway.config.ts
Original file line number Diff line number Diff line change
@@ -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({
Expand Down

0 comments on commit 792fa87

Please sign in to comment.