Skip to content

Commit fea34d0

Browse files
Register job_completion output in test-gke-job.yml (GoogleCloudPlatform#4957)
2 parents ad4120e + 0a2860e commit fea34d0

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tools/cloud-build/daily-tests/ansible_playbooks/test-validation/test-gke-job.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@
4040
kubectl wait --for=condition=complete "job/${JOB_NAME}" --timeout=10m
4141
args:
4242
executable: /bin/bash
43+
register: job_completion
44+
until: job_completion.rc == 0
45+
retries: 5
46+
delay: 10
4347
rescue:
4448
- name: "FAILURE: Job did not complete. Capturing debug info."
4549
ansible.builtin.debug:

0 commit comments

Comments
 (0)