Skip to content
Snippets Groups Projects
Verified Commit 50eb5ca4 authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

ci macOS: wait on *both* builds

At least I hope this will work as expected.
parent c9b8a237
Branches
Tags
1 merge request!1463ci macOS: update Knot DNS
Pipeline #117727 waiting for manual action with stages
in 7 minutes and 55 seconds
......@@ -30,10 +30,11 @@ while time.time() < end_time:
elif response.status_code == 200:
data = json.loads(response.content.decode('utf-8'))
try:
run = data['workflow_runs'][0]
conclusion = run['conclusion']
html_url = run['html_url']
commit_sha = run['head_sha']
for i in range(0, 1): # two runs ATM
run = data['workflow_runs'][i]
conclusion = run['conclusion']
html_url = run['html_url']
commit_sha = run['head_sha']
except (KeyError, IndexError):
time.sleep(POLL_DELAY)
continue
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment