feat: publish web probe sentinel from cicd (#902)
Co-authored-by: Codex <codex@noreply.local>
This commit is contained in:
@@ -7489,7 +7489,7 @@ function parseNodeWebProbeSentinelOptions(args: string[]): NodeWebProbeSentinelO
|
||||
const confirm = args.includes("--confirm");
|
||||
const dryRun = args.includes("--dry-run");
|
||||
if (confirm && dryRun) throw new Error("web-probe sentinel accepts only one of --confirm or --dry-run");
|
||||
const timeoutSeconds = positiveIntegerOption(args, "--timeout-seconds", 60, 3600);
|
||||
const timeoutSeconds = positiveIntegerOption(args, "--timeout-seconds", 900, 3600);
|
||||
let sentinel: WebProbeSentinelOptions;
|
||||
if (sentinelActionRaw === "plan" || sentinelActionRaw === "status") {
|
||||
sentinel = { kind: "config", action: sentinelActionRaw, node, lane, dryRun };
|
||||
|
||||
Reference in New Issue
Block a user