Merge "Publish error for package_update workflow"
This commit is contained in:
commit
b3116f6ab7
|
@ -38,14 +38,22 @@ workflows:
|
||||||
input:
|
input:
|
||||||
timeout: <% $.timeout %>
|
timeout: <% $.timeout %>
|
||||||
container: <% $.container %>
|
container: <% $.container %>
|
||||||
on-success: send_message
|
publish-on-error:
|
||||||
|
message: <% task().result %>
|
||||||
|
on-success: set_update_success
|
||||||
on-error: set_update_failed
|
on-error: set_update_failed
|
||||||
|
|
||||||
set_update_failed:
|
set_update_failed:
|
||||||
on-success: send_message
|
on-success: send_message
|
||||||
publish:
|
publish:
|
||||||
status: FAILED
|
status: FAILED
|
||||||
message: <% task(update).result %>
|
update_status: UPDATE_FAILED
|
||||||
|
|
||||||
|
set_update_success:
|
||||||
|
on-success: send_message
|
||||||
|
publish:
|
||||||
|
status: SUCCESS
|
||||||
|
update_status: UPDATE_SUCCESS
|
||||||
|
|
||||||
send_message:
|
send_message:
|
||||||
workflow: tripleo.messaging.v1.send
|
workflow: tripleo.messaging.v1.send
|
||||||
|
|
Loading…
Reference in New Issue