Add template processing to the update plan workflow.
This was recently added to the create workflow, but as update was added at the same time it wasn't included. Partial-Bug: #1622683 Closes-Bug: #1622720 Change-Id: I96ff13a00ac98bdfeb6605e9d300f8a44e6f82f1
This commit is contained in:
parent
489455ae7e
commit
2d87e96404
|
@ -57,8 +57,13 @@ workflows:
|
|||
tasks:
|
||||
update_plan:
|
||||
action: tripleo.plan.update container=<% $.container %>
|
||||
on-success: process_templates
|
||||
on-error: update_plan_set_status_failed
|
||||
|
||||
process_templates:
|
||||
action: tripleo.process_templates container=<% $.container %>
|
||||
on-success: set_status_success
|
||||
on-error: set_status_failed
|
||||
on-error: process_templates_set_status_failed
|
||||
|
||||
set_status_success:
|
||||
on-success: notify_zaqar
|
||||
|
@ -66,12 +71,18 @@ workflows:
|
|||
status: SUCCESS
|
||||
message: <% task(update_plan).result %>
|
||||
|
||||
set_status_failed:
|
||||
update_plan_set_status_failed:
|
||||
on-success: notify_zaqar
|
||||
publish:
|
||||
status: FAILED
|
||||
message: <% task(update_plan).result %>
|
||||
|
||||
process_templates_set_status_failed:
|
||||
on-success: notify_zaqar
|
||||
publish:
|
||||
status: FAILED
|
||||
message: <% task(process_templates).result %>
|
||||
|
||||
notify_zaqar:
|
||||
action: zaqar.queue_post
|
||||
input:
|
||||
|
|
Loading…
Reference in New Issue