mirror of
https://github.com/ceph/ceph
synced 2025-01-19 17:41:39 +00:00
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:
commit
d06d66d88d
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user