From 60a97a2ef88f459c88330ba281025a7a83a0ed4d Mon Sep 17 00:00:00 2001
From: Christian Boettcher <c.boettcher@fz-juelich.de>
Date: Fri, 3 Sep 2021 07:48:42 +0200
Subject: [PATCH] install openstack client for successful cleanup

---
 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bdf6733..8164b03 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."
 
-- 
GitLab