Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove k10multicluster from downloads #1083

Merged
merged 2 commits into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ There are 56 apps that you can install on your cluster.
| [cloud-hypervisor](https://github.com/cloud-hypervisor/cloud-hypervisor) | Cloud Hypervisor is an open source Virtual Machine Monitor (VMM) that runs on top of the KVM hypervisor and the Microsoft Hypervisor (MSHV). |
| [clusterawsadm](https://github.com/kubernetes-sigs/cluster-api-provider-aws) | Kubernetes Cluster API Provider AWS Management Utility |
| [clusterctl](https://github.com/kubernetes-sigs/cluster-api) | The clusterctl CLI tool handles the lifecycle of a Cluster API management cluster |
| [cmctl](https://github.com/cert-manager/cert-manager) | cmctl is a CLI tool that helps you manage cert-manager and its resources inside your cluster. |
| [cmctl](https://github.com/cert-manager/cmctl) | cmctl is a CLI tool that helps you manage cert-manager and its resources inside your cluster. |
| [conftest](https://github.com/open-policy-agent/conftest) | Write tests against structured configuration data using the Open Policy Agent Rego query language |
| [consul](https://github.com/hashicorp/consul) | A solution to connect and configure applications across dynamic, distributed infrastructure |
| [copa](https://github.com/project-copacetic/copacetic) | CLI for patching container images |
Expand Down Expand Up @@ -823,7 +823,6 @@ There are 56 apps that you can install on your cluster.
| [just](https://github.com/casey/just) | Just a command runner |
| [k0s](https://github.com/k0sproject/k0s) | Zero Friction Kubernetes |
| [k0sctl](https://github.com/k0sproject/k0sctl) | A bootstrapping and management tool for k0s clusters |
| [k10multicluster](https://github.com/kastenhq/external-tools) | Multi-cluster support for K10. |
| [k10tools](https://github.com/kastenhq/external-tools) | Tools for evaluating and debugging K10. |
| [k3d](https://github.com/k3d-io/k3d) | Helper to run Rancher Lab's k3s in Docker. |
| [k3s](https://github.com/k3s-io/k3s) | Lightweight Kubernetes |
Expand Down Expand Up @@ -915,6 +914,6 @@ There are 56 apps that you can install on your cluster.
| [waypoint](https://github.com/hashicorp/waypoint) | Easy application deployment for Kubernetes and Amazon ECS |
| [yq](https://github.com/mikefarah/yq) | Portable command-line YAML processor. |
| [yt-dlp](https://github.com/yt-dlp/yt-dlp) | Fork of youtube-dl with additional features and fixes |
There are 154 tools, use `arkade get NAME` to download one.
There are 153 tools, use `arkade get NAME` to download one.

> Note to contributors, run `arkade get --format markdown` to generate this list
28 changes: 18 additions & 10 deletions pkg/get/get_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3326,7 +3326,8 @@ func Test_DownloadKubestr(t *testing.T) {
}
}

func Test_DownloadK10multicluster(t *testing.T) {
//(Temporarily disable k10multicluster as the binaries are not available at v7.0.0)
/*func Test_DownloadK10multicluster(t *testing.T) {
tools := MakeTools()
name := "k10multicluster"
v := "4.0.6"
Expand Down Expand Up @@ -3358,7 +3359,7 @@ func Test_DownloadK10multicluster(t *testing.T) {
}
})
}
}
}*/

func Test_DownloadK10tools(t *testing.T) {
tools := MakeTools()
Expand Down Expand Up @@ -6414,44 +6415,51 @@ func Test_DownloadCmctl(t *testing.T) {

tool := getTool(name, tools)

const toolVersion = "v1.14.5"
const toolVersion = "v2.0.0"

tests := []test{
{
os: "linux",
arch: arch64bit,
version: toolVersion,
url: `https://github.com/cert-manager/cert-manager/releases/download/v1.14.5/cert-manager-cmctl-linux-amd64.tar.gz`,
url: `https://github.com/cert-manager/cmctl/releases/download/v2.0.0/cmctl_linux_amd64`,
},
{
os: "darwin",
arch: arch64bit,
version: toolVersion,
url: `https://github.com/cert-manager/cert-manager/releases/download/v1.14.5/cert-manager-cmctl-darwin-amd64.tar.gz`,

url: `https://github.com/cert-manager/cmctl/releases/download/v2.0.0/cmctl_darwin_amd64`,
},
{
os: "linux",
arch: archARM64,
version: toolVersion,
url: `https://github.com/cert-manager/cert-manager/releases/download/v1.14.5/cert-manager-cmctl-linux-arm64.tar.gz`,
url: `https://github.com/cert-manager/cmctl/releases/download/v2.0.0/cmctl_linux_arm64`,
},
{
os: "darwin",
arch: archDarwinARM64,
version: toolVersion,
url: `https://github.com/cert-manager/cert-manager/releases/download/v1.14.5/cert-manager-cmctl-darwin-arm64.tar.gz`,
url: `https://github.com/cert-manager/cmctl/releases/download/v2.0.0/cmctl_darwin_arm64`,
},
{
os: "linux",
arch: archARM7,
version: toolVersion,
url: `https://github.com/cert-manager/cert-manager/releases/download/v1.14.5/cert-manager-cmctl-linux-arm.tar.gz`,
url: `https://github.com/cert-manager/cmctl/releases/download/v2.0.0/cmctl_linux_arm`,
},
{
os: "ming",
arch: arch64bit,
version: toolVersion,
url: `https://github.com/cert-manager/cert-manager/releases/download/v1.14.5/cert-manager-cmctl-windows-amd64.zip`,
url: `https://github.com/cert-manager/cmctl/releases/download/v2.0.0/cmctl_windows_amd64.exe`,
},
{
os: "ming",
arch: archARM64,
version: toolVersion,
url: `https://github.com/cert-manager/cmctl/releases/download/v2.0.0/cmctl_windows_arm64.exe`,
},
}

Expand All @@ -6461,7 +6469,7 @@ func Test_DownloadCmctl(t *testing.T) {
t.Fatal(err)
}
if got != tc.url {
t.Errorf("want: %s, got: %s", tc.url, got)
t.Errorf("\nwant: %s, \n got: %s", tc.url, got)
}
}
}
Expand Down
13 changes: 7 additions & 6 deletions pkg/get/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -2034,7 +2034,8 @@ https://github.com/{{.Owner}}/{{.Repo}}/releases/download/{{.Version}}/{{.Repo}}
BinaryTemplate: `{{.Name}}`,
})

tools = append(tools,
//(Temporarily disable k10multicluster as the binaries are not available at v7.0.0)
/* tools = append(tools,
Tool{
Owner: "kastenhq",
Repo: "external-tools",
Expand All @@ -2055,7 +2056,7 @@ https://github.com/{{.Owner}}/{{.Repo}}/releases/download/{{.Version}}/{{.Repo}}

{{.Name}}_{{.Version}}_{{$osStr}}_{{$archStr}}.tar.gz`,
})

*/
tools = append(tools,
Tool{
Owner: "kastenhq",
Expand Down Expand Up @@ -3592,23 +3593,23 @@ https://github.com/{{.Owner}}/{{.Repo}}/releases/download/{{.Version}}/{{.Repo}}
tools = append(tools,
Tool{
Owner: "cert-manager",
Repo: "cert-manager",
Repo: "cmctl",
Name: "cmctl",
Description: "cmctl is a CLI tool that helps you manage cert-manager and its resources inside your cluster.",
BinaryTemplate: `
{{$os := .OS}}
{{$arch := "arm"}}
{{$ext := "tar.gz"}}
{{$ext := ""}}
{{- if or (eq .Arch "aarch64") (eq .Arch "arm64") -}}
{{$arch = "arm64"}}
{{- else if eq .Arch "x86_64" -}}
{{$arch = "amd64"}}
{{- end -}}
{{ if HasPrefix .OS "ming" -}}
{{$os = "windows"}}
{{$ext = "zip"}}
{{$ext = ".exe"}}
{{- end -}}
cert-manager-cmctl-{{$os}}-{{$arch}}.{{$ext}}
cmctl_{{$os}}_{{$arch}}{{$ext}}
`,
})

Expand Down
Loading