From 07882b9d67263582ade547634a35697f00503fbb Mon Sep 17 00:00:00 2001 From: Matus Jenca Date: Wed, 14 Aug 2024 15:21:56 +0200 Subject: [PATCH] CI: Fix upgrade jobs failing on adding new certificates There is a bug in current `tests/upgrade.sh`. If a developer adds a new type of certificate i.e. for RabbitMQ, it is not generated on upgrade because the script does not run the `certificates` role. This fix adds the `certificates` role to the script. Change-Id: Ib257f8342c392b78e02ae31588ce5c6f8943f5b8 --- tests/upgrade.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/upgrade.sh b/tests/upgrade.sh index 45ea07dd54..ed04601add 100755 --- a/tests/upgrade.sh +++ b/tests/upgrade.sh @@ -12,6 +12,7 @@ function upgrade { source $KOLLA_ANSIBLE_VENV_PATH/bin/activate + kolla-ansible -i ${RAW_INVENTORY} -vvv certificates > /tmp/logs/ansible/certificates kolla-ansible -i ${RAW_INVENTORY} -vvv prechecks &> /tmp/logs/ansible/upgrade-prechecks kolla-ansible -i ${RAW_INVENTORY} -vvv pull &> /tmp/logs/ansible/pull-upgrade kolla-ansible -i ${RAW_INVENTORY} -vvv upgrade &> /tmp/logs/ansible/upgrade