-
Notifications
You must be signed in to change notification settings - Fork 228
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
Extend make verify
to fully check charts/kueue/templates
#1059
Extend make verify
to fully check charts/kueue/templates
#1059
Conversation
✅ Deploy Preview for kubernetes-sigs-kueue canceled.
|
/cc @tenzen-y |
@@ -178,7 +178,7 @@ ci-lint: golangci-lint | |||
|
|||
.PHONY: verify | |||
verify: gomod-verify vet ci-lint fmt-verify toc-verify manifests generate update-helm | |||
git --no-pager diff --exit-code config/components apis charts/kueue/templates/crd client-go | |||
git --no-pager diff --exit-code config/components apis charts/kueue/templates client-go |
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.
git --no-pager diff --exit-code config/components apis charts/kueue/templates client-go | |
git --no-pager diff --exit-code config/components apis charts/kueue/templates/crd charts/kueue/templates/rbac client-go |
Should we verify only crd
and rbac
since update-helm.sh
syncs only those folders?
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.
In my opinion no. The current way it's easier to follow, and if in the future other templates are auto updated are automatically updated we will not miss to update the check.
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.
I don't have strong objections. I was just concerned that it would get the error in this script even when we changed the helm templates, which requires manual changes.
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.
if in the future other templates are auto updated are automatically updated we will not miss to update the check.
Anyway, It makes sense on this.
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tenzen-y, trasc The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Extend
make verify
to fully checkcharts/kueue/templates
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?