Skip to content

Commit e9d1a4f

Browse files
authored
Merge pull request #504 from mbaldessari/retries-iib
Add retries when checking oc version
2 parents e5ad7af + 258af6b commit e9d1a4f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

ansible/roles/iib_ci/tasks/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
ansible.builtin.shell: |
1818
oc get openshiftcontrollermanager/cluster -o yaml -o jsonpath='{.status.version}'
1919
register: oc_version_raw
20+
retries: 10
21+
delay: 10
22+
until: oc_version_raw is not failed
2023
changed_when: false
2124

2225
- name: Is OCP pre OCP 4.13? (aka registry supports v2 manifests)

0 commit comments

Comments
 (0)