Force origin remote to use review.o.o.
Change-Id: I2c7e144461b587e8ade8b7ac3eda4427268d6f05
This commit is contained in:
@@ -111,13 +111,12 @@ function setup_workspace {
|
||||
SHORT_PROJECT=`basename $PROJECT`
|
||||
if [[ ! -e $SHORT_PROJECT ]]; then
|
||||
echo " Need to clone $SHORT_PROJECT"
|
||||
git clone http://zuul.openstack.org/p/$PROJECT
|
||||
git clone https://review.openstack.org/p/$PROJECT
|
||||
fi
|
||||
cd $SHORT_PROJECT
|
||||
|
||||
# TODO: remove; this is temporary to handle the transition
|
||||
# to zuul.openstack.org.
|
||||
git remote set-url origin http://zuul.openstack.org/p/$PROJECT
|
||||
# TODO: remove; this is temporary to handle some project renames
|
||||
git remote set-url origin https://review.openstack.org/p/$PROJECT
|
||||
|
||||
BRANCH=$ZUUL_BRANCH
|
||||
|
||||
|
||||
Reference in New Issue
Block a user