11class Paranoia < Formula
22 desc "Inspect certificate authorites in contianer images"
33 homepage "https://github.com/jetstack/paranoia"
4- url "https://github.com/jetstack/paranoia/archive/refs/tags/v0.2.1 .tar.gz"
5- sha256 "19783029ddccfa5666e202156a7f2aa5014c952e42ecf5707838919fbbdb1c82 "
4+ url "https://github.com/jetstack/paranoia/archive/refs/tags/v0.3.0 .tar.gz"
5+ sha256 "2dbfd2e91b750897a96389db30f7e19e5474edf2d540b6d2655f90c3d65cf826 "
66 license "Apache-2.0"
77 head "https://github.com/jetstack/paranoia.git" , branch : "main"
88
99 bottle do
10- root_url "https://github.com/jetstack/homebrew-jetstack/releases/download/paranoia-0.2.1 "
10+ root_url "https://github.com/jetstack/homebrew-jetstack/releases/download/paranoia-0.3.0 "
1111 sha256 cellar : :any_skip_relocation , monterey : "72247ad301045a7ae873c9ac1b06e967ae9ef7bae03d52345997ca228821ad7c"
1212 sha256 cellar : :any_skip_relocation , x86_64_linux : "eae0d69009f562a3f42ed2b777442df34a1de642f21325514114a173e678d6ee"
1313 end
@@ -20,13 +20,13 @@ def install
2020 system "go" , "run" , "./hack/generate-manual"
2121 man1 . install Pathname . glob ( "man/*.1" )
2222 # Use the binary to generate shell completions
23- generate_completions_from_executable ( bin / " paranoia", "completion" )
23+ generate_completions_from_executable ( " #{ bin } / paranoia", "completion" )
2424 end
2525
2626 test do
2727 # This string is the SHA256 of the "ISRG X1 Root" certificate. This test verifies that
2828 # paranoia can find that certificate in a known image (cert-manager v1.9.1).
2929 assert_match "96bcec06264976f37460779acf28c5a7cfe8a3c0aae11a8ffcee05c0bddf08c6" ,
30- shell_output ( "paranoia export --output wide quay.io/jetstack/cert-manager-controller:v1.9.1" )
30+ shell_output ( "#{ bin } / paranoia export --output wide quay.io/jetstack/cert-manager-controller:v1.9.1" )
3131 end
3232end
0 commit comments