Skip to content

Commit

Permalink
cmctl 2.1.0
Browse files Browse the repository at this point in the history
cmctl: update test

Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
BrewTestBot authored and chenrui333 committed Jun 11, 2024
1 parent 8162433 commit 4528947
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Formula/c/cmctl.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Cmctl < Formula
desc "Command-line tool to manage cert-manager"
homepage "https://cert-manager.io"
url "https://github.com/cert-manager/cmctl/archive/refs/tags/v2.0.0.tar.gz"
sha256 "fbb3f0a65e01a534e0946cbeb48b7ae8f758d48cca21957b15681b2cdfde0ad6"
url "https://github.com/cert-manager/cmctl/archive/refs/tags/v2.1.0.tar.gz"
sha256 "f2bf7e2a14c6df8e8e2f0db3cb4f823f6efb4c83830daddc30a04ba84bbec308"
license "Apache-2.0"
head "https://github.com/cert-manager/cmctl.git", branch: "main"

Expand Down Expand Up @@ -39,7 +39,7 @@ def install
assert_match "cmctl", shell_output("#{bin}/cmctl help")
# We can't make a Kubernetes cluster in test, so we check that when we use a remote command
# we find the error about connecting
assert_match "error: error finding the scope of the object", shell_output("#{bin}/cmctl check api 2>&1", 129)
assert_match "error: error finding the scope of the object", shell_output("#{bin}/cmctl check api 2>&1", 1)
# The convert command *can* be tested locally.
(testpath/"cert.yaml").write <<~EOF
apiVersion: cert-manager.io/v1beta1
Expand Down

0 comments on commit 4528947

Please sign in to comment.