Validate the ignition config before using it#1979
Validate the ignition config before using it#1979asalkeld wants to merge 2 commits intoopenshift:masterfrom asalkeld:ignition-validation
Conversation
|
would proabably also need to validate on load... |
Cool, thanks. I'll do that. |
|
fixing the vendor error.. |
|
/retest |
|
Nice. Failed test happens after cluster bringup /lgtm /test e2e-aws-scaleup-rhel7 |
is non-failing and we are currently fixing it, it can be ignored as it's not required for merge. |
|
/test e2e-aws |
There was a problem hiding this comment.
Might have made sense to use the marshaled json here to avoid the marshaling and and to allow testing invalid json
There was a problem hiding this comment.
ok, I'll change that and test the Marshal error path too. Thanks for the review!
There was a problem hiding this comment.
a dup of the previous case?
There was a problem hiding this comment.
at some point testing internal ignition error strings will get brittle and changes in the library will break the tests - the 3 error strings you have a probably fine though
|
/test e2e-aws |
There was a problem hiding this comment.
installer/pkg/types/validation/installconfig_test.go
Lines 603 to 607 in 878dd9d
is more clear in the expectations that if error is required the error matches, and if it's not it should be NoError.
This should save time by not having to boot up the bootstrap node. closes #1300
This is to make sure it correctly fails validation
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: asalkeld, markmc The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/test e2e-aws-scaleup-rhel7 |
3 similar comments
|
/test e2e-aws-scaleup-rhel7 |
|
/test e2e-aws-scaleup-rhel7 |
|
/test e2e-aws-scaleup-rhel7 |
|
@abhinavdahiya can we get this merged please? |
Oh, I'm sorry this dropped from my radar. Currently we are preparing for openshift 4.2 release and only bug fixes are being merged to the master.. as soon as we are ready to merge code to master for openshift 4.3 i will tag this. Thanks for your patience! |
|
@asalkeld: PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
@asalkeld: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
Closing this as it has stalled for very long. Please feel free to re-open in case you intent to keep pushing it. /close |
|
@abhinavdahiya: Closed this PR. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This should save time by not having to boot up the bootstrap node.
closes #1300