CI: Update IPA images during upgrade

This ensures we are using the appropriate IPA images in the upgraded
environment.

Change-Id: I4a72d9ae49ad41716522c3074c16d8ca23c3ff94
This commit is contained in:
Mark Goddard 2020-06-11 16:46:48 +01:00
parent 20fb05bfb4
commit 3d9c586134

View File

@ -390,6 +390,10 @@ function overcloud_upgrade {
echo "Not building overcloud deployment images"
fi
echo "Updating baremetal deployment images"
(source "${KOLLA_CONFIG_PATH:-/etc/kolla}/admin-openrc.sh" &&
run_kayobe baremetal compute update deployment image)
if [[ ${KAYOBE_OVERCLOUD_CONTAINER_IMAGE_BUILD} = 1 ]]; then
echo "Building overcloud container images"
run_kayobe overcloud container image build