-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from meltwater/helm
Add helm
- Loading branch information
Showing
3 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
class Helm2 < Formula | ||
version "2.17.0" | ||
desc "Helm is a tool for managing Charts. Charts are packages of pre-configured Kubernetes resources." | ||
homepage "https://github.com/meltwater/homebrew-fks" | ||
url "https://github.com/meltwater/homebrew-fks/releases/download/helm2-v#{version}/helm-v#{version}-darwin-amd64.tar.gz" | ||
sha256 "104dcda352985306d04d5d23aaf5252d00a85c083f3667fd013991d82f57ae83" | ||
|
||
def install | ||
bin.install "helm" => "helm2" | ||
end | ||
|
||
# Homebrew requires tests. | ||
test do | ||
assert_match "v#{version}", shell_output("#{bin}/helm2 version --client", 0) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
class Helm3 < Formula | ||
version "3.4.1" | ||
desc "Helm is a tool for managing Charts. Charts are packages of pre-configured Kubernetes resources." | ||
homepage "https://github.com/meltwater/homebrew-fks" | ||
url "https://github.com/meltwater/homebrew-fks/releases/download/helm3-v#{version}/helm-v#{version}-darwin-amd64.tar.gz" | ||
sha256 "71d213d63e1b727d6640c4420aee769316f0a93168b96073d166edcd3a425b3d" | ||
|
||
def install | ||
bin.install "helm" => "helm3" | ||
end | ||
|
||
# Homebrew requires tests. | ||
test do | ||
assert_match "v#{version}", shell_output("#{bin}/helm3 version --short", 0) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters