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 authored and ardatan committed Dec 19, 2024
1 parent 4ebeafe commit ddc9c9a
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 ddc9c9a

Please sign in to comment.