Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- version: '2.0'
- name: wb
- workflows:
- wf1:
- input:
- - var: 4
- tasks:
- check_raga_for_backup_status:
- action: std.http
- input:
- url: '<% $.workflowapi_url %>/v1/workflow/raga/backups/<% $.instance_ip %>/<% $.backup_id %>'
- method: GET
- retry:
- count: 15
- delay: 1
- break-on: <% $.check_raga_for_backup_status.content.status = 'backup_failed' %>
- continue-on: <% $.check_raga_for_backup_status.content.status = 'backup_success' %>
- publish:
- cinder_snapshot_id: <% $.check_raga_for_backup_status.content.cinder_snapshot_id %>
Advertisement
Add Comment
Please, Sign In to add comment