Copy edge E2E runner config in CI
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user