From 12bfea9d9a9dd4532b72841bd476b9f26bc02b71 Mon Sep 17 00:00:00 2001 From: Arda TANRIKULU Date: Thu, 12 Dec 2024 04:36:43 +0300 Subject: [PATCH] Get Mesh or GW config --- internal/e2e/src/tenv.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/e2e/src/tenv.ts b/internal/e2e/src/tenv.ts index 9117ae7c..455534f7 100644 --- a/internal/e2e/src/tenv.ts +++ b/internal/e2e/src/tenv.ts @@ -401,7 +401,9 @@ export function createTenv(cwd: string): Tenv { subgraph = await handleDockerHostName(subgraph, volumes); } - for (const configfile of await glob('gateway.config.*', { cwd })) { + for (const configfile of await glob('@(mesh|gateway).config.*', { + cwd, + })) { volumes.push({ host: configfile, container: `/gateway/${path.basename(configfile)}`,