Import gated tripleo-upgrade role.

To leveraget that tripleo-upgrade is now being
gated, let's import it into oooq requirements
from the location where zuul is downloading it.

Change-Id: Icc84645a16aa53ca2cb974dbeb52e6474cd98aab
Closes-Bug: #1749740
This commit is contained in:
Jose Luis Franco Arza 2018-04-02 16:02:37 +02:00
parent ba4f97e8c8
commit 7c476bf4cd
1 changed files with 9 additions and 0 deletions

View File

@ -221,6 +221,15 @@ if [[ ! -z $NODES_FILE ]]; then
done
fi
# Import gated tripleo-upgrade in oooq for upgrades/updates jobs
if [[ -d $TRIPLEO_ROOT/tripleo-upgrade ]]; then
echo "file://${TRIPLEO_ROOT}/tripleo-upgrade/#egg=tripleo-upgrade" >> ${TRIPLEO_ROOT}/tripleo-quickstart/quickstart-extras-requirements.txt
else
# Otherwise, if not importing it, oooq will fail when loading
# tripleo-upgrade role in the playbook.
echo "git+https://git.openstack.org/tripleo-upgrade.git@${STABLE_RELEASE}#egg=tripleo-upgrade" >> ${TRIPLEO_ROOT}/tripleo-quickstart/quickstart-extras-requirements.txt
fi
# Start time tracking
export STATS_TESTENV=$(date +%s)
pushd $TRIPLEO_ROOT/tripleo-ci