Skip to content
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

Add GitShallowClone feature #463

Merged
merged 3 commits into from
Dec 7, 2022
Merged

Add GitShallowClone feature #463

merged 3 commits into from
Dec 7, 2022

Conversation

pjbgf
Copy link
Member

@pjbgf pjbgf commented Nov 24, 2022

This feature enables the use of shallow clones when pulling source from Git repositories.

How to test this

Use image: ghcr.io/fluxcd/image-automation-controller:rc-0d41741b and start the controller passing on: --feature-gates=GitShallowClone=true.

Outstanding work

@pjbgf pjbgf mentioned this pull request Nov 24, 2022
Paulo Gomes added 3 commits December 6, 2022 15:22
This feature enables the use of shallow clones when pulling source from
Git repositories.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
@pjbgf pjbgf added the area/git Git related issues and pull requests label Dec 6, 2022
@pjbgf pjbgf added this to the Bootstrap GA milestone Dec 6, 2022
@pjbgf
Copy link
Member Author

pjbgf commented Dec 6, 2022

Shallow clones is now an opt-out feature, so the documentation and code have been updated accordingly.

@pjbgf pjbgf marked this pull request as ready for review December 6, 2022 16:20
@pjbgf pjbgf mentioned this pull request Dec 6, 2022
22 tasks
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks @pjbgf 🥇

@pjbgf pjbgf merged commit 5453088 into main Dec 7, 2022
@pjbgf pjbgf deleted the shallow branch December 7, 2022 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/git Git related issues and pull requests
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants