From 7eff49a5af0b891a2be1a2b4574e378f41bc1170 Mon Sep 17 00:00:00 2001
From: Mark Goddard <mark@stackhpc.com>
Date: Mon, 24 May 2021 10:35:17 +0100
Subject: [PATCH] CI: Don't generate certificates before upgrade

We generate them before the initial deployment.

Change-Id: Icd38f1edf0cb0551704e5a95aa0922d572a2bf24
---
 tests/upgrade.sh | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/tests/upgrade.sh b/tests/upgrade.sh
index 26a198d9f..6604436fe 100755
--- a/tests/upgrade.sh
+++ b/tests/upgrade.sh
@@ -9,11 +9,6 @@ export PYTHONUNBUFFERED=1
 
 function upgrade {
     RAW_INVENTORY=/etc/kolla/inventory
-    # generate self-signed certificates for the optional internal TLS tests
-    if [[ "$TLS_ENABLED" = "True" ]]; then
-        kolla-ansible -i ${RAW_INVENTORY} -vvv certificates > /tmp/logs/ansible/certificates
-    fi
-
     # TODO(mgoddard): Remove this block in the Y cycle after chrony has been
     # dropped for a cycle.
     # NOTE(mgoddard): Remove the chrony container and install a host chrony
-- 
GitLab