Enable requirement update proposal jobs

Apparently we needed to use the magical ZUUL_REF job variable to get the
branch info from a change in the Zuul post pipeline. Use it and only
propose requirements updates to the branches that were updated.

Closes-bug: 1246249
Change-Id: I7adfd19e502846d3a07cde1808fdc79164c061a9
This commit is contained in:
Clark Boylan 2013-12-03 14:22:19 -08:00
parent b31a953ca7
commit 5d65a11833
2 changed files with 7 additions and 1 deletions

View File

@ -15,7 +15,12 @@
INITIAL_COMMIT_MSG="Updated from global requirements"
TOPIC="openstack/requirements"
USERNAME=${USERNAME:-$USER}
BRANCH=${ZUUL_BRANCH:-master}
BRANCH=$ZUUL_REF
if [ -z "$BRANCH" ] ; then
echo "No branch set, exiting."
exit 1
fi
git config user.name "OpenStack Jenkins"
git config user.email "jenkins@openstack.org"

View File

@ -1508,6 +1508,7 @@ projects:
- post-mirror-python26
- post-mirror-python27
- post-mirror-python33
- propose-requirements-updates
periodic:
- periodic-mirror-python26
- periodic-mirror-python27