Merge "Add workflow for uploading validations to Swift"
This commit is contained in:
commit
e8e19d776c
|
@ -756,3 +756,30 @@ workflows:
|
|||
statistics: <% $.statistics %>
|
||||
errors: <% $.errors %>
|
||||
warnings: <% $.warnings %>
|
||||
|
||||
upload_validations:
|
||||
tags:
|
||||
- tripleo-common-managed
|
||||
|
||||
input:
|
||||
- queue_name: tripleo
|
||||
|
||||
tasks:
|
||||
upload_validations:
|
||||
action: tripleo.validations.upload
|
||||
on-complete: send_message
|
||||
publish-on-error:
|
||||
status: FAILED
|
||||
message: <% task().result %>
|
||||
publish:
|
||||
status: SUCCESS
|
||||
message: <% task().result %>
|
||||
|
||||
send_message:
|
||||
workflow: tripleo.messaging.v1.send
|
||||
input:
|
||||
queue_name: <% $.queue_name %>
|
||||
type: <% execution().name %>
|
||||
status: <% $.status %>
|
||||
execution: <% execution() %>
|
||||
message: <% $.get('message', '') %>
|
||||
|
|
Loading…
Reference in New Issue