Merge "use master upper-constraints when building tempest venv" into stable/queens

This commit is contained in:
Zuul 2019-03-12 23:45:31 +00:00 committed by Gerrit Code Review
commit 7a882a17f7
1 changed files with 4 additions and 1 deletions

View File

@ -558,7 +558,10 @@ function configure_tempest {
if [[ "$OFFLINE" != "True" ]]; then
tox -revenv-tempest --notest
fi
tox -evenv-tempest -- pip install -c $REQUIREMENTS_DIR/upper-constraints.txt -r requirements.txt
# The requirements might be on a different branch, while tempest needs master requirements.
git -C $REQUIREMENTS_DIR show master:upper-constraints.txt > u-c-m.txt
tox -evenv-tempest -- pip install -c u-c-m.txt -r requirements.txt
# Auth:
iniset $TEMPEST_CONFIG auth tempest_roles "Member"