-
Notifications
You must be signed in to change notification settings - Fork 194
Description
Describe the issue
We are attempting to install cfn-guard via mise with ubi this ensures that all our systems (local and CICD) use the same version of guard and it's installed in a sandboxed manner.
ubi uses normal binary naming patterns to automatically select the right binary to install from GitHub releases. In our case this works correctly for macos but in the case of our linux systems ubi is confused because it expects the name to contain linux, while cfn-guard releases contain 'ubuntu': https://github.com/aws-cloudformation/cloudformation-guard/releases
It seems that this binary works on fedora (debian) systems as well, so it's unclear if it is intended to be named this way because the binary is distro-specific to ubuntu or works on all linux systems.
We use ubi to install cfn-guard across macos and linux systems, it works as expected for macos but for linux systems we current get the following error:
Any examples
Failed to install with ubi 'ubi:aws-cloudformation/cloudformation-guard@3.1.2': could not find a release asset for this OS (linux) from cfn-guard-v3-aarch64-macos-latest.tar.gz, cfn-guard-v3-aarch64-ubuntu-latest.tar.gz, cfn-guard-v3-aarch64-windows-latest.tar.gz, cfn-guard-v3-i686-windows-latest.tar.gz, cfn-guard-v3-macos-latest.tar.gz, cfn-guard-v3-ubuntu-latest.tar.gz, cfn-guard-v3-windows-latest.tar.gz, cfn-guard-v3-x86_64-macos-latest.tar.gz, cfn-guard-v3-x86_64-ubuntu-latest.tar.gz, cfn-guard-v3-x86_64-windows-latest.tar.gz
Operating System:
CICD Runners: ubuntu aarch64
Local systems: fedora x86_64
OS Version
CICD Runners: ubuntu 24.04
Local systems: fedora 42
Additional context
We created an issue for ubi and the suggestion was to check if it is intentional that this binary is distro-specific to ubuntu, and rename to linux if not: houseabsolute/ubi#143