zegl / kube-score

Kubernetes object analysis with recommendations for improved reliability and security. kube-score actively prevents downtime and bugs in your Kubernetes YAML and Charts. Static code analysis for Kubernetes.
https://kube-score.com
MIT License
2.74k stars 176 forks source link

[brew] `brew install kube-score/tap/kube-score` fails #401

Closed guidoiaquinti closed 2 years ago

guidoiaquinti commented 2 years ago
➜  ~ brew --version
Homebrew 3.2.16
Homebrew/homebrew-core (git revision 0e66c2076a9; last commit 2021-10-13)
Homebrew/homebrew-cask (git revision 467a76e4da; last commit 2021-10-14)

What did you do?

➜  ~ brew install kube-score/tap/kube-score
==> Tapping kube-score/tap
Cloning into '/opt/homebrew/Library/Taps/kube-score/homebrew-tap'...
remote: Enumerating objects: 100, done.
remote: Counting objects: 100% (52/52), done.
remote: Compressing objects: 100% (26/26), done.
remote: Total 100 (delta 11), reused 0 (delta 0), pack-reused 48
Receiving objects: 100% (100/100), 13.30 KiB | 3.33 MiB/s, done.
Resolving deltas: 100% (21/21), done.
Error: Invalid formula: /opt/homebrew/Library/Taps/kube-score/homebrew-tap/Formula/kube-score.rb
formulae require at least a URL
Error: Cannot tap kube-score/tap: invalid syntax in tap!

What did you expect to see?

kube-score installed on my system.

What did you see instead?

The error message above.

guidoiaquinti commented 2 years ago

I think this is because I'm running an Apple M1 and there are no releases for ARM (yet)

zegl commented 2 years ago

Nice find! I'll fix the release-script to also make darwin/arm64 builds, and make a new release.