Skip to content

Commit

Permalink
kubeone: add v1.8.0
Browse files Browse the repository at this point in the history
Signed-off-by: Marvin Beckers <mail@embik.me>
  • Loading branch information
embik committed May 17, 2024
1 parent 558c5cd commit 52e473c
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions Formula/kubeone.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
class Kubeone < Formula

Check failure on line 1 in Formula/kubeone.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

HEAD: The source URL https://github.com/kubermatic/kubeone is not reachable
desc "Automates Kubernetes cluster operations on any cloud or edge infrastructure"
homepage "https://github.com/kubermatic/kubeone"
url "https://github.com/kubermatic/kubeone/archive/refs/tags/v1.8.0.tar.gz"
sha256 "d4279f0f49fee6db6e9ce8d88cf19d5411b69ad85f4ff4ac514b31a676a1c311"
license "Apache-2.0"

head "https://github.com/kubermatic/kubeone", branch: "main"

depends_on "go" => :build
depends_on "terraform" => :optional

def install

Check failure on line 13 in Formula/kubeone.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

`brew install --verbose --build-bottle embik/tap/kubeone` failed on macOS Sonoma (14) on Apple Silicon!

==> Fetching embik/tap/kubeone ==> Downloading https://github.com/kubermatic/kubeone/archive/refs/tags/v1.8.0.tar.gz Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/4259f569cb45b2715656c8332ce59cf52ae5a87c6f2e6c4cd6104acee264aa49--kubeone-1.8.0.tar.gz ==> Verifying checksum for '4259f569cb45b2715656c8332ce59cf52ae5a87c6f2e6c4cd6104acee264aa49--kubeone-1.8.0.tar.gz' ==> Installing kubeone from embik/tap /usr/bin/env tar --extract --no-same-owner --file /Users/runner/Library/Caches/Homebrew/downloads/4259f569cb45b2715656c8332ce59cf52ae5a87c6f2e6c4cd6104acee264aa49--kubeone-1.8.0.tar.gz --directory /private/tmp/homebrew-unpack20240517-9309-2abnon /usr/bin/env cp -pR /private/tmp/homebrew-unpack20240517-9309-2abnon/kubeone-1.8.0/. /private/tmp/kubeone-20240517-9309-n9y4l6/kubeone-1.8.0 ==> go build -trimpath -o=/opt/homebrew/Cellar/kubeone/1.8.0/bin/kubeone -ldflags=-s -w -extldflags=-zrelro -extldflags=-znow -X k8c.io/kubeone/pkg/cmd.defaultKubeVersion=v1.29.5 -X k8c.io/kubeone/pkg/cmd.version=v1.8.0 -X k8c.io/kubeone/pkg/cmd.date=2024-05-14T15:31:58Z -o kubeone . go: downloading github.com/MakeNowJust/heredoc/v2 v2.0.1 go: downloading github.com/Masterminds/semver/v3 v3.2.1 go: downloading github.com/bombsimon/logrusr/v4 v4.0.0 go: downloading github.com/MakeNowJust/heredoc v1.0.0 go: downloading github.com/kubermatic/machine-controller v1.57.3 go: downloading github.com/pkg/errors v0.9.1 go: downloading github.com/sirupsen/logrus v1.9.3 go: downloading github.com/spf13/cobra v1.8.0 go: downloading github.com/spf13/pflag v1.0.5 go: downloading golang.org/x/term v0.15.0 go: downloading gopkg.in/yaml.v2 v2.4.0 go: downloading k8s.io/api v0.29.2 go: downloading k8s.io/apiextensions-apiserver v0.29.2 go: downloading k8s.io/apimachinery v0.29.2 go: downloading k8s.io/apiserver v0.29.2 go: downloading k8s.io/client-go v0.29.2 go: downloading k8s.io/kube-aggregator v0.29.2 go: downloading sigs.k8s.io/controller-runtime v0.16.5 go: downloading sigs.k8s.io/yaml v1.4.0 go: downloading golang.org/x/sys v0.15.0 go: downloading github.com/go-logr/logr v1.3.0 go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.3 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading github.com/BurntSushi/toml v1.3.2 go: downloading github.com/Masterminds/sprig/v3 v3.2.3 go: downloading github.com/iancoleman/orderedmap v0.3.0 go: downloading k8s.io/utils v0.0.0-20230726121419-3b25d923346b go: downloading github.com/AlecAivazis/survey/v2 v2.3.7 go: downloading github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be go: downloading github.com/aws/aws-sdk-go v1.46.7 go: downloading k8s.io/cluster-bootstrap v0.29.2 go: downloading github.com/dominodatalab/os-release v0.0.0-20190522011736-bcdb4a3e3c2f go: downloading go.etcd.io/etcd/client/v3 v3.5.10 go: downloading k8s.io/kubelet v0.29.2 go: downloading github.com/distribution/reference v0.5.0 go: downloading github.com/gogo/protobuf v1.3.2 go: downloading github.com/google/gofuzz v1.2.0 go: downloading golang.org/x/net v0.19.0 go: downloading k8s.io/klog/v2 v2.110.1 go: downloading k8s.io/klog v1.0.0 go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.4.1 go: downloading github.com/russross/blackfriday/v2 v2.1.0 go: downloading github.com/Masterminds/goutils v1.1.1 go: downloading github.com/google/uuid v1.3.1 go: downloading github.com/huandu/xstrings v1.4.0 go: downloading github.com/imdario/mergo v0.3.13 go: downloading github.com/mitchellh/copystructure v1.2.0 go: downloading github.com/shopspring/decimal v1.3.1 go: downloading github.com/spf13/cast v1.5.0 go: downloading golang.org/x/crypto v0.17.0 go: downloading dario.cat/mergo v1.0.0 go: downloading github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de go: downloading github.com/evanphx/json-patch/v5 v5.6.0 go: downloading k8s.io/component-base v0.29.2 go: downloading github.com/evanphx/json-patch v5.7.0+incompatible go: downloading k8s.io/kube-proxy v0.29.2 go: downloading github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82b
ENV["CGO_ENABLED"] = "true"
ENV["GOFLAGS"] = "-mod=readonly -trimpath"
ldflags = %W[
-s -w
-extldflags=-zrelro -extldflags=-znow
-X k8c.io/kubeone/pkg/cmd.defaultKubeVersion=v1.29.5
-X k8c.io/kubeone/pkg/cmd.version=v#{version}
-X k8c.io/kubeone/pkg/cmd.date=#{time.iso8601}
]

system "go", "build", *std_go_args(ldflags:), "-o", "kubeone", "."
bin.install "kubeone"

generate_completions_from_executable(bin/"kubeone", "completion")
end

test do
system "#{bin}/kubeone", "--help"
end
end

0 comments on commit 52e473c

Please sign in to comment.