From e24ef8d57c60195342eeb37ad20fd451b4b45853 Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Wed, 3 Jan 2018 14:46:45 -0600 Subject: [PATCH] Stop building a newton venv for LEAP upgrades Because "newton" is the last release LEAP upgrades are compatible with there's no need to build a migration venv for newton. All of the newton specific migrations will be run during the redeployment phase so this venv has no specific purpose and is simply prolonging an already long maintenance. Change-Id: I06f23ed3bfdca5f1d5d56cb9fabd53cab01b83b6 Signed-off-by: Kevin Carter --- leap-upgrades/prep.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leap-upgrades/prep.sh b/leap-upgrades/prep.sh index 8b29fd60..cc1496b1 100755 --- a/leap-upgrades/prep.sh +++ b/leap-upgrades/prep.sh @@ -34,7 +34,7 @@ for RELEASES in ${TODO}; do RELEASE_NAME=${RELEASES}_RELEASE if [[ ! -f "/opt/leap42/openstack-ansible-${!RELEASE_NAME}-prep.leap" ]]; then clone_release ${!RELEASE_NAME} - if [[ "${RELEASES}" != "JUNO" ]]; then + if [[ "${RELEASES}" != "JUNO" ]] || [[ "${RELEASES}" != "NEWTON" ]]; then get_venv ${!RELEASE_NAME} fi touch "/opt/leap42/openstack-ansible-${!RELEASE_NAME}-prep.leap"