diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bdf673350901a96681d853aba4f39e475d812814..8164b03c8b8cd192c22725f9f15e319fe3fb713d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -162,6 +162,7 @@ cleanup-successful-full-deployment: script: - echo "This is the cleanup for the full-redeployment of the testing or production servers" - echo "if this job is reached, all earlier jobs were successful, and any lingering old instances need to be removed" + - pip install python-openstackclient - openstack server delete $OLD_TEST_NAME && echo "Deleted old testing server." || echo "No old testing server found." - openstack server delete $OLD_PROD_NAME && echo "Deleted old production server." || echo "No old production server found."