From 7508f4dbc85a95eee2438d74a520b4a94685c6cb Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Fri, 10 Jul 2015 21:01:31 +0000 Subject: [PATCH] Requirements updates clone from git.o.o Since I93465255c27fb2079915c7b3cd9170bfc40b8c35 when the predecessor of our current propose_update.sh was introduced, this script has always cloned all our repos directly from Gerrit over SSH. This is bad for performance of the job and Gerrit both. Instead clone from our git server farm (using zuul-cloner would be nice, but there is no git cache maintained on proposal.slave.openstack.org so we should improve this in a follow up change). Change-Id: Ic4adb2e59330ccb8e922b9c0cca59cde162eedf4 --- jenkins/scripts/propose_update.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/jenkins/scripts/propose_update.sh b/jenkins/scripts/propose_update.sh index e856731324..5008b45f0a 100755 --- a/jenkins/scripts/propose_update.sh +++ b/jenkins/scripts/propose_update.sh @@ -71,8 +71,10 @@ for PROJECT in $PROJECTS; do # Don't short circuit when one project fails to clone, just report the # error and move onto the next project. - GIT_REPO="ssh://$USERNAME@review.openstack.org:29418/$PROJECT.git" - if ! git clone $GIT_REPO; then + # + # TODO(fungi): switch to zuul-cloner once we add a persistent git cache + # to proposal.slave.openstack.org + if ! git clone git://git.openstack.org/$PROJECT.git; then # ALL_SUCCESS is being set to 1, which means that a failure condition # has been detected. The job will end in failure once it finishes # cycling through the remaining projects.