Add workflow for uploading validations to Swift
Change-Id: I55be508ce5906c2f12068ae1713657eab2f658fd Partial-Bug: #1774185 Partial-Bug: #1640436
This commit is contained in:
parent
5d44a0a016
commit
f827ee93aa
|
@ -737,3 +737,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