-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
refactor/ci tasks improvement new #5303
refactor/ci tasks improvement new #5303
Conversation
This PR has multiple commits, and the default merge method is: merge. 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. |
Hi @antoooks. Thanks for your PR. I'm waiting for a kubernetes-sigs 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. |
… generate-kustomize-builtin-plugins, add go work sync on presubmit check, add generate-kustomize-builtin-plugins on presubmit check
d9b088d
to
8f28349
Compare
/assign @koba1t @Debanitrkl |
Hi @antoooks
|
Yes it worked in mine, could you paste me some of the error messages? 😃 |
The following error message appears. Do you get this error?
|
@koba1t I have tested by cloning it inside a docker container and I cannot find this |
No worries, glad it worked! I also have added all the feedback for |
/ok-to-test |
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.
Hi, @antoooks!
I added a few review comments. Please check my comments!
Makefile
Outdated
|
||
# Pushes dependencies in the go.work file back to go.mod files of each workspace module. | ||
.PHONY: workspace-sync | ||
workspace sync: |
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.
Do you have any specific reason to remove the hyphen here?
I think it is better to use a unified name here.
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.
No issue here, yes we can go with unified name
.PHONY: generate-kustomize-builtin-plugins | ||
generate-kustomize-builtin-plugins: $(builtinplugins) | ||
generate-kustomize-builtin-plugins: $(builtplugins) |
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.
Maybe I think it is better to separate a step of generate and a step of diff check.
Because generate-kustomize-builtin-plugins
will be used in developing built-in plugins. This command may error when developing plugins before exec git commit.
I think it better to separate them there, It will be useful for developing plugins.
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 see your point. Do you know if diff check will be called anywhere else? Since the context is strictly limited to builtin plugins maybe I should use builtin-plugins no diff
as target name instead
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 imagine making a new builtin-plugins diff
command, and that makes called from here.
I'll leave it to you to figure out how to do it.
/assign |
@antoooks /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: antoooks, koba1t 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 |
go mod tidy
andgo work sync
on presubmit checkaddresses #4977