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

Rename SBOMs in Release to be backwards compatible with old installation instructions. #125

Open
bomoko opened this issue Jan 29, 2025 · 0 comments
Assignees

Comments

@bomoko
Copy link
Collaborator

bomoko commented Jan 29, 2025

Previous installation suggestions have us doing the following

RUN DOWNLOAD_PATH=$(curl -sL "https://api.github.com/repos/uselagoon/lagoon-sync/releases/latest" | grep "browser_download_url" | cut -d \" -f 4 | grep linux_386) && wget -O /tmp/lagoon-sync $DOWNLOAD_PATH && chmod +x /tmp/lagoon-sync

However, with the introduction of SBOMs into the build, this matches both the binary and the SBOM.

This necessitated us reconfiguring the install instructions to explicity ignore sboms - but some users are actually using the old installation instructions as part of their build process. The SBOM introduction thus breaks their build, as the grep command above matches both the binary and SBOM and then the command.

Before releasing anything > v0.8.2, we need a solution that is backwards compatible.

@bomoko bomoko changed the title Rename SBOMs Rename SBOMs in Release to be backwards compatible with old installation instructions. Jan 29, 2025
@bomoko bomoko self-assigned this Jan 29, 2025
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

1 participant