-
Notifications
You must be signed in to change notification settings - Fork 0
/
testkube.rb
63 lines (55 loc) · 1.96 KB
/
testkube.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Testkube < Formula
desc "Testkube - your somewhat opinionated and friendly Kubernetes testing framework!"
homepage "https://testkube.io"
version "2.1.74"
license "MIT"
depends_on "helm"
depends_on "kubectl"
on_macos do
on_intel do
url "https://github.com/kubeshop/testkube/releases/download/v2.1.74/testkube_2.1.74_Darwin_x86_64.tar.gz"
sha256 "9ffd9039bac29fef3bc3e89163a9f8ee7d0efe582677cbc4b8d6825d9e330006"
def install
bin.install "kubectl-testkube"
ln_s bin/"kubectl-testkube", bin/"tk"
ln_s bin/"kubectl-testkube", bin/"testkube"
end
end
on_arm do
url "https://github.com/kubeshop/testkube/releases/download/v2.1.74/testkube_2.1.74_Darwin_arm64.tar.gz"
sha256 "fa7e5670d13b5005a34d614497de8313c178ba351f010b16322c690dfe67f2b7"
def install
bin.install "kubectl-testkube"
ln_s bin/"kubectl-testkube", bin/"tk"
ln_s bin/"kubectl-testkube", bin/"testkube"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/kubeshop/testkube/releases/download/v2.1.74/testkube_2.1.74_Linux_x86_64.tar.gz"
sha256 "78cc5b77e3c7ab8a415fb94ce0792e31440a5a08718ecf0a9740a1aaf1521746"
def install
bin.install "kubectl-testkube"
ln_s bin/"kubectl-testkube", bin/"tk"
ln_s bin/"kubectl-testkube", bin/"testkube"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/kubeshop/testkube/releases/download/v2.1.74/testkube_2.1.74_Linux_arm64.tar.gz"
sha256 "8c80950f86cef865f09c29d4b4041b2acca5295b78c4fc8a671a55a3996682cb"
def install
bin.install "kubectl-testkube"
ln_s bin/"kubectl-testkube", bin/"tk"
ln_s bin/"kubectl-testkube", bin/"testkube"
end
end
end
end
end