fix: resolve all CI review blockers for forgejo admin bootstrap (#1069)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/nomad-validate Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/pr/nomad-validate Pipeline was successful
ci/woodpecker/pr/smoke-init Pipeline was successful

This commit is contained in:
dev-qwen2 2026-04-20 08:35:40 +00:00
parent a7bcb96935
commit 95bacbbfa4
3 changed files with 28 additions and 23 deletions

View file

@ -263,11 +263,11 @@ for job_name in "${JOBS[@]}"; do
if ! _wait_job_running "$job_name" "$job_timeout"; then
log "WARNING: deployment for job '${job_name}' did not reach successful state — continuing with remaining jobs"
FAILED_JOBS+=("$job_name")
fi
# 5. Run post-deploy scripts
if ! _run_post_deploy "$job_name"; then
die "post-deploy script failed for job '${job_name}'"
else
# 5. Run post-deploy scripts (only if job reached healthy state)
if ! _run_post_deploy "$job_name"; then
die "post-deploy script failed for job '${job_name}'"
fi
fi
done