Skip to content

Commit b1d9153

Browse files
committed
Add status check to azurite
1 parent 806263e commit b1d9153

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

templates/github/.ci/ansible/start_container.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,17 @@
6262
when: "s3_test | default(false)"
6363

6464
- block:
65+
- name: "Wait for azurite"
66+
ansible.builtin.uri:
67+
url: "http://ci-azurite:10000/"
68+
when: "azure_test | default(false)"
69+
register: "az_result"
70+
until: "az_result.status == 200"
71+
retries: 2
72+
delay: 5
73+
6574
- name: "Wait for Pulp"
66-
uri:
75+
ansible.builtin.uri:
6776
url: "http://pulp{{ pulp_scenario_settings.api_root | default(pulp_settings.api_root | default('\/pulp\/', True), True) }}api/v3/status/"
6877
follow_redirects: "all"
6978
validate_certs: "no"

0 commit comments

Comments
 (0)