update to 0.18.2
OBS-URL: https://build.opensuse.org/package/show/devel:kubic/cilium-cli?expand=0&rev=171
This commit is contained in:
commit
69c0593e65
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
13
_constraints
Normal file
13
_constraints
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<constraints>
|
||||
<overwrite>
|
||||
<conditions>
|
||||
<arch>ppc64le</arch>
|
||||
</conditions>
|
||||
<hardware>
|
||||
<disk>
|
||||
<size unit="G">15</size>
|
||||
</disk>
|
||||
</hardware>
|
||||
</overwrite>
|
||||
</constraints>
|
20
_service
Normal file
20
_service
Normal file
@ -0,0 +1,20 @@
|
||||
<services>
|
||||
<service name="obs_scm" mode="manual">
|
||||
<param name="url">https://github.com/cilium/cilium-cli</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="exclude">.git</param>
|
||||
<param name="revision">v0.18.2</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
<param name="changesgenerate">enable</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">
|
||||
</service>
|
||||
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/cilium/cilium-cli</param>
|
||||
<param name="changesrevision">0caa9e5cbfe3a80a1fd6bbc1f5f9926da35b0373</param></service></servicedata>
|
3
cilium-cli-0.16.13.obscpio
Normal file
3
cilium-cli-0.16.13.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1412f72e38131ca8cd792304c92a8cda2b74d67c82bfc2b88a9e102413ac1728
|
||||
size 120291854
|
3
cilium-cli-0.16.14.obscpio
Normal file
3
cilium-cli-0.16.14.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:24379edbfa347939661008a0b28c7ce50baf2afa76dd44d3502e2dc283d9edfa
|
||||
size 121192462
|
3
cilium-cli-0.16.15.obscpio
Normal file
3
cilium-cli-0.16.15.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9dcc9d665a943b3527406519b24bc6079fb7d12ee377c0ae110bbd4a1fd8dc8c
|
||||
size 121192974
|
3
cilium-cli-0.16.16.obscpio
Normal file
3
cilium-cli-0.16.16.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:470a5035134d5fc77071d4334276e9e4bb1ad05094509fe4350700d700d7cc5a
|
||||
size 121449486
|
3
cilium-cli-0.16.17.obscpio
Normal file
3
cilium-cli-0.16.17.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:99c39bb2eef05cf576ba3e1ff720881f50fb2de42fb402546440d6a95cb49cb6
|
||||
size 121616910
|
3
cilium-cli-0.16.19.obscpio
Normal file
3
cilium-cli-0.16.19.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:562d6a1f6c63976a5580d36a238bcdf7bc871ef001f1719bd44c79c220f9af66
|
||||
size 123655182
|
3
cilium-cli-0.16.20.obscpio
Normal file
3
cilium-cli-0.16.20.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9d18d831dff5539790af80a9bd530321123e21c897de0e43e4fd4b6934302c49
|
||||
size 124668430
|
3
cilium-cli-0.16.21.obscpio
Normal file
3
cilium-cli-0.16.21.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1b6b45f1dc29ba8b257cf2328ccc4e9b4879bd637258bbbc80b7c035e1162f6d
|
||||
size 126267406
|
3
cilium-cli-0.16.22.obscpio
Normal file
3
cilium-cli-0.16.22.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4753647d7ddf0e493750d599ae1627ed82db70c7b155700913d8063b48c3b14c
|
||||
size 126478862
|
3
cilium-cli-0.16.23.obscpio
Normal file
3
cilium-cli-0.16.23.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e9005a8afc7a27a566c43c5fef9ad8b050099427d0645828396392bc07a53c3e
|
||||
size 128388622
|
3
cilium-cli-0.16.24.obscpio
Normal file
3
cilium-cli-0.16.24.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1001c729f047fac1ff01164dec8db684e0abd6824f037a6f9902bc1a56e9fe82
|
||||
size 130956302
|
3
cilium-cli-0.17.0.obscpio
Normal file
3
cilium-cli-0.17.0.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f90f123a93ccfa999909cb74a965e603d635b1c70e681b1f24b7873dac8a3c83
|
||||
size 131661838
|
3
cilium-cli-0.18.0.obscpio
Normal file
3
cilium-cli-0.18.0.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7251b4d87ba3faf7b3a8767197e81c9808f4eaa9239cc9aa7725ec386d51e1a7
|
||||
size 131660302
|
3
cilium-cli-0.18.1.obscpio
Normal file
3
cilium-cli-0.18.1.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:10681d336128e8b8b6160675af3e940d7814e6eabc0774d2d9a04ff76a963c70
|
||||
size 131660302
|
3
cilium-cli-0.18.2.obscpio
Normal file
3
cilium-cli-0.18.2.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:410f76f01d25b2f58a69f7301583795bcd2acb8cfdb39cb2b72687cb6e0ac64f
|
||||
size 131914254
|
3096
cilium-cli.changes
Normal file
3096
cilium-cli.changes
Normal file
File diff suppressed because it is too large
Load Diff
4
cilium-cli.obsinfo
Normal file
4
cilium-cli.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
name: cilium-cli
|
||||
version: 0.18.2
|
||||
mtime: 1741386165
|
||||
commit: 0caa9e5cbfe3a80a1fd6bbc1f5f9926da35b0373
|
119
cilium-cli.spec
Normal file
119
cilium-cli.spec
Normal file
@ -0,0 +1,119 @@
|
||||
#
|
||||
# spec file for package cilium-cli
|
||||
#
|
||||
# Copyright (c) 2025 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 executable_name cilium
|
||||
|
||||
Name: cilium-cli
|
||||
Version: 0.18.2
|
||||
Release: 0
|
||||
Summary: CLI to install, manage & troubleshoot Kubernetes clusters running Cilium
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/cilium/cilium-cli
|
||||
Source: cilium-cli-%{version}.tar.gz
|
||||
Source1: vendor.tar.gz
|
||||
# download the file to make maintenance easier
|
||||
Source11: https://raw.githubusercontent.com/cilium/cilium/main/stable.txt
|
||||
BuildRequires: bash-completion
|
||||
BuildRequires: fish
|
||||
BuildRequires: go >= 1.23
|
||||
BuildRequires: zsh
|
||||
|
||||
%description
|
||||
CLI to install, manage and troubleshoot Kubernetes clusters running Cilium
|
||||
|
||||
%package -n %{name}-bash-completion
|
||||
Summary: Bash Completion for %{name}
|
||||
Group: System/Shells
|
||||
Requires: %{name} = %{version}
|
||||
Requires: bash-completion
|
||||
Supplements: (%{name} and bash-completion)
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}-bash-completion
|
||||
Bash command line completion support for %{name}.
|
||||
|
||||
%package -n %{name}-fish-completion
|
||||
Summary: Fish Completion for %{name}
|
||||
Group: System/Shells
|
||||
Requires: %{name} = %{version}
|
||||
Supplements: (%{name} and fish)
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}-fish-completion
|
||||
Fish command line completion support for %{name}.
|
||||
|
||||
%package -n %{name}-zsh-completion
|
||||
Summary: Zsh Completion for %{name}
|
||||
Group: System/Shells
|
||||
Requires: %{name} = %{version}
|
||||
Supplements: (%{name} and zsh)
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}-zsh-completion
|
||||
zsh command line completion support for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -p 1 -a 1
|
||||
|
||||
%build
|
||||
CILIUM_VERSION="$(cat %{SOURCE11})"
|
||||
|
||||
go build \
|
||||
-mod=vendor \
|
||||
-buildmode=pie \
|
||||
-ldflags=" \
|
||||
-X github.com/cilium/cilium/cilium-cli/defaults.Version=${CILIUM_VERSION} \
|
||||
-X github.com/cilium/cilium/cilium-cli/defaults.CLIVersion=v%{version}" \
|
||||
-o %{executable_name} ./cmd/cilium/
|
||||
|
||||
%install
|
||||
# Install the binary.
|
||||
install -D -m 0755 %{executable_name} %{buildroot}/%{_bindir}/%{executable_name}
|
||||
cd %{buildroot}/%{_bindir}/
|
||||
ln -s %{executable_name} %{name}
|
||||
|
||||
# create the bash completion file
|
||||
mkdir -p %{buildroot}%{_datarootdir}/bash-completion/completions/
|
||||
%{buildroot}/%{_bindir}/%{executable_name} completion bash > %{buildroot}%{_datarootdir}/bash-completion/completions/%{executable_name}
|
||||
|
||||
# create the fish completion file
|
||||
mkdir -p %{buildroot}%{_datarootdir}/fish/vendor_completions.d/
|
||||
%{buildroot}/%{_bindir}/%{executable_name} completion fish > %{buildroot}%{_datarootdir}/fish/vendor_completions.d/%{executable_name}.fish
|
||||
|
||||
# create the zsh completion file
|
||||
mkdir -p %{buildroot}%{_datarootdir}/zsh/site-functions/
|
||||
%{buildroot}/%{_bindir}/%{executable_name} completion zsh > %{buildroot}%{_datarootdir}/zsh/site-functions/_%{executable_name}
|
||||
|
||||
%check
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_bindir}/%{executable_name}
|
||||
%{_bindir}/%{name}
|
||||
|
||||
%files -n %{name}-bash-completion
|
||||
%{_datarootdir}/bash-completion/completions/%{executable_name}
|
||||
|
||||
%files -n %{name}-fish-completion
|
||||
%{_datarootdir}/fish/vendor_completions.d/%{executable_name}.fish
|
||||
|
||||
%files -n %{name}-zsh-completion
|
||||
%{_datarootdir}/zsh/site-functions/_%{executable_name}
|
||||
|
||||
%changelog
|
1
stable.txt
Normal file
1
stable.txt
Normal file
@ -0,0 +1 @@
|
||||
v1.17.1
|
3
vendor.tar.gz
Normal file
3
vendor.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eaeb4e86d56e7aea3cc1156e03d6209d3faf1653beb8df382d7d71d2a73a6775
|
||||
size 42200477
|
Loading…
x
Reference in New Issue
Block a user