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

More intelligent git caching #5073

Open
1 task done
DerekTBrown opened this issue Nov 7, 2024 · 0 comments
Open
1 task done

More intelligent git caching #5073

DerekTBrown opened this issue Nov 7, 2024 · 0 comments
Labels
feature New functionality/enhancement

Comments

@DerekTBrown
Copy link

Describe the user story

  • As a Atlantis user, I want Atlantis to cache upstream commits so that I can use Atlantis in my mono-repo, without the slowdown associated cloning the entire repository every time a plan occurs.

Describe the solution you'd like

  • Atlantis could use git worktree to check out the same repository at multiple commits, reducing storage usage and functionally caching the repo between plans.

Describe the drawbacks of your solution

  • This would make Atlantis somewhat stateful, since the Atlantis pod would have cached data.
  • This would add complexity to Atlantis.

Describe alternatives you've considered

  • The best Git performance tool at the moment is --checkout-depth. While this is a decent optimization, in a high-volume Atlantis environment, there is still a lot of needless git traffic.
@DerekTBrown DerekTBrown added the feature New functionality/enhancement label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality/enhancement
Projects
None yet
Development

No branches or pull requests

1 participant