Skip to content

Commit

Permalink
alloydb-auth-proxy 1.10.2 (new formula)
Browse files Browse the repository at this point in the history
  • Loading branch information
enocom committed Aug 3, 2024
1 parent 241026a commit 18d9ee4
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Formula/a/alloydb-auth-proxy.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
class AlloydbAuthProxy < Formula
desc "Utility for connecting securely to your AlloyDB instances"
homepage "https://github.com/GoogleCloudPlatform/alloydb-auth-proxy"
url "https://github.com/GoogleCloudPlatform/alloydb-auth-proxy/archive/refs/tags/v1.10.2.tar.gz"
sha256 "22729e327b06a9724630c7e1e021cee091c0cd22af6c91ad423234df77804a17"
license "Apache-2.0"
head "https://github.com/GoogleCloudPlatform/alloydb-auth-proxy.git", branch: "main"

depends_on "go" => :build

def install
system "go", "build", *std_go_args(ldflags: "-s -w")
end

test do
assert_match "alloydb-auth-proxy version #{version}", shell_output("#{bin}/alloydb-auth-proxy --version")
assert_match "could not find default credentials", shell_output("#{bin}/alloydb-auth-proxy test 2>&1", 1)
end
end

0 comments on commit 18d9ee4

Please sign in to comment.