Skip to content

Commit

Permalink
Testing VM removal
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcr01 committed Sep 2, 2024
1 parent a6e6914 commit f1875cc
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/Test_installation_assistant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,18 @@ jobs:
-e "logs_path=$LOGS_PATH" \
-e "test_name=$TEST_NAME" \
"${{ inputs.VERBOSITY }}"
- name: Show DESTROY input
if: always()
run: |
echo "DESTROY: ${{ inputs.DESTROY }}"
- name: Show allocator_instance outcome
if: always()
run: |
echo "allocator_instance outcome: ${{ steps.allocator_instance.outcome }}"
- name: Delete allocated VM
if: always() && steps.allocator_instance.outcome == 'success' && inputs.DESTROY == 'true'
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 f1875cc

Please sign in to comment.