Merge "Use master upper-constraints when installing tempest plugins"

This commit is contained in:
Zuul 2019-03-12 16:15:56 +00:00 committed by Gerrit Code Review
commit 8109ce1555

View File

@ -673,7 +673,9 @@ function install_tempest {
function install_tempest_plugins { function install_tempest_plugins {
pushd $TEMPEST_DIR pushd $TEMPEST_DIR
if [[ $TEMPEST_PLUGINS != 0 ]] ; then if [[ $TEMPEST_PLUGINS != 0 ]] ; then
tox -evenv-tempest -- pip install -c $REQUIREMENTS_DIR/upper-constraints.txt $TEMPEST_PLUGINS # The requirements might be on a different branch, while tempest & tempest plugins needs master requirements.
(cd $REQUIREMENTS_DIR && git show master:upper-constraints.txt) > u-c-m.txt
tox -evenv-tempest -- pip install -c u-c-m.txt $TEMPEST_PLUGINS
echo "Checking installed Tempest plugins:" echo "Checking installed Tempest plugins:"
tox -evenv-tempest -- tempest list-plugins tox -evenv-tempest -- tempest list-plugins
fi fi