Skip to content

Commit

Permalink
preflight: checks: wait up to 30 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
elfiesmelfie committed Sep 8, 2023
1 parent caf0be5 commit 657cf2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/stf-run-ci/tasks/preflight_checks.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
# Try for 10 minutes to get an output
- name: "Wait for up to 10 minutes for Service Telemetry Operator to be Succeeded"
# Try for 30 minutes to get an output
- name: "Wait for up to 30 minutes for Service Telemetry Operator to be Succeeded"
ansible.builtin.shell:
cmd: |
oc get csv -n "{{ namespace }}" | grep service-telemetry-operator | grep Succeeded
register: output
retries: 60
retries: 180
delay: 10
until: output.stdout | length != 0
ignore_errors: true
Expand Down

0 comments on commit 657cf2a

Please sign in to comment.