Help avoid killing git.ceph.com. A depth 1 clone takes about
7 seconds, whereas a full one takes about 3:40 (much of it
waiting for the server to create a huge compressed pack)
Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit
c1309fbef300a062138ac40eb5d3e5081b833072)
run.Raw('&&'),
'git',
'clone',
+ '--depth=1',
git_url,
clonedir,
run.Raw('&&'),
run.Raw('&&'),
'git',
'clone',
+ '--depth=1',
alt_git_url,
clonedir,
run.Raw('&&'),