Merge "Publish logs before exporting them"
This commit is contained in:
commit
7d74e83ca2
@ -554,6 +554,11 @@ workflows:
|
||||
|
||||
tasks:
|
||||
|
||||
publish_logs:
|
||||
workflow: tripleo.plan_management.v1.publish_ui_logs_to_swift
|
||||
on-success: prepare_log_download
|
||||
on-error: publish_logs_set_status_failed
|
||||
|
||||
prepare_log_download:
|
||||
action: tripleo.logging_to_swift.prepare_log_download
|
||||
input:
|
||||
@ -583,6 +588,12 @@ workflows:
|
||||
message: <% task(create_tempurl).result %>
|
||||
tempurl: <% task(create_tempurl).result %>
|
||||
|
||||
publish_logs_set_status_failed:
|
||||
on-success: notify_zaqar
|
||||
publish:
|
||||
status: FAILED
|
||||
message: <% task(publish_logs).result %>
|
||||
|
||||
download_logs_set_status_failed:
|
||||
on-success: notify_zaqar
|
||||
publish:
|
||||
|
Loading…
Reference in New Issue
Block a user