Merge "Fix constraints for requirements repo"

This commit is contained in:
Jenkins 2016-02-15 19:48:54 +00:00 committed by Gerrit Code Review
commit ec4ecf3e3f

View File

@ -72,7 +72,11 @@
/usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \
--branch=$BRANCH \
git://git.openstack.org $ZUUL_PROJECT openstack/requirements
cp $REQS_DIR/upper-constraints.txt ./
# REQS_DIR is not set for openstack/requirements and there's also
# no need to copy in this case.
if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then
cp $REQS_DIR/upper-constraints.txt ./
fi
- builder:
name: zuul-git-branch-prep-upper-constraints