-
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
Validate pipeline config #1881
Validate pipeline config #1881
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1881 +/- ##
==========================================
+ Coverage 51.45% 51.72% +0.26%
==========================================
Files 171 172 +1
Lines 7690 7735 +45
==========================================
+ Hits 3957 4001 +44
- Misses 3357 3358 +1
Partials 376 376
Continue to review full report at Codecov.
|
Awesome, thank you! Will have a deeper look tomorrow. |
bunch of errors on integration tests:
|
@balopat My bad, forgot that some structs may have no fields. |
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 - just nits
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. ℹ️ Googlers: Go here for more info. |
1 similar comment
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. ℹ️ Googlers: Go here for more info. |
d79df76
to
e2eab9d
Compare
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
@balopat nits are done. I also added one more commit, moving the validation down after profile application. It occured to me that this could also create |
Fields annotated with 'oneOf' should only be specified once by the user. If conflicting fields are set for a given struct, Skaffold fails with an error. Fix validation for structs without fields Signed-off-by: Cornelius Weig <[email protected]>
Signed-off-by: Cornelius Weig <[email protected]>
Signed-off-by: Cornelius Weig <[email protected]>
a9fac45
to
b3fb291
Compare
Fields annotated with 'oneOf' should only be specified once by the user. If conflicting fields are set for a given struct, Skaffold now fails with an error.
Close #1836