Skip to content

Commit 1fc0e0b

Browse files
committed
Add retries to oc login
1 parent 75be797 commit 1fc0e0b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ci/run_verify_metrics_osp18.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
ansible.builtin.shell:
2626
cmd: |
2727
oc login -u {{ cifmw_openshift_user }} -p {{ cifmw_openshift_password }} --insecure-skip-tls-verify {{ cifmw_openshift_api }}
28+
register: cmd
29+
retries: 10
30+
delay: 10
31+
until: cmd.rc == 0
2832

2933
- name: Patch observabilityclient into openstackclient
3034
ansible.builtin.shell:

0 commit comments

Comments
 (0)