NAS-138912 / 26.04 / decrease build times by ~8-9mins (#960)

* decrease build times

* whoops missing --depth 1
This commit is contained in:
Caleb St. John
2025-12-12 18:18:29 -05:00
committed by GitHub
parent 3623df931b
commit d27b399ea9

View File

@@ -63,8 +63,15 @@ class GitPackageMixin:
)
else:
cmds = (
['clone', '--recurse', self.origin, self.source_path],
['-C', self.source_path, 'checkout', branch],
[
'clone',
'--branch', branch,
'--single-branch',
'--no-tags',
'--depth', '1',
self.origin,
self.source_path
],
)
# We're doing retries here because at the time of writing this the iX network