Update wheel-build.sh for zuulv3.o.o

We no longer have remotes on git repos pushed to our nodes. So just
check the local branches zuul knows about.

Change-Id: Ic70c84990a748df46a70426e7879941fb1deec0f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger
2017-09-23 14:56:04 -04:00
parent 5501f12f23
commit e1ee55eb06

View File

@@ -13,8 +13,8 @@ mkdir -p ${LOGS}
rm -rf ${LOGS}/* rm -rf ${LOGS}/*
# Extract and iterate over all the branch names. # Extract and iterate over all the branch names.
BRANCHES=`git --git-dir=$WORKING_DIR/.git branch -r | grep '^ origin/[^H]'` BRANCHES=`git --git-dir=$WORKING_DIR/.git branch -a | grep '^ stable'`
for BRANCH in $BRANCHES; do for BRANCH in master $BRANCHES; do
git --git-dir=$WORKING_DIR/.git show $BRANCH:upper-constraints.txt \ git --git-dir=$WORKING_DIR/.git show $BRANCH:upper-constraints.txt \
2>/dev/null > /tmp/upper-constraints.txt || true 2>/dev/null > /tmp/upper-constraints.txt || true