-
Notifications
You must be signed in to change notification settings - Fork 6.7k
fix(repo-server): When using custom kustomize versions, obtain the correct path (#21449) #21537
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(repo-server): When using custom kustomize versions, obtain the correct path (#21449) #21537
Conversation
❗ Preview Environment undeploy from Bunnyshell failedSee: Environment Details | Pipeline Logs Available commands (reply to this comment):
|
c489fed to
4584f4f
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #21537 +/- ##
==========================================
- Coverage 55.99% 55.96% -0.03%
==========================================
Files 343 343
Lines 57536 57539 +3
==========================================
- Hits 32219 32204 -15
- Misses 22668 22676 +8
- Partials 2649 2659 +10 ☔ View full report in Codecov by Sentry. |
Signed-off-by: asuforce <[email protected]>
4584f4f to
47bc1be
Compare
|
@nitishfy I fixed conflict. Could you review it? |
|
|
||
| func versionWithBinaryPath(k *kustomize) (string, error) { | ||
| executable := k.getBinaryPath() | ||
| cmd := exec.Command(executable, "version", "--short") |
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.
--short has been deprecated, should we move it? It also makes parsing the version way easier now.
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.
@rumstead I understand your point, but this is outside the scope of this PR. It should be addressed in a separate PR.
…rrect path (argoproj#21449) (argoproj#21537) Signed-off-by: asuforce <[email protected]>
…rrect path (argoproj#21449) (argoproj#21537) Signed-off-by: asuforce <[email protected]> Signed-off-by: Kanika Rana <[email protected]>
…rrect path (argoproj#21449) (argoproj#21537) Signed-off-by: asuforce <[email protected]> Signed-off-by: Oliver Gondža <[email protected]>
…rrect path (argoproj#21449) (argoproj#21537) Signed-off-by: asuforce <[email protected]>
…rrect path (argoproj#21449) (argoproj#21537) Signed-off-by: asuforce <[email protected]>
Fixes #21449
Checklist: