-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Transform values files in profiles to v1alpha3 #1070
Transform values files in profiles to v1alpha3 #1070
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1070 +/- ##
=======================================
Coverage 40.86% 40.86%
=======================================
Files 70 70
Lines 3091 3091
=======================================
Hits 1263 1263
Misses 1703 1703
Partials 125 125 Continue to review full report at Codecov.
|
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.
Thanks for filling this back in :)
Can you please write a test for this?
Thank you!
@balopat Was already looking at that, but tests for the transform seem to be missing completely so it'll take a bit more time. edit: Actually I'm not sure what would be the best approach to test the transform functions.. I suggest a string comparison; input A, expect B. Would that be sufficient? |
Yeah, I think with transformation logic we could go as thorough as covering quick-check style a lot of combinations, or the lazy way is to provide a couple of full golden examples and provide some coverage. We do have a "the conversion doesn't fail and the result is deployable" test at https://github.com/GoogleContainerTools/skaffold/blob/master/integration/run_test.go#L224 but that should already cover your case. And with that, I'm going to unblock this PR. I think we should improve the test coverage on these though on the long run or do a better validation integration test. |
Yes, I will work on the v0.15.1 release today! |
I made a mistake in #985. With the v0.15.0
skaffold fix
thevaluesFilePath
field in profiles is completely dropped. These changes fix that.These changes are based on the
v0.15.0
tag. I think this PR shouldn't actually point to master but to a v0.15.x branch from which we may release v0.15.1Apologies for the inconvenience. I hope it's possible to push out a hotfix release fast.