Skip to content

Commit

Permalink
Allocator VM is deleted conditionally
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcr01 committed Sep 2, 2024
1 parent c6905c4 commit a6e6914
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/Test_installation_assistant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,5 +197,6 @@ jobs:
"${{ inputs.VERBOSITY }}"
- name: Delete allocated VM
if: ${{ (cancelled() && steps.allocator_instance.outcome == 'success') || (failure() && inputs.DESTROY == 'true' && steps.allocator_instance.outcome == 'success') }}
if: always() && steps.allocator_instance.outcome == 'success' && inputs.DESTROY == 'true'
run: python3 wazuh-automation/deployability/modules/allocation/main.py --action delete --track-output /tmp/allocator_instance/track.yml

0 comments on commit a6e6914

Please sign in to comment.