-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtestkube.rb
63 lines (55 loc) · 2.04 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 "1.17.69-beta017"
license "MIT"
depends_on "helm"
depends_on "kubectl"
on_macos do
on_intel do
url "https://github.com/kubeshop/testkube/releases/download/v1.17.69-beta017/testkube_1.17.69-beta017_Darwin_x86_64.tar.gz"
sha256 "56d0d7e69c94ec56d78644bd14ebfade81fcc82e2453714c8c6105307424b4d8"
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/v1.17.69-beta017/testkube_1.17.69-beta017_Darwin_arm64.tar.gz"
sha256 "fa838aceb8d776036338475681e896977b689a63b9bae29735445fbf34704525"
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/v1.17.69-beta017/testkube_1.17.69-beta017_Linux_x86_64.tar.gz"
sha256 "529a1adbb933e213ab527a6f066f3964167b221ec88b436d7bd680212cf5d17b"
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/v1.17.69-beta017/testkube_1.17.69-beta017_Linux_arm64.tar.gz"
sha256 "f02fb094c0fdd6730dbc1b4c9932e9349ba96ccc98db7f4b6a4a3387e6c89ff8"
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