-
Notifications
You must be signed in to change notification settings - Fork 1.6k
🐛 go.kubebuilder.io has broken for downloading kubebuilder releases #2311
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
Comments
Experiencing the same with |
Here's a short-term (or long-term?) fix from the linked PRs: Change the URL you use to |
…igs/kubebuilder#2311 Signed-off-by: Lennard Eijsackers <[email protected]>
* chore: reenable tests * fix: Wrap get in eventually * Fix: Found the culprits Eventually * chore: Add empty readme * chore: fix issues with golangcilint Signed-off-by: Lennard Eijsackers <[email protected]> * fix: Manually install kubebuilder from correct URL. see: kubernetes-sigs/kubebuilder#2311 Signed-off-by: Lennard Eijsackers <[email protected]>
Experiencing the same with https://go.kubebuilder.io/dl/3.1.0/linux/amd64 too. The proposed short term fix works for version 2.3.1 but not for 3.1.0. Please advise. |
@poadhika it looks like they just removed the version from the filename: https://github.com/kubernetes-sigs/kubebuilder/releases/tag/v3.1.0 |
Yes removing the version solved my issue. |
HI folks, The assets are available in the release page: https://github.com/kubernetes-sigs/kubebuilder/releases And you can curl this links. So, I do not understand why your trying to use: https://go.kubebuilder.io/dl/2.3.1/linux/amd64 Where did you check that links should be used? |
@camilamacedo86 The go.kubebuilder.io links are from the documentation: https://book.kubebuilder.io/quick-start.html#installation |
Could you please help us out by pushing a PR for us to update it asap? Have you any idea why that worked in the past? Have we any reason for we need to make that link in the doc still working? |
I have not updated the `latest` option because it still works and I'm not sure how to get the latest version in this option. Relates to kubernetes-sigs#2311
Hi @camilamacedo86 , I've opened. #2320, although I'm not sure it the change is good, any proposals would be welcome :) |
So https://go.kubebuilder.io/dl is a redirect to https://github.com/kubernetes-sigs/kubebuilder/releases Here's the path: |
@estroz Our pipeline is failing today
Edit: Apologies. Just checked the original comment more closely and realized this is the exact same issue. Suffice it to say "my pipeline was affected". 🙂 Here's the fix I used for 2.3.1: - curl -L https://go.kubebuilder.io/dl/${KUBEBUILDER_VERSION}/$(shell go env GOOS)/$(shell go env GOARCH) | tar --strip-components=1 -xz -C ./cache/kubebuilder_${KUBEBUILDER_VERSION}; \
+ curl -L https://github.com/kubernetes-sigs/kubebuilder/releases/download/v${KUBEBUILDER_VERSION}/kubebuilder_${KUBEBUILDER_VERSION}_$(shell go env GOOS)_$(shell go env GOARCH).tar.gz | tar --strip-components=1 -xz -C ./cache/kubebuilder_${KUBEBUILDER_VERSION}; \ |
Recommended here: https://github.com/kubernetes-sigs/kubebuilder/issues/2311\#issuecomment-907676066 Signed-off-by: John Starich <[email protected]>
What broke? What's expected?
Failed to download kubebuilder releases, including:
But
master
is fine:Reproducing this issue
curl -L https://go.kubebuilder.io/dl/3.1.0/linux/amd64
KubeBuilder (CLI) Version
nil
PROJECT version
No response
Plugin versions
No response
Other versions
No response
Extra Labels
No response
The text was updated successfully, but these errors were encountered: