We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85e6ba0 commit 3f731f4Copy full SHA for 3f731f4
repo/kind.ubpkg.sky
@@ -0,0 +1,17 @@
1
+gh = github_repo("kubernetes-sigs/kind")
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("kind-{os_str}-{arch_str}".format(os_str=os_str, arch_str=arch_str))
17
+install_binary(download_asset(asset, 32*1024*1024), "kind")
0 commit comments