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
This commit is contained in:
parent
c469a09998
commit
7508f4dbc8
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user