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

bash -c "$(curl -sL https://get-gribic.kmrd.dev)" is broken #17

Open
sar772004 opened this issue Mar 1, 2023 · 4 comments
Open

bash -c "$(curl -sL https://get-gribic.kmrd.dev)" is broken #17

sar772004 opened this issue Mar 1, 2023 · 4 comments

Comments

@sar772004
Copy link

Install is broken, download url seems to be deduced wrong

Step 51/76 : RUN bash -c "$(curl -sL https://get-gribic.kmrd.dev)"
---> Running in 8b57f8dd0b90
Downloading https://github.com/karimra/gribic/releases/download/null/gribic_ull_linux_x86_64.tar.gz
tar: This does not look like a tar archive

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Failed to install gribic
For support, go to https://github.com/karimra/gribic/issues

@sar772004
Copy link
Author

It was only for some time looks like, possibly since the version updated 1 hr ago
We can close this, if nothing can be done about it.

@karimra
Copy link
Owner

karimra commented Mar 1, 2023

Thanks for posting this, I will add a check in the script to validate that the version is not null

@sar772004
Copy link
Author

Is this taken care of ? still failing

Step 52/77 : RUN bash -c "$(curl -sL https://get-gribic.kmrd.dev/)"
---> Running in 64bd5eab3a69
Downloading https://github.com/karimra/gribic/releases/download/null/gribic_ull_linux_x86_64.tar.gz
tar: This does not look like a tar archive
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Failed to install gribic
For support, go to https://github.com/karimra/gribic/issues
The command '/bin/sh -c bash -c "$(curl -sL https://get-gribic.kmrd.dev/)"' returned a non-zero code: 2

@sar772004
Copy link
Author

I think i found the root cause, our org was hitting the download rate-limit from github for the LATEST_URL (which is used to fetch the latest tag) in some instances.

Workaround was to download the file directly from github download directly(staticly) without reading the tag from api

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants