mirror of
https://github.com/gryf/mistral-evacuate.git
synced 2026-03-25 03:43:39 +01:00
Add retry policy to workflow
Signed-off-by: Dawid Deja <dawid.deja@intel.com>
This commit is contained in:
@@ -22,7 +22,13 @@ host-evacuate:
|
|||||||
publish:
|
publish:
|
||||||
filtered_vms: <% $.filter_vms %>
|
filtered_vms: <% $.filter_vms %>
|
||||||
on-success: evacuate_vms
|
on-success: evacuate_vms
|
||||||
|
retry:
|
||||||
|
delay: 5
|
||||||
|
count: 10
|
||||||
|
|
||||||
evacuate_vms:
|
evacuate_vms:
|
||||||
with-items: vm in <% $.filtered_vms %>
|
with-items: vm in <% $.filtered_vms %>
|
||||||
action: custom.evacuate uuid=<% $.vm.uuid %> evacuate=<% $.vm.evacuate %> on_shared_storage=<% $.on_shared_storage %>
|
action: custom.evacuate uuid=<% $.vm.uuid %> evacuate=<% $.vm.evacuate %> on_shared_storage=<% $.on_shared_storage %>
|
||||||
|
retry:
|
||||||
|
delay: 5
|
||||||
|
count: 10
|
||||||
|
|||||||
Reference in New Issue
Block a user