Merge PR #40611 into master

* refs/pull/40611/head:
	qa: retry cloning the ceph.git

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
Patrick Donnelly 2021-04-07 19:35:58 -07:00
commit d06d66d88d
No known key found for this signature in database
GPG Key ID: 3A2A7E25BEA8AADB

View File

@ -2,7 +2,17 @@
set -e
git clone git://git.ceph.com/ceph.git
# try it again if the clone is slow and the second time
retried=false
trap -- 'retry' EXIT
retry() {
rm -rf ceph
# double the timeout value
timeout 3600 git clone git://git.ceph.com/ceph.git
}
rm -rf ceph
timeout 1800 git clone git://git.ceph.com/ceph.git
trap - EXIT
cd ceph
versions=`seq 1 21`