Skip to content

Commit

Permalink
No need to delete a VM when you're deleting the whole deployment
Browse files Browse the repository at this point in the history
Co-authored-by: Joseph Palermo <joseph.palermo@broadcom.com>
  • Loading branch information
selzoc and jpalermo committed Oct 30, 2024
1 parent 50f670d commit 49a14e7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ci/tasks/bats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ run_bats_on_vm() {
BOSH_LITE_CA_CERT="$(bosh int --path /default_ca/ca "${vars_store_path}")"
bosh -d bosh-warden-cpi-bats-director ssh -c "set -e -x; $(declare -f install_bats_prereqs); install_bats_prereqs ${BOSH_CLI_VERSION}"
bosh -d bosh-warden-cpi-bats-director ssh -c "set -e -x; $(declare -f run_bats); run_bats $lite_director_ip '$stemcell_url' '${BOSH_LITE_CA_CERT}'"
bosh -d bosh-warden-cpi-bats-director delete-vm "$(bosh -d bosh-warden-cpi-bats-director is --details --column=VM_CID)" -n
bosh -d bosh-warden-cpi-bats-director delete-deployment -n
}

Expand Down

0 comments on commit 49a14e7

Please sign in to comment.