fix: delegate runtime-ready to post-flush closeout

This commit is contained in:
root
2026-07-04 00:21:00 +00:00
parent 72663d286a
commit 4ceba44c13
2 changed files with 9 additions and 0 deletions
+4
View File
@@ -2541,6 +2541,10 @@ ci_timing_emit gitops-commit succeeded "$gitops_commit_started_ms"
gitops_push_started_ms="$(ci_now_ms)"
git_timed gitops-push 120 git push origin "HEAD:$(params.gitops-branch)"
ci_timing_emit gitops-push succeeded "$gitops_push_started_ms"
if [ "$runtime_lane" = "true" ]; then
printf 'false' > /tekton/results/runtime-ready-required
echo '{"event":"runtime-ready","phase":"gitops-promote","status":"delegated-post-flush-closeout","gitopsBranch":"'"$(params.gitops-branch)"'","sourceRevision":"'"$(params.revision)"'"}'
fi
argo_hard_refresh_runtime_lane
echo '{"status":"pushed","gitopsBranch":"'"$(params.gitops-branch)"'","sourceRevision":"'"$(params.revision)"'","gitopsWriteUrl":"'"$gitops_write_url"'"}'
`;