Skip to content

Commit

Permalink
Get Mesh or GW config
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan committed Dec 12, 2024
1 parent 39d1dba commit 12bfea9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/e2e/src/tenv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)}`,
Expand Down

0 comments on commit 12bfea9

Please sign in to comment.