-
Notifications
You must be signed in to change notification settings - Fork 2.9k
prow: add presubmit job for node-readiness-controller #36261
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
base: master
Are you sure you want to change the base?
prow: add presubmit job for node-readiness-controller #36261
Conversation
|
Welcome @Hii-Himanshu! |
|
Hi @Hii-Himanshu. 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. 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-sigs/prow repository. |
|
@Priyankasaggu11929 I’ve opened the PR against the kubernetes/test-infra repo as discussed. Happy to iterate based on feedback. |
| approvers: | ||
|
|
||
| reviewers: | ||
|
|
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.
@Hii-Himanshu, please copy the OWNERS similar to the node-readiness-controller repo here under both approvers and reviewers for now.
| kubernetes-sigs/node-readiness-controller: | ||
| - name: pull-org-verify-all | ||
| always_run: true | ||
| decorate: true | ||
| spec: | ||
| containers: | ||
| - image: | ||
| command: | ||
| - make | ||
| args: | ||
| - verify |
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.
@Hii-Himanshu, please add all fields to the job definition similar to what i provided in the reference job link I provided you.
I will review it again after. Thank you!
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Hii-Himanshu 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 |
|
/ok-to-test |
Priyankasaggu11929
left a comment
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.
@Hii-Himanshu, I have left a few more comments.
With that, I think we should be ok to merge the PR and test it.
| @@ -0,0 +1,26 @@ | |||
| presubmits: | |||
| kubernetes-sigs/node-readiness-controller: | |||
| - name: pull-org-verify-all | |||
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.
| - name: pull-org-verify-all | |
| - name: pull-node-readiness-controller-verify-all |
let's update the name of the job to ^
will help fix the failing unit test job - https://prow.k8s.io/view/gs/kubernetes-ci-logs/pr-logs/pull/test-infra/36261/pull-test-infra-unit-test/2016412534931722240
could not apply prowjob annotations: test group "pull-org-verify-all" already exists
FAIL k8s.io/test-infra/config/tests/testgrids 55.520s
| preset-service-account: "true" | ||
| spec: | ||
| containers: | ||
| - image: public.ecr.aws/docker/library/golang:1.22.4 |
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.
| - image: public.ecr.aws/docker/library/golang:1.22.4 | |
| - image: us-central1-docker.pkg.dev/k8s-staging-test-infra/images/kubekins-e2e:v20260127-c1affcc8de-master |
Let's change the container image ^
| labels: | ||
| preset-service-account: "true" |
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.
| labels: | |
| preset-service-account: "true" |
Let's remove this preset, I don't think we need this for now.
| annotations: | ||
| testgrid-num-columns-recent: '30' | ||
| testgrid-create-test-group: 'true' | ||
|
|
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.
Drop the trailing empty line here.
Will help fix the failing lint job - https://prow.k8s.io/view/gs/kubernetes-ci-logs/pr-logs/pull/test-infra/36261/pull-test-infra-verify-lint/2016412535032385536
config/jobs/kubernetes-sigs/node-readiness-controller/node-readiness-controller-presubmits.yaml
26:1 error too many blank lines (1 > 0) (empty-lines)
|
Looking at the failing job logs. I think we need to create a new Testgrid dashboard. @Hii-Himanshu, could you create one under this file - config/testgrids/kubernetes/sig-node/config.yaml Call the dashboard - Use this commit for example reference - 4e23341 |
| requests: | ||
| cpu: 2 | ||
| memory: 4Gi | ||
| annotations: |
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.
once you have created the new testgrid dashboard following #36261 (comment)
Add the following annotation to use the new testgrid dashboard
| annotations: | |
| annotations: | |
| testgrid-dashboards: sig-node-node-readiness-controller |
|
I'm not sure what is failing the yaml lint, but can you please test it locally once if the yaml file is properly linted. |
f8a69c3 to
b004c0f
Compare
|
@Hii-Himanshu: 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. 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-sigs/prow repository. I understand the commands that are listed here. |
This PR adds a presubmit Prow job for the node-readiness-controller repository.