Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mkectl formula to v4.0.0 #61

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Formula/mkectl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@

bottle do
root_url "https://github.com/Mirantis/homebrew-tap/releases/download/mkectl-#{VERSION}"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "f29bae9d60124e7a197c360f5af36e2186d1539d0c47bdb9f86f03cc4674ccda"
sha256 cellar: :any_skip_relocation, ventura: "67e8d2d14a5b1ad0e1053a0dc39a779d4e5c583792830818afb0d28e696b26c8"
sha256 cellar: :any_skip_relocation, x86_64_linux: "b967161377040c0906034ba09771b74e9283d6d41d56da46b89ad1d264fa6999"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "a51989e8f82a2657754dcbe059b00ceb5000e63b6959f6c633564be4ced46380"
sha256 cellar: :any_skip_relocation, ventura: "a4fe8bea13beadd09268e8395827743f0dba2a7226f9e313ad41d4d4367c80b3"

Check failure on line 24 in Formula/mkectl.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

FormulaAudit/BottleDigestIndentation: Align bottle digests

Check failure on line 24 in Formula/mkectl.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

FormulaAudit/BottleDigestIndentation: Align bottle digests

Check failure on line 24 in Formula/mkectl.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-13)

FormulaAudit/BottleDigestIndentation: Align bottle digests
sha256 cellar: :any_skip_relocation, x86_64_linux: "c542ba015455e2f31109ae515ee43b3bf7c802951e7680730c0f7197e3bcd1de"
end

depends_on "k0sproject/tap/k0sctl"
Expand Down
38 changes: 38 additions & 0 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
class MkectlATv400 < Formula
desc "Tool for creating and managing MKE 4.x kubernetes clusters"
homepage "https://mirantis.github.io/mke-docs/"
VERSION = "v4.0.0".freeze

version VERSION

if OS.mac? && Hardware::CPU.intel?
url "https://github.com/MirantisContainers/mke-release/releases/download/#{VERSION}/mkectl_darwin_x86_64.tar.gz"
sha256 "67e8d2d14a5b1ad0e1053a0dc39a779d4e5c583792830818afb0d28e696b26c8"
elsif OS.mac? && Hardware::CPU.arm?
url "https://github.com/MirantisContainers/mke-release/releases/download/#{VERSION}/mkectl_darwin_arm64.tar.gz"
sha256 "f29bae9d60124e7a197c360f5af36e2186d1539d0c47bdb9f86f03cc4674ccda"
elsif OS.linux? && Hardware::CPU.intel?
url "https://github.com/MirantisContainers/mke-release/releases/download/#{VERSION}/mkectl_linux_x86_64.tar.gz"
sha256 "b967161377040c0906034ba09771b74e9283d6d41d56da46b89ad1d264fa6999"
else
odie "Unsupported platform"
end

bottle do
root_url "https://github.com/Mirantis/homebrew-tap/releases/download/mkectl-#{VERSION}"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "a51989e8f82a2657754dcbe059b00ceb5000e63b6959f6c633564be4ced46380"
sha256 cellar: :any_skip_relocation, ventura: "a4fe8bea13beadd09268e8395827743f0dba2a7226f9e313ad41d4d4367c80b3"

Check failure on line 24 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

FormulaAudit/BottleDigestIndentation: Align bottle digests

Check failure on line 24 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

FormulaAudit/BottleDigestIndentation: Align bottle digests

Check failure on line 24 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-13)

FormulaAudit/BottleDigestIndentation: Align bottle digests
sha256 cellar: :any_skip_relocation, x86_64_linux: "c542ba015455e2f31109ae515ee43b3bf7c802951e7680730c0f7197e3bcd1de"
end

depends_on "k0sproject/tap/k0sctl"
depends_on "[email protected]"

def install
bin.install "mkectl"
end

test do
assert_match "Version: #{VERSION}", shell_output("#{bin}/mkectl version")
end
end
Loading