Merge "[TRAIN-Only] Increase deploy workflow wait" into stable/train
This commit is contained in:
commit
afcd9abf7e
|
@ -52,10 +52,11 @@ def deploy(log, clients, **workflow_input):
|
||||||
)
|
)
|
||||||
|
|
||||||
# The deploy workflow ends once the Heat create/update starts. This
|
# The deploy workflow ends once the Heat create/update starts. This
|
||||||
# means that is shouldn't take very long. Wait for 10 minutes for
|
# means that is shouldn't take very long. Wait 20 minutes for
|
||||||
# messages from the workflow.
|
# complection because this also includes some container image prepare
|
||||||
|
# generation which may reach out to an external resource.
|
||||||
for payload in base.wait_for_messages(workflow_client, ws, execution,
|
for payload in base.wait_for_messages(workflow_client, ws, execution,
|
||||||
600):
|
1200):
|
||||||
status = payload.get('status', 'RUNNING')
|
status = payload.get('status', 'RUNNING')
|
||||||
message = payload.get('message')
|
message = payload.get('message')
|
||||||
if message and status == "RUNNING":
|
if message and status == "RUNNING":
|
||||||
|
|
Loading…
Reference in New Issue