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

v0.6.12 to current (v0.6.14) Action fails on Alpine, UBI, probably elsewhere #67

Open
Nuru opened this issue Oct 18, 2024 · 0 comments
Open

Comments

@Nuru
Copy link

Nuru commented Oct 18, 2024

A significant feature introduced in 0.6.9 and still referenced in the README was that the action no longer installed Python by default. This was necessary to be able to run the action on Alpine and other OSes, which have various problems with having Python installed by an action.

This was broken in #63 which was included in v0.6.12 of this action. So once again it does not work on other OSes. (I suspect the problem is glibc versions.)

I build packages on the OS they are targeted for so that I can test them by installing the package and running the tool(s) installed. I do not want to have to export that package somewhere and then download it to Ubuntu in order to upload it to Cloudsmith.

Please make an option to not use Python again, and fix the README.

Side note regarding curl failures

The reason I tried to upgrade from v0.6.10 was that a significant number of actions failed on the line

download_url=$(curl --silent "https://api.github.com/repos/cloudsmith-io/cloudsmith-cli/releases/latest" | jq -r '.assets[0].browser_download_url')

I suspect the failure was due to rate limiting, but it could be due to some other transient error. This could be mitigated by using --retry 4.

This could also be mitigated by using a hard-coded URL that points to your infrastructure and which you update to redirect to the latest version as part of the release process.

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

No branches or pull requests

1 participant