Update workflow success condition

This commit is contained in:
E M 2026-04-13 13:01:17 +10:00
parent 05ece7e419
commit 746f30d859
No known key found for this signature in database

View File

@ -288,7 +288,7 @@ jobs:
job_status=$(kubectl get jobs $NAMEPREFIX -n default \
-o jsonpath='{.status.conditions[0].type}')
echo "Job status: $job_status"
[[ "$job_status" == "Complete" ]] || exit 1
[[ "$job_status" == "SuccessCriteriaMet" ]] || exit 1
- name: Terraform destroy
if: always()