Fixed jobs in stable releases

We have incorrect UPPER_CONSTRAINTS for stable releases on slaves

Change-Id: I581768d1b9d62fea230a9e847b51a5ea82569561
This commit is contained in:
Evgeny Sikachev 2017-03-20 11:56:37 +04:00
parent 71ef54661d
commit e932485d2f
1 changed files with 7 additions and 1 deletions

View File

@ -41,7 +41,13 @@ case $plugin in
;;
esac
pip_cmd="install -U -c https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt -r requirements.txt . --no-cache-dir"
upper_constraints="https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt"
if [ "$ZUUL_BRANCH" != "master" ]; then
upper_constraints+="?h=$ZUUL_BRANCH"
fi
pip_cmd="install -U -c $upper_constraints -r requirements.txt . --no-cache-dir"
pip_packages="pymysql"
case $(echo $JOB_NAME | awk -F '-' '{ print $NF }') in