Copy edge E2E runner config in CI

This commit is contained in:
Jeppe Bundgaard
2026-04-24 21:11:08 +02:00
parent 15250ad227
commit 0253cfc676
4 changed files with 67 additions and 25 deletions
+5
View File
@@ -510,6 +510,10 @@ function closeSocket(socket) {
socket.close();
}
function shouldCopyGatewayConfig() {
return /^(1|true|yes)$/i.test(String(process.env.EDGE_GATEWAY_E2E_COPY_CONFIG || "").trim());
}
function collectMessages(rows) {
return Array.isArray(rows)
? rows
@@ -602,6 +606,7 @@ async function main() {
"--heartbeat-seconds",
"3",
"--skip-compose-up",
...(shouldCopyGatewayConfig() ? ["--copy-config"] : []),
], {
cwd: rootDir,
stdio: "inherit",