Merge "Publish error for package_update workflow"

This commit is contained in:
Zuul 2019-01-17 18:09:29 +00:00 committed by Gerrit Code Review
commit b3116f6ab7
1 changed files with 10 additions and 2 deletions

View File

@ -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