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

50Gb repo #687

Open
blackliner opened this issue Feb 4, 2022 · 2 comments
Open

50Gb repo #687

blackliner opened this issue Feb 4, 2022 · 2 comments

Comments

@blackliner
Copy link

My org is currently using Jenkins, and our monorepo is huge (above 50Gb on HEAD). On Jenkins, we utilize git reference feature to limit bandwith usage. We are now evaluating different SaaS CI providers and this seems to be one of the big show-stoppers for most. So:

  • What is the canonical approach on github actions for such extreme cases?
  • Do (custom) runners support local references? (Enterprise use-case)
  • Alternatives?

References

#22 is one issue I found, but I think that was just about fetch depth. Does not help, because even with a depth of 1, we would have to clone 50Gb.

@blackliner
Copy link
Author

something like https://circleci.com/docs/2.0/caching/#source-caching maybe?

@ingomueller-net
Copy link

I have implemented caching of the .git folder for a similar case and described it here. Note that in my case the repository was small but a submodule was large. I suppose that this is an easier case since the revision of the submodule only changes rarely. In contrast, pretty much every CI run will have a require a different revision to be checked out, and I suspect that that doesn't combine well with depth-one checkouts. Also, the 50GB you mention may be above the 10GB limit of the cache size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants