Merge "Remove the name from task() functions that refer to themselves"
This commit is contained in:
commit
4739027b9e
@ -26,7 +26,7 @@ workflows:
|
||||
retry:
|
||||
delay: 3
|
||||
count: 400
|
||||
continue-on: <% task(wait_for_provision_state).result.provision_state != $.target_state %>
|
||||
continue-on: <% task().result.provision_state != $.target_state %>
|
||||
|
||||
set_power_state:
|
||||
input:
|
||||
@ -49,7 +49,7 @@ workflows:
|
||||
retry:
|
||||
delay: 6
|
||||
count: 20
|
||||
continue-on: <% task(wait_for_power_state).result.power_state != $.target_state %>
|
||||
continue-on: <% task().result.power_state != $.target_state %>
|
||||
|
||||
manual_cleaning:
|
||||
input:
|
||||
|
@ -374,7 +374,7 @@ workflows:
|
||||
queue_name: <% $.queue_name %>
|
||||
reproduce_command: true
|
||||
publish:
|
||||
log_path: <% task(run_ansible).result.get('log_path') %>
|
||||
log_path: <% task().result.get('log_path') %>
|
||||
on-success:
|
||||
- ansible_passed: <% task().result.returncode = 0 %>
|
||||
- ansible_failed: <% task().result.returncode != 0 %>
|
||||
|
@ -56,7 +56,7 @@ workflows:
|
||||
retry:
|
||||
delay: 15
|
||||
count: <% $.timeout / 15 %>
|
||||
continue-on: <% $.stack in task(wait_for_stack_does_not_exist).result.select([$.stack_name, $.id]).flatten() %>
|
||||
continue-on: <% $.stack in task().result.select([$.stack_name, $.id]).flatten() %>
|
||||
|
||||
delete_stack:
|
||||
input:
|
||||
|
@ -49,7 +49,7 @@ workflows:
|
||||
publish:
|
||||
status: SUCCESS
|
||||
message: <% task().result %>
|
||||
undercloud_db_password: <% task(get_database_credentials).result.variables.undercloud_db_password %>
|
||||
undercloud_db_password: <% task().result.variables.undercloud_db_password %>
|
||||
on-success: create_database_backup
|
||||
on-error: send_message
|
||||
publish-on-error:
|
||||
|
Loading…
x
Reference in New Issue
Block a user