-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
🐛 Make kubebuilder go install-able #4481
🐛 Make kubebuilder go install-able #4481
Conversation
Welcome @migueleliasweb! |
Hi @migueleliasweb. 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-sigs/prow repository. |
/ok-to-test |
You can see that the changes made broke the e2e tests. But all other failures would be required be solved |
a9a0a70
to
cb4d09d
Compare
I'll have a look at the failing tests tomorrow 🫡 |
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 think to get this one merged we just need:
a) address this comment https://github.com/kubernetes-sigs/kubebuilder/pull/4481/files#r1920699959.
b) can you please squash the commits? we have the policy of 1 commit per PR
c) we should get this one merged #4504 and then this one here rebased with so you will add the main.go in the root. If we need to revert for any reason that will be helpful, thank you a lot 🥇
Than you a lot for your help here.
a1dee55
to
21ffbec
Compare
Can you please squash the commits so we can get this one merged? |
Will do! Do you think, maybe after this PR is merged, small changes to the docs should be done to mention the new installation method? |
459b70b
to
d6b316c
Compare
Closes 4079 (Make kubebuilder go install-able) Signed-off-by: Miguel Elias dos Santos <[email protected]>
d6b316c
to
82fa6bb
Compare
Hi @migueleliasweb you can ignore the fail on 1.32 : |
I am thinking about how we can test this one. |
Hi @camilamacedo86 . I reckon the quickest option here would be to merge and then get the hash of the commit so we can then issue a: The slightly more safe option would be to merge this onto a separate branch within Given the current setup we have in I've made a POC in https://github.com/migueleliasweb/go-installable/ so you can see how we would get as much information as possible from the The TL;DR is that we have a few ways to run
Give it a go with my POC and see how the behaviour is. Try running:
The same logic can be ported to |
/override pull-kubebuilder-e2e-k8s-1-32-0 |
@camilamacedo86: Overrode contexts on behalf of camilamacedo86: pull-kubebuilder-e2e-k8s-1-32-0 In 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-sigs/prow repository. |
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: camilamacedo86, migueleliasweb 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 |
/override pull-kubebuilder-e2e-k8s-1-32-0 |
@camilamacedo86: Overrode contexts on behalf of camilamacedo86: pull-kubebuilder-e2e-k8s-1-32-0 In 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-sigs/prow repository. |
Closes #4079
This PR makes
kubebuilder
go installable.Changes:
main
package originally fromcmd/
tocmd
main
function previously insidecmd/cmg.go
toRun
- following Go Cobra's patterndoc.go
tomain
make build
target