File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 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.0 .tar.gz"
5- sha256 "c627437fc2ca74fb2e162501b8d44fff7de60f16788de7d19355cd621b8e6203 "
4+ url "https://github.com/jetstack/paranoia/archive/refs/tags/v0.2.1 .tar.gz"
5+ sha256 "19783029ddccfa5666e202156a7f2aa5014c952e42ecf5707838919fbbdb1c82 "
66 license "Apache-2.0"
7- head "https://github.com/jetstack/paranoia" , branch : "main"
7+ head "https://github.com/jetstack/paranoia.git " , branch : "main"
88
99 depends_on "go" => :build
1010
1111 def install
1212 system "go" , "build" , *std_go_args ( ldflags : "-s -w" )
13+ # Generate and then install man pages
14+ system "go" , "run" , "./hack/generate-manual"
15+ man1 . install Pathname . glob ( "man/*.1" )
16+ # Use the binary to generate shell completions
17+ generate_completions_from_executable ( bin /"paranoia" , "completion" )
1318 end
1419
1520 test do
16- # This string is the SHA256 of the "ISRG X1 Root" certificate
21+ # This string is the SHA256 of the "ISRG X1 Root" certificate. This test verifies that
22+ # paranoia can find that certificate in a known image (cert-manager v1.9.1).
1723 assert_match "96bcec06264976f37460779acf28c5a7cfe8a3c0aae11a8ffcee05c0bddf08c6" ,
1824 shell_output ( "paranoia export --output wide quay.io/jetstack/cert-manager-controller:v1.9.1" )
1925 end
You can’t perform that action at this time.
0 commit comments