fix(ci): fix migration pod log retrieval
This commit is contained in:
@@ -319,7 +319,7 @@ jobs:
|
||||
|
||||
# Print logs regardless of outcome so failures are diagnosable
|
||||
echo "--- Migration pod logs ---"
|
||||
kubectl logs -n optima -l app=prisma-migrate --tail=200 || true
|
||||
kubectl logs -n optima "$JOB" --tail=200 || true
|
||||
|
||||
# Determine outcome by checking the job's actual conditions
|
||||
if kubectl get -n optima "$JOB" -o jsonpath='{.status.conditions[?(@.type=="Complete")].status}' | grep -q "True"; then
|
||||
|
||||
Reference in New Issue
Block a user