skaffold@1.39 1.39.4 (new formula)

Closes #118055.

Signed-off-by: Sean Molenaar <1484494+SMillerDev@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
András Maróy 2022-12-13 09:29:02 -05:00 committed by BrewTestBot
parent a73c5c2d16
commit b5c1b1a37a
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
2 changed files with 28 additions and 0 deletions

1
Aliases/skaffold@2.0 Symbolic link
View File

@ -0,0 +1 @@
../Formula/skaffold.rb

27
Formula/skaffold@1.39.rb Normal file
View File

@ -0,0 +1,27 @@
class SkaffoldAT139 < Formula
desc "Easy and Repeatable Kubernetes Development"
homepage "https://skaffold.dev/"
url "https://github.com/GoogleContainerTools/skaffold.git",
tag: "v1.39.4",
revision: "a3808f67c77a9c846ffb961ee6267f116cd30478"
license "Apache-2.0"
keg_only :versioned_formula
# https://cloud.google.com/deploy/docs/using-skaffold/select-skaffold#skaffold_version_deprecation_and_maintenance_policy
disable! date: "2023-10-18", because: :deprecated_upstream
depends_on "go" => :build
def install
system "make"
bin.install "out/skaffold"
generate_completions_from_executable(bin/"skaffold", "completion", shells: [:bash, :zsh])
end
test do
(testpath/"Dockerfile").write "FROM scratch"
output = shell_output("#{bin}/skaffold init --analyze").chomp
assert_equal '{"builders":[{"name":"Docker","payload":{"path":"Dockerfile"}}]}', output
end
end