From 361aad07895c9f1b31bf30f5ff4ff570e0f3f8bb Mon Sep 17 00:00:00 2001 From: Pete Birley Date: Thu, 22 Jun 2017 19:40:25 -0500 Subject: [PATCH] Gates: Cleanup VM after basic functional test This ps stops and removes the test VM after we have finished with it. This frees up resources for the helm tests to use on the small machines we have avalible in openstack-infra. Change-Id: I743d8a9271bd349636ffc57e86255cc967633844 --- tools/gate/openstack_aio_launch.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/gate/openstack_aio_launch.sh b/tools/gate/openstack_aio_launch.sh index a946dc86f5..5126b7285e 100644 --- a/tools/gate/openstack_aio_launch.sh +++ b/tools/gate/openstack_aio_launch.sh @@ -138,3 +138,6 @@ ssh -i ${KEYPAIR_LOC} cirros@${FLOATING_IP} curl -sSL 169.254.169.254 # Bonus round - display a Unicorn ssh -i ${KEYPAIR_LOC} cirros@${FLOATING_IP} curl http://artscene.textfiles.com/asciiart/unicorn || true + +# Remove the test vm +$NOVA delete ${OSH_VM_NAME}