-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't perform a deep checkout for CI and releases #5465
Comments
@expipiplus1 - Seems like we do need a recursive submodule clone? I started off with PR #6410 to address this issue, but I see build errors due to some missing cmake files. Just to clarify, by deep checkout, you refer to "submodule sync --recursive" being done in the CI pipeline, correct? Build errors: |
I mean, we don't need to check out the history of all the submodules, or probably even the history (maybe to the last tag) of our repo |
@expipiplus1 Got it. I now ensure that we call --depth=1 for submodules. Is there any other way to verify this on the pipeline? I did try to add a git log, but that failed. Can you please check the latest patch on PR #6410 |
* Do not perform deep checkout of submodules Fixes #5465 * Remove shallow clone for release as suggested by csyonghe --------- Co-authored-by: Ellie Hermaszewska <ellieh@nvidia.com>
we probably don't need the tag for CI and releases should be made from the tagged revision itself
we definitely don't need deep checkout for submodules.
The text was updated successfully, but these errors were encountered: