-
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
📖 Update go Prerequisites for the latest release #2257
📖 Update go Prerequisites for the latest release #2257
Conversation
Hi @yuswift. 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. |
docs/book/src/quick-start.md
Outdated
@@ -9,7 +9,7 @@ This Quick Start guide will cover: | |||
|
|||
## Prerequisites | |||
|
|||
- [go](https://golang.org/dl/) version v1.15+ and < 1.16. | |||
- [go](https://golang.org/dl/) version 1.15+ and < 1.17. |
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.
We need to update it for 1.16+ < 1.17. IHMO
c/c @rashmigottipati could you look in the issue which is with you about this topic?
c/c @estroz @jmrodri
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.
IMO, using go 1.15 is more suitable for kubebuilder v3.0. What about changing it to
- [go](https://golang.org/dl/) version v1.15+ and < 1.16(kubebuilder v3.0).
- [go](https://golang.org/dl/) version v1.16 and < 1.17(kubebuilder v3.1).
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.
The supported version is the version that is scaffolded. See: https://github.com/kubernetes-sigs/kubebuilder/blob/v3.0.0/testdata/project-v3/go.mod#L3
I agree with your suggestion. It seems fine.
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.
Done.
Signed-off-by: yuswift <yuswift2018@gmail.com>
281e422
to
8306b8f
Compare
@camilamacedo86 hi could you add a comment /test all ? Thanks. |
hey team, just wanted to put out a note about how important this PR is for the docs. I understand that the go version is reflected in the code, but to keep this out of date with the latest kubebuilder (especially when the book suggests you install the latest version https://book.kubebuilder.io/quick-start.html#installation) can cause a bit of an issue getting up and running with the project. appreciate your work here to keep things up to date. |
I've refactored the go version check so versions are compared to plugin-specific requirements (#2290). There is no max version (less that 2.0 which will have breaking changes) since all 1.Y go versions will be forward-compatible, so you can remove the max one it merges. |
Thanks. So, do I just need to keep the min one(e.g. v3.0->go 1.15+ v3.1-> go1.16+)? |
Yep! |
awesome! |
Signed-off-by: yuswift <yuswift2018@gmail.com>
@estroz hi, I updated the go version. Could you take a look at it? Thanks! |
/ok-to-test |
Co-authored-by: Eric Stroczynski <ericstroczynski@gmail.com>
/retest |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: estroz, yuswift 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 |
@estroz Could we merge this pr? |
/override coverage/coveralls |
@estroz: Overrode contexts on behalf of estroz: coverage/coveralls 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/test-infra repository. |
@estroz thanks for the review. BTW, how do we trigger rebuilding the books? The website is still not updated. |
@yuswift typically on each release, the book-v3 branch gets updated. In this case it should be updated sooner. I'll get on that soon. ping @camilamacedo86 |
@estroz I can help with that (if you'd like). Let me know what needs to be done to update the book. |
* update go prerequisites for the latest release Signed-off-by: yuswift <yuswift2018@gmail.com> * remove the max goversion limit Signed-off-by: yuswift <yuswift2018@gmail.com> * Update docs/book/src/quick-start.md Co-authored-by: Eric Stroczynski <ericstroczynski@gmail.com> Co-authored-by: Eric Stroczynski <ericstroczynski@gmail.com>
* update go prerequisites for the latest release Signed-off-by: yuswift <yuswift2018@gmail.com> * remove the max goversion limit Signed-off-by: yuswift <yuswift2018@gmail.com> * Update docs/book/src/quick-start.md Co-authored-by: Eric Stroczynski <ericstroczynski@gmail.com> Co-authored-by: Eric Stroczynski <ericstroczynski@gmail.com> Co-authored-by: Swift <yuswift2018@gmail.com> Co-authored-by: Eric Stroczynski <ericstroczynski@gmail.com>
* update go prerequisites for the latest release Signed-off-by: yuswift <yuswift2018@gmail.com> * remove the max goversion limit Signed-off-by: yuswift <yuswift2018@gmail.com> * Update docs/book/src/quick-start.md Co-authored-by: Eric Stroczynski <ericstroczynski@gmail.com> Co-authored-by: Eric Stroczynski <ericstroczynski@gmail.com> Co-authored-by: Swift <yuswift2018@gmail.com> Co-authored-by: Eric Stroczynski <ericstroczynski@gmail.com>
Signed-off-by: yuswift yuswift2018@gmail.com
Fixes #2207
As #2182 upgraded the go version to v1.16, the quickstart prerequisites need to be updated too.