Allow for Shallow Clone command in 2.0
D
David Aghassi
It would be nice for users to have a way to shallow clone. Currently, we do
checkout
to checkout. It would be nice to be able to pass a depth into that like shallowClone:10
and then use the number 10
as the depth for the clone. The PR linked has a modified version of the existing script that works.CCI-I-254
M
Matthew Thompson
Please, please give us a way to turn on blobless in the future even if opt in. We have a repo that "regular" git clone
hates
. I've seen 30 minute clones in terminal before, and 5 minute clones on CircleCI. But with blobless, 30 seconds.Oran Wilder
[UPDATE] We plan to work on faster checkout methods again in the first half of 2025.
Oran Wilder
[UPDATE] We have rolled back the blobless clone preview mentioned in January, and are evaluating a new path forward based on your feedback.
S
Sebastian Lerner
Hi folks, we are testing out something similar to a shallow clone (a blobless clone https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/) that aims to speed up checkouts.
If you want to try this out in "beta", email me at sebastian@circleci.com
Manuel Fittko
weird, that this is still not offered, could be a simple optional param or env var for the
checkout
step, no?S
Surenkumar Nihalani
Can we prioritize this please?
Anton
so pity such a simple and necessary thing is ignored by the CircleCI team. So now everyone has to use some thirdparty orbs or implement this by themselves...
For our company shallow copy speeds up the cloning from 22 seconds to 6 and this is multiplied to many different steps.
Thibaut
Anton: which orb are you using?
Anton
Thibaut: none, had to implement this by ourselves but we have a private orb
Thibaut
What it take so long time to add a simple parameter to the checkout command ?
R
Ricardo Oliveira
A shallow clone should even be the default I'd think. https://github.com/circleci/circleci-docs/issues/2040#issuecomment-646590921
S
Steve Sims
FYI, shallow cloning is the default in GitHub CI's checkout action, defaulting to a depth of 1
Load More
→