-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Unknown-fields fixes - Cleanup #27386
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
Conversation
|
Hi @asim-reza. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
|
Welcome @asim-reza! |
|
@cjwagner @alexander-demichev @aramase There were 2 errors I didnt know what to do about 2- |
If someone can point me to how to fix these 2 I'll get right on it and that should fix all of the errors!! |
|
@cjwagner @alexander-demichev @aramase -P.S sorry for the XXL size 😆 |
|
/ok-to-test |
|
/test pull-test-infra-verify-lint |
|
all unknown field errors fixed 🎊 🎊 🎊 🎊 🎊 the and the |
|
Please create a separate PR that adds a duplicate of |
no, #27389 should not be created on top of this PR, create it base off of master branch, and duplicate the config checking job instead of modifying it in place, I'll leave comment there |
|
/label tide/merge-method-squash |
|
Need help with this unit test fail.., I have combed through my changes over and over again... cant find whats causing it |
6db9ad9 to
b445701
Compare
46e3f78 to
dab44a0
Compare
|
/retest |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: asim-reza The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
4390903 to
4e4c6f2
Compare
|
/test pull-test-infra-unit-test |
|
@asim-reza: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
|
Unit test wouldnt resolve so created a clean PR |
Issue
Unknown field checks are not enabled for ProwJob configuration. #26368
Description
Prow's checkconfig tool is responsible for presubmit validation of ProwJob configuration. It has an optional check for unknown fields in ProwJob config that can be enabled with --warnings=unknown-fields-all. We currently do not have this check enabled.
As a result it is possible to add configuration that is not recognized by Prow, causing it to be silently ignored. Common examples of this are typos in a field name and incorrect indentation.
What was done
All errors in the configs were fixed (of which there were alot) ....
docker run -i --rm -v "${PWD}:${PWD}" -w "${PWD}" gcr.io/k8s-prow/checkconfig:v20220905-8bcebc6376 --config-path=config/prow/config.yaml --job-config-path=config/jobs --plugin-config=config/prow/plugins.yaml --strict --warnings=mismatched-tide-lenient --warnings=tide-strict-branch --warnings=needs-ok-to-test --warnings=validate-owners --warnings=missing-trigger --warnings=validate-urls --warnings=unknown-fields --warnings=duplicate-job-refs --warnings=unknown-fields-allwas used to perform the tests