-
Notifications
You must be signed in to change notification settings - Fork 116
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
Helm OCI chart deployment fails in Windows #2648
Conversation
Does the PR have any schema changes?Looking good! No breaking changes found. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #2648 +/- ##
=======================================
Coverage 18.31% 18.31%
=======================================
Files 47 47
Lines 9644 9643 -1
=======================================
Hits 1766 1766
+ Misses 7779 7778 -1
Partials 99 99 ☔ View full report in Codecov by Sentry. |
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.
I believe that we run tests on windows? Can we make sure that the scenario we are addressing is under test.
GHA supports Windows runners, but I believe our providers only tests on Linux environments currently. It makes sense to increase the scope of testing to all supported envs/architectures, but perhaps we need a bigger discussion about the approach for this and any optimizations we might need to undertake? It'd be great to get Windows testing enabled to ensure we don't have any regressions here, but that is probably a larger orthogonal effort to get it landed. I'd be happy if we can manually validate that this fix works within a Windows environment to get it submitted for now. |
I agree.
We still need to test that |
Thanks both for the discussion. I'll provision a Windows VM to test this PR, and will incorporate the notion of a cross-platform test pass into a future "Release Criteria" design doc. |
fc8952e
to
ed5d5e1
Compare
I tested the fix on a Windows PC, seems to work well. |
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.
LGTM. Thanks for validating on Windows.
Proposed changes
Closes #2644
This PR fixes support for OCI charts on Windows, by making the code be more consistent with Helm (see code). I believe the error comes from the call to
os.Stat
(see Golang implementation which is based on CreateFile, here).Related issues (optional)