Skip to content

Commit 204b400

Browse files
committed
nova 3.11.3 (new formula)
Signed-off-by: Rui Chen <rui@chenrui.dev>
1 parent e4047c6 commit 204b400

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.github/autobump.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2574,6 +2574,7 @@ notcurses
25742574
noti
25752575
notifiers
25762576
notify
2577+
nova
25772578
nox
25782579
nping
25792580
npm-check-updates

Formula/n/nova.rb

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
class Nova < Formula
2+
desc "Find outdated or deprecated Helm charts running in your cluster"
3+
homepage "https://github.com/FairwindsOps/nova"
4+
url "https://github.com/FairwindsOps/nova/archive/refs/tags/v3.11.3.tar.gz"
5+
sha256 "5f70b5a904c773190e104776a42afd9b798f682b7f1bafc12c27818120a94911"
6+
license "Apache-2.0"
7+
head "https://github.com/FairwindsOps/nova.git", branch: "master"
8+
9+
depends_on "go" => :build
10+
11+
def install
12+
system "go", "build", *std_go_args(ldflags: "-s -w -X main.version=#{version} -X main.commit=#{tap.user}")
13+
14+
generate_completions_from_executable(bin/"nova", "completion")
15+
end
16+
17+
test do
18+
assert_match version.to_s, shell_output("#{bin}/nova version")
19+
20+
system bin/"nova", "generate-config", "--config=nova.yaml"
21+
assert_match "chart-ignore-list: []", (testpath/"nova.yaml").read
22+
23+
output = shell_output("#{bin}/nova find --helm 2>&1", 255)
24+
assert_match "try setting KUBERNETES_MASTER environment variable", output
25+
end
26+
end

0 commit comments

Comments
 (0)