fix(cicd): add branch follower refresh gate
This commit is contained in:
@@ -213,8 +213,8 @@ function debugStepOption(value: string): BranchFollowerDebugStep {
|
||||
}
|
||||
|
||||
function gateOption(value: string): BranchFollowerGate {
|
||||
if (value === "reuse-plan" || value === "ci-taskrun-plan" || value === "cd-rollout-plan" || value === "post-deploy-health") return value;
|
||||
throw new Error("--gate must be reuse-plan, ci-taskrun-plan, cd-rollout-plan, or post-deploy-health");
|
||||
if (value === "reuse-plan" || value === "ci-taskrun-plan" || value === "cd-rollout-plan" || value === "post-deploy-health" || value === "control-plane-refresh") return value;
|
||||
throw new Error("--gate must be reuse-plan, ci-taskrun-plan, cd-rollout-plan, post-deploy-health, or control-plane-refresh");
|
||||
}
|
||||
|
||||
function isInClusterRuntime(): boolean {
|
||||
|
||||
Reference in New Issue
Block a user