diff --git a/qa/tasks/workunit.py b/qa/tasks/workunit.py index 8ab9681c2c3..fa64edc764b 100644 --- a/qa/tasks/workunit.py +++ b/qa/tasks/workunit.py @@ -321,6 +321,7 @@ def _run_tests(ctx, refspec, role, tests, env, subdir=None, timeout=None): run.Raw('&&'), 'git', 'clone', + '--depth=1', git_url, clonedir, run.Raw('&&'), @@ -348,6 +349,7 @@ def _run_tests(ctx, refspec, role, tests, env, subdir=None, timeout=None): run.Raw('&&'), 'git', 'clone', + '--depth=1', alt_git_url, clonedir, run.Raw('&&'),