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

cmctl 2.1.0 #174221

Merged
merged 2 commits into from
Jun 11, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading