Skip to content

Commit 36dbec6

Browse files
Merge pull request #746 from lnatapov/loki_timeout
Extend loki timeout
2 parents ee415bb + bb7261f commit 36dbec6

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

ci/deploy-logging-dependencies/tasks/deploy-loki.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,10 @@
1919

2020
- name: Wait for the lokistack to be ready
2121
ansible.builtin.command:
22-
cmd: |
23-
oc wait --timeout=500s --for condition=Ready=True --namespace=openshift-logging lokistacks logging-loki
22+
cmd: >
23+
oc get lokistack logging-loki -n openshift-logging
24+
-o jsonpath='{.status.conditions[?(@.type=="Ready")].status}'
25+
register: loki_ready
26+
until: loki_ready.stdout == "True"
27+
retries: 40
28+
delay: 15

0 commit comments

Comments
 (0)