Skip to content

Commit

Permalink
Merge pull request #24 from Venafi/vssh-1.0.2
Browse files Browse the repository at this point in the history
Vssh 1.0.2
  • Loading branch information
zosocanuck authored Feb 24, 2024
2 parents fff28d4 + b008d33 commit 199df53
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
38 changes: 38 additions & 0 deletions Formula/vssh.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
class Vssh < Formula
desc "Venafi Machine Identity Services CLI for SSH access"
homepage "https://github.com/Venafi/vssh-cli"
url "https://github.com/Venafi/vssh-cli/archive/refs/tags/v1.0.2023091815.tar.gz"
license "Apache-2.0"
head "https://github.com/venafi/vssh-cli.git", tag: "v1.0.2023091815"

on_macos do
if Hardware::CPU.intel?
url "https://github.com/Venafi/vssh-cli/releases/download/v1.0.2023091815/vssh_darwin_amd64.zip"
sha256 "b8f315a71f8fe493bb434a18129954dd8b3af903422c3687272f6a17040ee897"
end
if Hardware::CPU.arm?
url "https://github.com/Venafi/vssh-cli/releases/download/v1.0.2023091815/vssh_darwin_arm64.zip"
sha256 "061bd8ddb198dc0a0668dfc74a09ea6193c5b5541b22f4c1000fa4a994190bc6"
end
end

on_linux do
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
url "https://github.com/Venafi/vssh-cli/releases/download/v1.0.2023091815/vssh_linux_amd64.zip"
sha256 "2a5f38c10e2debcde9d27f92a336734f2f5c741c66aa4f39b993066d6ec46d4c"
end
if Hardware::CPU.intel? && Hardware::CPU.is_32_bit?
url "https://github.com/Venafi/vssh-cli/releases/download/v1.0.2023091815/vssh_linux_386.zip"
sha256 "28c2207621c4b2073d17bcb70f243a3e5c41d70c1aadc3dad20e5aa707c89715"
end
end

def install
bin.install "vssh"
end

test do
# Validate install
system "#{bin}/vssh", "version"
end
end
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Or `brew tap venafi/tap` and then `brew install <formula>`.
| [sigscan](https://github.com/venafi/sigscan) | [formula](Formula/sigscan.rb) | Inspect container images and other artifacts for signatures |
| [vsign](https://github.com/venafi/vsign) | [formula](Formula/vsign.rb) | Venafi CodeSign Protect Golang CLI and SDK |
| [venctl](https://docs.venafi.cloud/vaas/venctl/c-venctl-overview/) | [formula](Formula/venctl.rb) | Venafi cluster management |
| [vssh](https://github.com/Venafi/vssh-cli) | [formula](Formula/vssh.rb) | Venafi Machine Identity Services CLI for SSH access |

## Documentation

Expand Down

0 comments on commit 199df53

Please sign in to comment.