Do not force using the remote "origin" when testing upgrades

Zuul checkout of origin/stable/pike doesn't work, and needs
only stable/pike instead [1].

[1]: http://logs.openstack.org/periodic/git.openstack.org/openstack/openstack-ansible/master/openstack-ansible-upgrade-ceph-ubuntu-xenial/f835b74/job-output.txt.gz#_2017-11-24_06_08_06_547867

Change-Id: Ib2bee665e164f02817487c311e125329d54c43d8
(cherry picked from commit ebfd9ab9ae)
This commit is contained in:
Jean-Philippe Evrard 2017-11-24 11:53:17 +00:00 committed by Jesse Pretorius (odyssey4me)
parent 394d42ca3f
commit 5892af67a8
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ if [[ "${ACTION}" == "upgrade" ]]; then
export UPGRADE_TARGET_BRANCH=$(git rev-parse HEAD)
# Now checkout the source SHA/branch
git checkout origin/${UPGRADE_SOURCE_BRANCH}
git checkout ${UPGRADE_SOURCE_BRANCH}
fi
# Get minimum disk size