2
0
mirror of synced 2025-01-27 08:46:04 +00:00

Use variable name properly (#113)

This commit is contained in:
Slava 2024-12-02 15:43:45 +02:00 committed by GitHub
parent 047384a7af
commit abf297263c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -101,6 +101,6 @@ jobs:
- name: Set workflow status from job status
run: |
job_status=$(kubectl get jobs {{ env.NAMEPREFIX }} -n ${{ env.NAMESPACE }} -o jsonpath='{.status.conditions[0].type}')
job_status=$(kubectl get jobs ${{ env.NAMEPREFIX }} -n ${{ env.NAMESPACE }} -o jsonpath='{.status.conditions[0].type}')
echo "Job status: $job_status"
[[ "${job_status}" != "Complete" ]] && exit 1