Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package arkade for openSUSE:Factory checked in at 2023-08-02 16:49:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/arkade (Old) and /work/SRC/openSUSE:Factory/.arkade.new.22712 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "arkade" Wed Aug 2 16:49:17 2023 rev:13 rq:1101734 version:0.9.26 Changes: -------- --- /work/SRC/openSUSE:Factory/arkade/arkade.changes 2023-07-27 16:52:39.290440181 +0200 +++ /work/SRC/openSUSE:Factory/.arkade.new.22712/arkade.changes 2023-08-02 16:50:59.565698268 +0200 @@ -1,0 +2,6 @@ +Tue Aug 01 13:03:34 UTC 2023 - ka...@b1-systems.de + +- Update to version 0.9.26: + * Add etcd CLI to arkade + +------------------------------------------------------------------- Old: ---- arkade-0.9.25.obscpio New: ---- arkade-0.9.26.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ arkade.spec ++++++ --- /var/tmp/diff_new_pack.x2FtUP/_old 2023-08-02 16:51:00.189702039 +0200 +++ /var/tmp/diff_new_pack.x2FtUP/_new 2023-08-02 16:51:00.193702063 +0200 @@ -19,7 +19,7 @@ %define __arch_install_post export NO_BRP_STRIP_DEBUG=true Name: arkade -Version: 0.9.25 +Version: 0.9.26 Release: 0 Summary: Open Source Kubernetes Marketplace License: Apache-2.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.x2FtUP/_old 2023-08-02 16:51:00.233702304 +0200 +++ /var/tmp/diff_new_pack.x2FtUP/_new 2023-08-02 16:51:00.237702329 +0200 @@ -3,7 +3,7 @@ <param name="url">https://github.com/alexellis/arkade</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">0.9.25</param> + <param name="revision">0.9.26</param> <param name="versionformat">@PARENT_TAG@</param> <param name="changesgenerate">enable</param> <param name="versionrewrite-pattern">v(.*)</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.x2FtUP/_old 2023-08-02 16:51:00.265702498 +0200 +++ /var/tmp/diff_new_pack.x2FtUP/_new 2023-08-02 16:51:00.269702522 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/alexellis/arkade</param> - <param name="changesrevision">12d550be7c95d0b9959e9396772af834763b6b4d</param></service></servicedata> + <param name="changesrevision">6f5d90ec728cbf9a34249cedb0009d30021266f4</param></service></servicedata> (No newline at EOF) ++++++ arkade-0.9.25.obscpio -> arkade-0.9.26.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arkade-0.9.25/README.md new/arkade-0.9.26/README.md --- old/arkade-0.9.25/README.md 2023-07-25 16:14:35.000000000 +0200 +++ new/arkade-0.9.26/README.md 2023-07-31 16:58:52.000000000 +0200 @@ -752,6 +752,7 @@ | [doctl](https://github.com/digitalocean/doctl) | Official command line interface for the DigitalOcean API. | | [eksctl](https://github.com/eksctl-io/eksctl) | Amazon EKS Kubernetes cluster management | | [eksctl-anywhere](https://github.com/aws/eks-anywhere) | Run Amazon EKS on your own infrastructure | +| [etcd](https://github.com/etcd-io/etcd) | Distributed reliable key-value store for the most critical data of a distributed system. | | [faas-cli](https://github.com/openfaas/faas-cli) | Official CLI for OpenFaaS. | | [firectl](https://github.com/firecracker-microvm/firectl) | Command-line tool that lets you run arbitrary Firecracker MicroVMs | | [flux](https://github.com/fluxcd/flux2) | Continuous Delivery solution for Kubernetes powered by GitOps Toolkit. | @@ -860,6 +861,6 @@ | [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 137 tools, use `arkade get NAME` to download one. +There are 138 tools, use `arkade get NAME` to download one. > Note to contributors, run `arkade get --format markdown` to generate this > list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arkade-0.9.25/pkg/get/get_test.go new/arkade-0.9.26/pkg/get/get_test.go --- old/arkade-0.9.25/pkg/get/get_test.go 2023-07-25 16:14:35.000000000 +0200 +++ new/arkade-0.9.26/pkg/get/get_test.go 2023-07-31 16:58:52.000000000 +0200 @@ -1160,6 +1160,58 @@ } } +func Test_DownloadEtcd(t *testing.T) { + tools := MakeTools() + name := "etcd" + + tool := getTool(name, tools) + + const toolVersion = "v3.5.9" + + tests := []test{ + { + os: "linux", + arch: arch64bit, + version: toolVersion, + url: `https://github.com/etcd-io/etcd/releases/download/v3.5.9/etcd-v3.5.9-linux-amd64.tar.gz`, + }, + { + os: "darwin", + arch: arch64bit, + version: toolVersion, + url: `https://github.com/etcd-io/etcd/releases/download/v3.5.9/etcd-v3.5.9-darwin-amd64.zip`, + }, + { + os: "darwin", + arch: archDarwinARM64, + version: toolVersion, + url: `https://github.com/etcd-io/etcd/releases/download/v3.5.9/etcd-v3.5.9-darwin-arm64.zip`, + }, + { + os: "linux", + arch: archARM64, + version: toolVersion, + url: `https://github.com/etcd-io/etcd/releases/download/v3.5.9/etcd-v3.5.9-linux-arm64.tar.gz`, + }, + { + os: "ming", + arch: arch64bit, + version: toolVersion, + url: `https://github.com/etcd-io/etcd/releases/download/v3.5.9/etcd-v3.5.9-windows-amd64.zip`, + }, + } + + for _, tc := range tests { + got, err := tool.GetURL(tc.os, tc.arch, tc.version, false) + if err != nil { + t.Fatal(err) + } + if got != tc.url { + t.Errorf("want: %s, got: %s", tc.url, got) + } + } +} + func Test_DownloadCivo(t *testing.T) { tools := MakeTools() name := "civo" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arkade-0.9.25/pkg/get/tools.go new/arkade-0.9.26/pkg/get/tools.go --- old/arkade-0.9.25/pkg/get/tools.go 2023-07-25 16:14:35.000000000 +0200 +++ new/arkade-0.9.26/pkg/get/tools.go 2023-07-31 16:58:52.000000000 +0200 @@ -224,6 +224,34 @@ tools = append(tools, Tool{ + Owner: "etcd-io", + Repo: "etcd", + Name: "etcd", + Description: "Distributed reliable key-value store for the most critical data of a distributed system.", + BinaryTemplate: ` + {{$ext := "zip"}} + {{- if eq .OS "linux" -}} + {{$ext = "tar.gz"}} + {{- end -}} + + {{$arch := .Arch}} + {{ if (eq .Arch "x86_64") -}} + {{$arch = "amd64"}} + {{- else if eq .Arch "aarch64" -}} + {{$arch = "arm64"}} + {{- end -}} + + {{$osString:= .OS}} + {{ if HasPrefix .OS "ming" -}} + {{$osString = "windows"}} + {{- end -}} + + {{.Name}}-{{.Version}}-{{$osString}}-{{$arch}}.{{$ext}} + `, + }) + + tools = append(tools, + Tool{ Owner: "cnrancher", Repo: "autok3s", Name: "autok3s", ++++++ arkade.obsinfo ++++++ --- /var/tmp/diff_new_pack.x2FtUP/_old 2023-08-02 16:51:00.485703827 +0200 +++ /var/tmp/diff_new_pack.x2FtUP/_new 2023-08-02 16:51:00.489703852 +0200 @@ -1,5 +1,5 @@ name: arkade -version: 0.9.25 -mtime: 1690294475 -commit: 12d550be7c95d0b9959e9396772af834763b6b4d +version: 0.9.26 +mtime: 1690815532 +commit: 6f5d90ec728cbf9a34249cedb0009d30021266f4 ++++++ vendor.tar.gz ++++++