From 0966870599f719c9fbc9610e30f08419690ea5bd Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 23 Jan 2024 12:52:59 +0000 Subject: [PATCH 1/2] kube-linter 0.6.6 kube-linter: add go1.21 build patch Signed-off-by: Rui Chen --- Formula/k/kube-linter.rb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Formula/k/kube-linter.rb b/Formula/k/kube-linter.rb index 55a79d648433b..263d124f6b6df 100644 --- a/Formula/k/kube-linter.rb +++ b/Formula/k/kube-linter.rb @@ -1,8 +1,8 @@ class KubeLinter < Formula desc "Static analysis tool for Kubernetes YAML files and Helm charts" homepage "https://github.com/stackrox/kube-linter" - url "https://github.com/stackrox/kube-linter/archive/refs/tags/v0.6.5.tar.gz" - sha256 "494aa84a57cfab3decdb093a78a78daa62497d49047f8f97be584313aea10c44" + url "https://github.com/stackrox/kube-linter/archive/refs/tags/v0.6.6.tar.gz" + sha256 "02f49d8f615e8549a8bc690d9aac93fb4fde3deb4d0ad803c654ff19d70736c8" license "Apache-2.0" head "https://github.com/stackrox/kube-linter.git", branch: "master" @@ -18,6 +18,12 @@ class KubeLinter < Formula depends_on "go" => :build + # support go1.21 build, upstream pr ref, https://github.com/stackrox/kube-linter/pull/696 + patch do + url "https://github.com/stackrox/kube-linter/commit/1085300cc73a29961547c4507bd4acdb4f385c64.patch?full_index=1" + sha256 "50ebde54ac0c69fb19ccd2d545c1ec079256bd5c15cdd4d9199bb2007f64a9c0" + end + def install ENV["CGO_ENABLED"] = "0" ldflags = "-s -w -X golang.stackrox.io/kube-linter/internal/version.version=#{version}" From db2b661b96c92f9ce9fa2a142b2cb157450c774c Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 23 Jan 2024 15:55:42 +0000 Subject: [PATCH 2/2] kube-linter: update 0.6.6 bottle. --- Formula/k/kube-linter.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Formula/k/kube-linter.rb b/Formula/k/kube-linter.rb index 263d124f6b6df..722a17c649815 100644 --- a/Formula/k/kube-linter.rb +++ b/Formula/k/kube-linter.rb @@ -7,13 +7,13 @@ class KubeLinter < Formula head "https://github.com/stackrox/kube-linter.git", branch: "master" bottle do - sha256 cellar: :any_skip_relocation, arm64_sonoma: "f7b414698b69f2a049c7bf436332f0f4382a9f79c02547d485c298cc1630d848" - sha256 cellar: :any_skip_relocation, arm64_ventura: "f7b414698b69f2a049c7bf436332f0f4382a9f79c02547d485c298cc1630d848" - sha256 cellar: :any_skip_relocation, arm64_monterey: "f7b414698b69f2a049c7bf436332f0f4382a9f79c02547d485c298cc1630d848" - sha256 cellar: :any_skip_relocation, sonoma: "a836bde28391dcd4043e9a948219f29513cd39778e267983a803dfc9d2292b3f" - sha256 cellar: :any_skip_relocation, ventura: "a836bde28391dcd4043e9a948219f29513cd39778e267983a803dfc9d2292b3f" - sha256 cellar: :any_skip_relocation, monterey: "a836bde28391dcd4043e9a948219f29513cd39778e267983a803dfc9d2292b3f" - sha256 cellar: :any_skip_relocation, x86_64_linux: "14064f9edd1a79594d0bbb27e3ad8859cc669b12ca479bb59a600876e83785ee" + sha256 cellar: :any_skip_relocation, arm64_sonoma: "186f574bfa0a681e027a50b34d44d9b222a60fbcb2382d719f2524b835d44946" + sha256 cellar: :any_skip_relocation, arm64_ventura: "186f574bfa0a681e027a50b34d44d9b222a60fbcb2382d719f2524b835d44946" + sha256 cellar: :any_skip_relocation, arm64_monterey: "186f574bfa0a681e027a50b34d44d9b222a60fbcb2382d719f2524b835d44946" + sha256 cellar: :any_skip_relocation, sonoma: "e14b118d4895e248d6914ec62f7e507be427e9f7e90402516e2b5fca820c8c14" + sha256 cellar: :any_skip_relocation, ventura: "e14b118d4895e248d6914ec62f7e507be427e9f7e90402516e2b5fca820c8c14" + sha256 cellar: :any_skip_relocation, monterey: "e14b118d4895e248d6914ec62f7e507be427e9f7e90402516e2b5fca820c8c14" + sha256 cellar: :any_skip_relocation, x86_64_linux: "ba4cd2982307595278def4f5eb18c95c6d987c1e4f662c02e0e9e6f8f74bd8d4" end depends_on "go" => :build