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 DetailsIn 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) DetailsIn 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. DetailsIn 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 <perdasilva@redhat.com>
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.
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.
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.
The URL @perdasilva is using seems to work as it is, the new format for 3.0.0+ versions is commented out.
|
[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 DetailsNeeds 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 DetailsIn 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. DetailsInstructions 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 <jordan@nimblewidget.com> Signed-off-by: Jordan <jordan@nimblewidget.com> Upstream-repository: api Upstream-commit: 7339a22050af53df7b6f97a652b8e2d73698765a
Signed-off-by: Jordan <jordan@nimblewidget.com> Signed-off-by: Jordan <jordan@nimblewidget.com> Upstream-repository: api Upstream-commit: 7339a22050af53df7b6f97a652b8e2d73698765a
Signed-off-by: Jordan <jordan@nimblewidget.com> Signed-off-by: Jordan <jordan@nimblewidget.com> Upstream-repository: api Upstream-commit: 7339a22050af53df7b6f97a652b8e2d73698765a
Signed-off-by: Jordan <jordan@nimblewidget.com> Signed-off-by: Jordan <jordan@nimblewidget.com> Upstream-repository: api Upstream-commit: 7339a22050af53df7b6f97a652b8e2d73698765a
Signed-off-by: Jordan <jordan@nimblewidget.com> Signed-off-by: Jordan <jordan@nimblewidget.com> Upstream-repository: api Upstream-commit: 7339a22050af53df7b6f97a652b8e2d73698765a
Signed-off-by: Jordan <jordan@nimblewidget.com> Signed-off-by: Jordan <jordan@nimblewidget.com> Upstream-repository: api Upstream-commit: 7339a22050af53df7b6f97a652b8e2d73698765a
Signed-off-by: Jordan <jordan@nimblewidget.com> Signed-off-by: Jordan <jordan@nimblewidget.com> Upstream-repository: api Upstream-commit: 7339a22050af53df7b6f97a652b8e2d73698765a
Signed-off-by: Jordan <jordan@nimblewidget.com> Signed-off-by: Jordan <jordan@nimblewidget.com> Upstream-repository: api Upstream-commit: 7339a22050af53df7b6f97a652b8e2d73698765a
Signed-off-by: Jordan <jordan@nimblewidget.com> Signed-off-by: Jordan <jordan@nimblewidget.com> Upstream-repository: api Upstream-commit: 7339a22050af53df7b6f97a652b8e2d73698765a
Signed-off-by: perdasilva perdasilva@redhat.com
The
install_kubebuilder.shscript 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: