-
Notifications
You must be signed in to change notification settings - Fork 3
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
fix(sync): allow local paths in vendir config #191
fix(sync): allow local paths in vendir config #191
Conversation
This is currently not working due to a vendir bug: multiple vendir processes can't run from the same directory because they use the same A solution is proposed in carvel-dev/vendir#345 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the reason of the failing test?
Nicely done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and does work for me. Left a minor comment about the logging. Thanks for the quick implementation. Will start using this as soon as it is out.
Out of curiosity: did the discussed solution with the vendir directory flag not work for you factually or you just liked the ytt rewrite better?
To be honest, I forgot about this option. But anyway, it seems to me a bit hacky. With the overlay, I don't care about what's inside the vendir config, execute |
…ce-in-vendir-config-is-broken
Ha, renovate was so "friendly" to update vendir to the latest main commit in #200. |
Strangely, I wasn't able to reproduce the issue with tests locally. But now it seems to reproduce. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## dev #191 +/- ##
==========================================
- Coverage 47.54% 46.65% -0.90%
==========================================
Files 26 28 +2
Lines 2509 2542 +33
==========================================
- Hits 1193 1186 -7
- Misses 1131 1174 +43
+ Partials 185 182 -3 ☔ View full report in Codecov by Sentry. |
# [3.2.0](v3.1.0...v3.2.0) (2024-01-07) ### Bug Fixes * **deps:** update github.com/cppforlife/go-cli-ui digest to 9954948 ([#201](#201)) ([9836249](9836249)) * **deps:** update golang.org/x/exp digest to be819d1 ([#204](#204)) ([9928ad1](9928ad1)) * **deps:** update module golang.org/x/sync to v0.6.0 ([#205](#205)) ([d3b8ea0](d3b8ea0)) * **deps:** update module golang.org/x/term to v0.16.0 ([#206](#206)) ([002cfe0](002cfe0)) * **sync:** allow local paths in vendir config ([#191](#191)) ([73233eb](73233eb)) ### Features * **cleanup:** added dedicated command ([#198](#198)) ([48fa589](48fa589)), closes [#130](#130) * **vendir:** embed vendir into myks ([#199](#199)) ([95ecfa8](95ecfa8))
Fixes #189