We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3baa60 commit 82dc43cCopy full SHA for 82dc43c
repo/minikube.ubpkg.sky
@@ -0,0 +1,17 @@
1
+gh = github_repo("kubernetes/minikube")
2
+
3
+release = gh.latest_release()
4
5
+os_str = {
6
+ "linux": "linux",
7
+ "macos": "darwin",
8
+ "windows": "windows",
9
+}[os]
10
11
+arch_str = {
12
+ "x86_64": "amd64",
13
+ "aarch64": "arm64",
14
+}[arch]
15
16
+asset = release.get_asset_url("minikube-{os_str}-{arch_str}".format(os_str=os_str, arch_str=arch_str))
17
+install_binary(download_asset(asset, 256*1024*1024), "minikube")
0 commit comments