-
Notifications
You must be signed in to change notification settings - Fork 70
Fix install_kubebuilder.sh script #258
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
Fix install_kubebuilder.sh script #258
Conversation
0b03f20
to
3b0cc11
Compare
https://go.kubebuilder.io/dl seems to be redirected to https://github.com/kubernetes-sigs/kubebuilder/releases |
overriding things to get this merged asap to unblock the downstream sync. We can revert this later should the link start working again. |
/override ci/prow/e2e-aws-console-olm
|
@perdasilva: Overrode contexts on behalf of perdasilva: ci/prow/e2e-aws-console-olm, ci/prow/e2e-aws-olm, ci/prow/e2e-gcp, ci/prow/e2e-upgrade 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. |
/label lgtm |
@perdasilva: The label(s) 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. |
/lgtm |
@perdasilva: you cannot LGTM your own PR. 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. |
Damn you, robot!!! |
Signed-off-by: perdasilva <[email protected]>
3b0cc11
to
59947b9
Compare
Why would we need to install KB releases < v3.0.0 such as 2.3.1? If we need the scaffold used before < v3.0.0 then we can. use go/v2 plugin instead of go/v3. I do not see any reason for we use any version < v3.0.0 so if the changes work from v3.0.0 that shows fine for me. |
@camilamacedo86 At the moment this is just blocking a CI job. I could update to > 3.0.0 as a separate issue. Could we get this one through to unblock me, then I'll put up another one testing out > 3.0.0? |
@@ -8,13 +8,18 @@ KUBEBUILDER_BIN=${KUBEBUILDER_BIN:=/usr/local/kubebuilder} | |||
OS=$(go env GOOS) | |||
ARCH=$(go env GOARCH) | |||
KUBEBUILDER_RELEASE=2.3.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.
this URL change is only valid for 3.0.0+ so this line would need to change. https://github.com/kubernetes-sigs/kubebuilder/releases/download/v3.3.0/kubebuilder_linux_amd64 works but for 2.3.1 it's https://github.com/kubernetes-sigs/kubebuilder/releases/download/v2.3.1/kubebuilder_2.3.1_linux_amd64.tar.gz (an extra version in the name + the tar.gz
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.
Yeah, that's basically the change I've made. I've put a note to say that from 3.0.0+ the url wouldn't work. This is to unblock CI. Once this is through I can look at upping the version to 3.0.0 as a different issue. wdyt?
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 URL @perdasilva is using seems to work as it is, the new format for 3.0.0+ versions is commented out.
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: gallettilance, perdasilva 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 ci/prow/e2e-aws-console-olm |
@perdasilva: Overrode contexts on behalf of perdasilva: ci/prow/e2e-aws-console-olm, ci/prow/e2e-aws-olm, ci/prow/e2e-gcp, ci/prow/e2e-upgrade 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. |
@perdasilva: all tests passed! Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
Signed-off-by: Jordan <[email protected]> Signed-off-by: Jordan <[email protected]> Upstream-repository: api Upstream-commit: 7339a22050af53df7b6f97a652b8e2d73698765a
Signed-off-by: Jordan <[email protected]> Signed-off-by: Jordan <[email protected]> Upstream-repository: api Upstream-commit: 7339a22050af53df7b6f97a652b8e2d73698765a
Signed-off-by: Jordan <[email protected]> Signed-off-by: Jordan <[email protected]> Upstream-repository: api Upstream-commit: 7339a22050af53df7b6f97a652b8e2d73698765a
Signed-off-by: Jordan <[email protected]> Signed-off-by: Jordan <[email protected]> Upstream-repository: api Upstream-commit: 7339a22050af53df7b6f97a652b8e2d73698765a
Signed-off-by: Jordan <[email protected]> Signed-off-by: Jordan <[email protected]> Upstream-repository: api Upstream-commit: 7339a22050af53df7b6f97a652b8e2d73698765a
Signed-off-by: Jordan <[email protected]> Signed-off-by: Jordan <[email protected]> Upstream-repository: api Upstream-commit: 7339a22050af53df7b6f97a652b8e2d73698765a
Signed-off-by: Jordan <[email protected]> Signed-off-by: Jordan <[email protected]> Upstream-repository: api Upstream-commit: 7339a22050af53df7b6f97a652b8e2d73698765a
Signed-off-by: Jordan <[email protected]> Signed-off-by: Jordan <[email protected]> Upstream-repository: api Upstream-commit: 7339a22050af53df7b6f97a652b8e2d73698765a
Signed-off-by: Jordan <[email protected]> Signed-off-by: Jordan <[email protected]> Upstream-repository: api Upstream-commit: 7339a22050af53df7b6f97a652b8e2d73698765a
Signed-off-by: perdasilva [email protected]
The
install_kubebuilder.sh
script no longer seems to be working:It seems https://go.kubebuilder.io/releases/2.3.1/linux/amd64 no longer points to the 2.3.1 release, or is down.
This PR updates the script to download the release directly from github.
After fix: