Fix stack_status YAQL expression for non existent stacks
We retry few times in 'wait_for_stack_does_not_exist' workflow. However, it's possible that the stack has dissapeared by the time we list stacks after the delay. Change-Id: Ic85782a4942eca09f92b4212930881878638fac6 Closes-Bug: #1812810
This commit is contained in:
parent
93113e73e8
commit
dc0b4dd7d2
@ -92,7 +92,7 @@ workflows:
|
||||
queue_name: <% $.queue_name %>
|
||||
timeout: <% $.timeout %>
|
||||
publish:
|
||||
stack_status: <% let(stack => $.stack) -> task().result.stacks.where($.stack_name = $stack).first().stack_status %>
|
||||
stack_status: <% let(stack => $.stack) -> task().result.stacks.where($.stack_name = $stack).first({}).get(stack_status) %>
|
||||
retry:
|
||||
delay: 15
|
||||
count: <% $.timeout / 15 %>
|
||||
|
Loading…
Reference in New Issue
Block a user