Skip to content
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

Cannot start gitpod because .gitpod.Dockerfile fails to download kubebuilder #9097

Closed
2 tasks done
Davidonium opened this issue Apr 13, 2022 · 1 comment · Fixed by #9197
Closed
2 tasks done

Cannot start gitpod because .gitpod.Dockerfile fails to download kubebuilder #9097

Davidonium opened this issue Apr 13, 2022 · 1 comment · Fixed by #9197
Labels
bug Something isn't working

Comments

@Davidonium
Copy link

Davidonium commented Apr 13, 2022

Checklist:

Describe the bug

According to this issue kubernetes-sigs/kubebuilder#2311 links using https://go.kubebuilder.io/dl/* should be avoided, they are redirects in the end to github.

This snippet in .gitpod.Dockerfile:8 would avoid the failure:

RUN curl -L https://github.com/kubernetes-sigs/kubebuilder/releases/download/v2.3.1/kubebuilder_2.3.1_$(go env GOOS)_$(go env GOARCH).tar.gz | \
    tar -xz -C /tmp/ && mv /tmp/kubebuilder_2.3.1_$(go env GOOS)_$(go env GOARCH) /usr/local/kubebuilder

To Reproduce

Start a new gitpod environment

Expected behavior
The gitpod environment should not fail

Screenshots
image

Version
Does not apply

Paste the output from `argocd version` here.

Logs
Does not apply

Paste any relevant application logs here.
@Davidonium Davidonium added the bug Something isn't working label Apr 13, 2022
@Davidonium
Copy link
Author

Happy to open a PR if my proposed approach applies

josephmcasey added a commit to josephmcasey/argo-cd that referenced this issue Apr 25, 2022
josephmcasey added a commit to josephmcasey/argo-cd that referenced this issue Apr 25, 2022
Signed-off-by: Joseph Casey <me@josephmcasey.com>
alexmt pushed a commit that referenced this issue May 24, 2022
* bug(gitpod): change Kubebuilder curl (#9097)

Signed-off-by: Joseph Casey <me@josephmcasey.com>

* bug(gitpod): Use go build cache permission

* Targets path that user has permission to use

Signed-off-by: Joseph Casey <me@josephmcasey.com>

Co-authored-by: Michael Crenshaw <michael@crenshaw.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant