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

fix: install and execute Cosign with correct runtime #1477

Merged
merged 4 commits into from Dec 27, 2022

Conversation

suzuki-shunsuke
Copy link
Member

@suzuki-shunsuke suzuki-shunsuke commented Dec 27, 2022

AQUA_GOOS and AQUA_GOARCH are ignored

ERRO[0001] install the package                           aqua_version=1.26.1 asset_name=tflint_linux_arm64.zip env=linux/arm64 error="verify a checksum file with Cosign: verify a signature file with Cosign: verify with cosign: fork/exec /home/runner/.local/share/aquaproj-aqua/pkgs/github_release/github.com/sigstore/cosign/v1.13.1/cosign-linux-arm64/cosign-linux-arm64: exec format error" package_name=terraform-linters/tflint package_version=v0.44.0 program=aqua registry=standard
FATA[0001] aqua failed                                   aqua_version=1.26.1 env=linux/arm64 error="it failed to install some packages" program=aqua
Error: Process completed with exit code 1.

AQUA_GOOS and AQUA_GOARCH are ignored
@suzuki-shunsuke suzuki-shunsuke added the bug Something isn't working label Dec 27, 2022
@suzuki-shunsuke suzuki-shunsuke added this to the v1.26.2 milestone Dec 27, 2022
@suzuki-shunsuke
Copy link
Member Author

https://github.com/aquaproj/aqua/actions/runs/3784267152/jobs/6433438368

Error: verifying blob [/tmp/624016103]: getting Fulcio roots: error getting targets: error getting target fulcio_intermediate_v1.crt.pem by usage: open /home/runner/.sigstore/root/targets/fulcio_intermediate_v1.crt.pem: no such file or directory
main.go:62: error during command execution: verifying blob [/tmp/624016103]: getting Fulcio roots: error getting targets: error getting target fulcio_intermediate_v1.crt.pem by usage: open /home/runner/.sigstore/root/targets/fulcio_intermediate_v1.crt.pem: no such file or directory
ERRO[0000] install the package                           aqua_version= asset_name=tflint_linux_amd64.zip env=linux/amd64 error="verify a checksum file with Cosign: verify a signature file with Cosign: verify with cosign: exit status 1" package_name=terraform-linters/tflint package_version=v0.43.0 program=aqua registry=local

@suzuki-shunsuke
Copy link
Member Author

#1477 (comment)

Resolved by rerunning.

@suzuki-shunsuke suzuki-shunsuke merged commit d37dec7 into main Dec 27, 2022
@suzuki-shunsuke suzuki-shunsuke deleted the fix/runtime-for-cosign branch December 27, 2022 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant