Merge pull request #2601 from pikasTech/fix/production-runtime-lane-promotion
Pipelines as Code CI / hwlab-nc01-production-ci-poll- Success

让 production 按 runtime lane 完成 GitOps promotion
This commit is contained in:
Lyon
2026-07-17 04:09:44 +08:00
committed by GitHub
2 changed files with 12 additions and 12 deletions
File diff suppressed because one or more lines are too long
@@ -13,8 +13,8 @@ for tool in node git timeout; do command -v "$tool" >/dev/null 2>&1 || { echo '{
git_url_requires_ssh() { case "$1" in git@*|ssh://*) return 0 ;; *) return 1 ;; esac; }
lane="$(params.lane)"
case "$lane" in
v[0-9][0-9]*) runtime_lane=true ;;
*) runtime_lane=false ;;
node) runtime_lane=false ;;
*) runtime_lane=true ;;
esac
if [ "$runtime_lane" = "true" ]; then
printf 'false' > /tekton/results/runtime-ready-required