SHA256
1
0
forked from pool/rancher-cli
Johannes Kastl 2024-07-24 18:29:05 +00:00 committed by Git OBS Bridge
commit 94b81510c4
10 changed files with 275 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

21
_service Normal file
View File

@ -0,0 +1,21 @@
<services>
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/rancher/cli</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="revision">v2.9.0</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">enable</param>
<param name="versionrewrite-pattern">v(.*)</param>
</service>
<service name="set_version" mode="manual">
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
<service name="go_modules" mode="manual">
<param name="archive">cli-2.9.0.obscpio</param>
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/rancher/cli</param>
<param name="changesrevision">fbbf20571a909e9fe3c6ced17b39fbbc5dce2ee0</param></service></servicedata>

3
cli-2.8.4.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:944742d7a2536d23221f71e565fb05d3ca7be335fd28c2b450fea87f138fbc33
size 393739

3
cli-2.9.0.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e0bc65e15e88f017d93afacc301e3e6533de2fba16f8f36b505cb03137423cfe
size 316427

4
cli.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: cli
version: 2.9.0
mtime: 1721252468
commit: fbbf20571a909e9fe3c6ced17b39fbbc5dce2ee0

160
rancher-cli.changes Normal file
View File

@ -0,0 +1,160 @@
-------------------------------------------------------------------
Wed Jul 24 18:01:54 UTC 2024 - opensuse_buildservice@ojkastl.de
- Update to version 2.9.0:
* [v2.9] Bump dependencies (#377)
* [v2.9] Upload CLI assets to GCS (#379)
* [v2.9][forwardport] Small refactor (error messages) (#375)
* use Rancher org FOSSA secret (#373)
* add codeowners file
* avoid recursive find and inclusion of sha256sum.txt file in
shasum (#368)
* Fix GitHub Action permission to publish assets (#367)
* [v2.9] Migrate from Drone to Github Actions, remove Dapper and
add Darwin/arm64 support (#362)
* GHA migration: secrets check (#365)
* Azuread support (#346)
* [v2.9] Updated `k8s.io/client-go` and `rancher/norman`
dependencies (#358)
* Added linter and removed deprecated and unused packages (#357)
* bump to go1.22 (#355)
* added test to serverLs, edded config to tabwriter
* added serverDelete tests, fix for delete current
* changed visibility of server commands funcs
* moved cfg to server command
* added parallel test
* updated tests
* validate as beforeFunc
* added tests
* fix server current panic, server commands refactor
* fix panic
* fix panics
* make runnable on windows
* Update saml auth login endpoint to dashboard endpoint
* Add missing packages after moving Dapper image to BCI (#339)
* Bump Go and Dockerfile versions
-------------------------------------------------------------------
Wed Jul 24 17:48:32 UTC 2024 - opensuse_buildservice@ojkastl.de
- Update to version 2.8.6 (no release 2.8.5):
* [v2.8] Bump dependencies (#376)
* fix for assets dfestination (#381)
* fix for env var (#380)
* upload assets to gcs (#378)
* [v2.8] Small refactor (error messages) (#374)
* [v2.8] [backport] AzureAD support (#363)
* use Rancher org FOSSA secret (#372)
* Add CODEOWNERS file (#370)
* [v2.8][backport] Migrate from Drone to Github Actions, remove
Dapper and add Darwin/arm64 support (#366)
* bump of k8s.io/client-go and rancher norman (#361)
* [v2.8] [backport] Added linter and removed deprecated and
unused packages (#357) (#359)
* bump to go1.21 (#360)
-------------------------------------------------------------------
Sat May 18 07:28:38 UTC 2024 - opensuse_buildservice@ojkastl.de
- Update to version 2.8.4:
* make runnable on windows
-------------------------------------------------------------------
Mon Mar 18 15:12:46 UTC 2024 - opensuse_buildservice@ojkastl.de
- Update to version 2.8.3 (2.8.1 and 2.8.2 do not exist):
* fix panics (#350)
-------------------------------------------------------------------
Tue Oct 24 09:37:47 UTC 2023 - kastl@b1-systems.de
- Update to version 2.8.0:
* Update saml auth login endpoint to dashboard endpoint
* Create configuration with 0600 permissions by default
* Move config loading to config/config.go
* Add missing packages after moving Dapper image to BCI (#340)
* Bump Go and Dockerfile versions (#338)
-------------------------------------------------------------------
Tue Sep 19 04:51:49 UTC 2023 - kastl@b1-systems.de
- Update to version 2.7.7:
* Add missing packages after moving Dapper image to BCI (#339)
* Bump Go and Dockerfile versions
* Fix cluster create --import flag (#332)
* Revert "Adds cluster-name flag instead of implied (#325)"
* Adds cluster-name flag instead of implied (#325)
- skipping non-existent releases between 2.7.0 and 2.7.7
- BuildRequire go1.20
-------------------------------------------------------------------
Sat Dec 3 23:41:09 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to v2.7.0:
* Ignore FOSSA failures by @nettlingham in #323
* Update error messages and usage for add-node command by @HarrisonWAffel
in #322
-------------------------------------------------------------------
Mon Oct 17 05:14:23 UTC 2022 - kastl@b1-systems.de
- Update to version 2.6.9:
* update errors and usage for add-node
* Ignore FOSSA failures
- skipping non-existent release 2.6.8
-------------------------------------------------------------------
Wed Sep 07 12:17:47 UTC 2022 - kastl@b1-systems.de
- Update to version 2.6.7:
* Fix index out of bounds when installing hidden chart
* if no servers are configured, state such when running servers ls, switch, or delete
* Update dependencies and fix golangci-lint issue (#317)
* improve clusters create description
* fix the issue that RKE2 or K3S clusters are recognized properly in the output of the 'cluster list' command
* Implement drone-plugin-fossa
- skipping non-existent release 2.6.6
-------------------------------------------------------------------
Fri May 13 19:42:00 UTC 2022 - kastl@b1-systems.de
- Update to version 2.6.5:
* Escape quotes in username, password, responseType for an auth request
-------------------------------------------------------------------
Fri Mar 25 09:13:04 UTC 2022 - kastl@b1-systems.de
- Update to version 2.6.4:
* Transform all keys to JSON format as specified by struct tags for RKE config values
* Add s390x arch support
- versions 2.6.1, 2.6.2 and 2.6.3 are not existing
-------------------------------------------------------------------
Tue Jan 04 13:25:13 UTC 2022 - kastl@b1-systems.de
- Update to version 2.6.0:
* Bump Rancher dependency and use nodeName when getting machine
* Support SSH for v2 provisioned machines
* Write only base-names of files in the checksum file on releases
-------------------------------------------------------------------
Tue Jan 4 13:21:13 UTC 2022 - Johannes Kastl <kastl@b1-systems.de>
- Update to version 2.4.13:
* Add c-m- provisioing v2 format to regex for context
-------------------------------------------------------------------
Tue Jan 04 13:18:08 UTC 2022 - kastl@b1-systems.de
- Update to version 2.4.12:
* Add support for --set-string flag
* Remove rancher/types dependency and update imports
* go mod tidy
* Cache kubeconfig used for kubectl commands
-------------------------------------------------------------------
Tue Jun 1 20:34:05 UTC 2021 - Johannes Kastl <kastl@b1-systems.de>
- initial version of package rancher-cli
- upstream package name is cli
- executable is named rancher-cli

53
rancher-cli.spec Normal file
View File

@ -0,0 +1,53 @@
#
# spec file for package rancher-cli
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
Name: rancher-cli
Version: 2.9.0
Release: 0
Summary: Rancher CLI
License: Apache-2.0
URL: https://github.com/rancher/cli
Source: cli-%{version}.tar.gz
Source1: vendor.tar.gz
BuildRequires: golang(API) = 1.22
%description
The Rancher Command Line Interface (CLI) is a unified tool for interacting with
your Rancher Server.
For usage information see: https://rancher.com/docs/rancher/v2.x/en/cli/
%prep
%autosetup -p 1 -a 1 -n cli-%{version}
%build -n cli-%{version}
go build \
-mod=vendor \
-buildmode=pie \
-ldflags="-X main.Version=%{version}"
%install
# Install the binary.
install -D -m 0755 cli "%{buildroot}/%{_bindir}/%{name}"
%files
%doc README.md
%license LICENSE
%{_bindir}/%{name}
%changelog

3
vendor.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:68385649ae31f428181c7b49cfda1fa62736c5b91d572422ade7057752c12f1a
size 6764997