feat(repo-server): partial-clone#25416
feat(repo-server): partial-clone#25416blakepettersson wants to merge 8 commits intoargoproj:masterfrom
Conversation
❌ Preview Environment undeployed from BunnyshellAvailable commands (reply to this comment):
|
36a1fe8 to
1774213
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #25416 +/- ##
==========================================
- Coverage 62.27% 62.24% -0.03%
==========================================
Files 351 352 +1
Lines 49231 49489 +258
==========================================
+ Hits 30658 30805 +147
- Misses 15659 15722 +63
- Partials 2914 2962 +48 ☔ View full report in Codecov by Sentry. |
d464b49 to
aa18088
Compare
|
How does this handle concurrency? My understanding might be out of date, but I believe every repo gets a shared clone. So if two repo secrets for the same repo specify different paths, is there a single winner? |
@crenshaw-dev the idea in this PR is that each permutation of a sparse checkout + repository url would get its own checkout on disk. We hash the sparse paths and use that as a part of the |
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com>
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com>
31aca0a to
1f63a16
Compare
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com>
1f63a16 to
6b01914
Compare
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com>
This PR adds sparse checkout support for Git repositories in Argo CD. Similar to #25137, but takes the approach of configuring the sparse-paths using a repository credential instead.
Checklist: