From fd6892960197aa75930b3863d66679b0715ab3bf Mon Sep 17 00:00:00 2001 From: Marvin Beckers Date: Thu, 16 May 2024 20:00:19 +0200 Subject: [PATCH] Brew formula update for kubectl-ephemeral version v0.1.0 Signed-off-by: Marvin Beckers --- Formula/kubectl-ephemeral.rb | 54 ++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 Formula/kubectl-ephemeral.rb diff --git a/Formula/kubectl-ephemeral.rb b/Formula/kubectl-ephemeral.rb new file mode 100644 index 0000000..486e50c --- /dev/null +++ b/Formula/kubectl-ephemeral.rb @@ -0,0 +1,54 @@ +# typed: false +# frozen_string_literal: true + +# This file was generated by GoReleaser. DO NOT EDIT. +class KubectlEphemeral < Formula + desc "A kubectl plugin to create ephemeral containers from a YAML file" + homepage "https://github.com/embik/kubectl-ephemeral" + version "0.1.0" + license "Apache-2.0" + + depends_on "kubectl" + + on_macos do + on_intel do + url "https://github.com/embik/kubectl-ephemeral/releases/download/v0.1.0/kubectl-ephemeral_darwin_amd64.tar.gz" + sha256 "6c2f5abbc5c8850b1ce602966ad774d869f1a18798c53f891ab5b5af767ed834" + + def install + bin.install "kubectl-ephemeral" + end + end + on_arm do + url "https://github.com/embik/kubectl-ephemeral/releases/download/v0.1.0/kubectl-ephemeral_darwin_arm64.tar.gz" + sha256 "5d2663d0a452980cb146d2db5f2c120e37891ef3222dbf967974fbfbb8e13439" + + def install + bin.install "kubectl-ephemeral" + end + end + end + + on_linux do + on_intel do + if Hardware::CPU.is_64_bit? + url "https://github.com/embik/kubectl-ephemeral/releases/download/v0.1.0/kubectl-ephemeral_linux_amd64.tar.gz" + sha256 "818cb2ed12575a3f647d961615063c2cd134a9407ac998a2d1cb3b6d1f1eb4a5" + + def install + bin.install "kubectl-ephemeral" + end + end + end + on_arm do + if Hardware::CPU.is_64_bit? + url "https://github.com/embik/kubectl-ephemeral/releases/download/v0.1.0/kubectl-ephemeral_linux_arm64.tar.gz" + sha256 "ab7229884e47dccfc146b5c9708f2bc1e3c6048527c8d91b523d24dd06608118" + + def install + bin.install "kubectl-ephemeral" + end + end + end + end +end