wait for pod to start before streaming logs

This commit is contained in:
E M 2026-04-10 20:31:12 +10:00
parent fca52d2cc5
commit d84b4eb48e
No known key found for this signature in database

View File

@ -259,12 +259,19 @@ jobs:
- name: Deploy test job
run: envsubst < .github/release/job-release-tests.yaml | kubectl apply -f -
- name: Wait for test pod to start
run: |
kubectl wait pod \
-l job-name=$NAMEPREFIX \
-n default \
--for=condition=Ready \
--timeout=300s
- name: Stream test logs
run: |
kubectl logs -l job-name=$NAMEPREFIX \
-n default \
--follow \
--pod-running-timeout=300s
--follow
- name: Check job status
run: |