Fixed jobs in stable releases
We have incorrect UPPER_CONSTRAINTS for stable releases on slaves Change-Id: I581768d1b9d62fea230a9e847b51a5ea82569561
This commit is contained in:
parent
71ef54661d
commit
e932485d2f
|
@ -41,7 +41,13 @@ case $plugin in
|
||||||
;;
|
;;
|
||||||
esac
|
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"
|
pip_packages="pymysql"
|
||||||
|
|
||||||
case $(echo $JOB_NAME | awk -F '-' '{ print $NF }') in
|
case $(echo $JOB_NAME | awk -F '-' '{ print $NF }') in
|
||||||
|
|
Loading…
Reference in New Issue