What happened?
We're running into an issue where periodically the install_kustomize.sh script doesn't work. Upon debugging, the release_url gets set to this https://api.github.com/repos/kubernetes-sigs/kustomize/releases/284452445 which is the url of the release file itself
Doesn't happen all the time, and in fact usually it does work. I'm working on getting the release json file when it doesn't.
The error from the install.sh is
#11 ERROR: process "/bin/sh -c curl -s \"https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh\" | bash && mv kustomize /usr/local/bin/kustomize && chmod +x /usr/local/bin/kustomize" did not complete successfully: exit code: 2
------
> [ 6/13] RUN curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash && mv kustomize /usr/local/bin/kustomize && chmod +x /usr/local/bin/kustomize:
1.050 tar (child): ./kustomize_v*_linux_amd64.tar.gz: Cannot open: No such file or directory
1.050 tar (child): Error is not recoverable: exiting now
1.050 tar: Child returned status 2
1.050 tar: Error is not recoverable: exiting now
What did you expect to happen?
install_kustomize.sh always works.
How can we reproduce it (as minimally and precisely as possible)?
Execute curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash.
Expected output
It downloads the kustomize executable
Actual output
The error stating the tar file cannot be found
Kustomize version
All
Operating system
Linux
What happened?
We're running into an issue where periodically the
install_kustomize.shscript doesn't work. Upon debugging, the release_url gets set to thishttps://api.github.com/repos/kubernetes-sigs/kustomize/releases/284452445which is the url of the release file itselfDoesn't happen all the time, and in fact usually it does work. I'm working on getting the release json file when it doesn't.
The error from the install.sh is
What did you expect to happen?
install_kustomize.shalways works.How can we reproduce it (as minimally and precisely as possible)?
Execute
curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash.Expected output
It downloads the kustomize executable
Actual output
The error stating the tar file cannot be found
Kustomize version
All
Operating system
Linux