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

Vssh 1.0.2 #24

Merged
merged 2 commits into from
Feb 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
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
Loading