Accepting request 1231203 from home:ojkastl_buildservice:Branch_devel_kubic
update to 2.11.3 OBS-URL: https://build.opensuse.org/request/show/1231203 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/k8up-cli?expand=0&rev=7
This commit is contained in:
commit
591b554291
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
|
23
_service
Normal file
23
_service
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
<services>
|
||||||
|
<service name="obs_scm" mode="manual">
|
||||||
|
<param name="url">https://github.com/k8up-io/k8up/</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="exclude">.git</param>
|
||||||
|
<param name="revision">v2.11.3</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
|
<param name="versionrewrite-pattern">v(.*)</param>
|
||||||
|
<param name="changesgenerate">enable</param>
|
||||||
|
<param name="filename">k8up-cli</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="manual">
|
||||||
|
</service>
|
||||||
|
<service name="go_modules" mode="manual">
|
||||||
|
</service>
|
||||||
|
<!-- services below are running at buildtime -->
|
||||||
|
<service name="tar" mode="buildtime">
|
||||||
|
</service>
|
||||||
|
<service name="recompress" mode="buildtime">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">gz</param>
|
||||||
|
</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/k8up-io/k8up/</param>
|
||||||
|
<param name="changesrevision">be9529f1242148b614a3d0911e7c655955b2835e</param></service></servicedata>
|
3
k8up-cli-2.11.1.obscpio
Normal file
3
k8up-cli-2.11.1.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:65d609c7b1b2a48a3c72e96a79acab5edd2560eedb1dbd9d0638337ba7dec143
|
||||||
|
size 7771149
|
3
k8up-cli-2.11.2.obscpio
Normal file
3
k8up-cli-2.11.2.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:694eb50b0e7f0611fc6f491656861bd5b2a32b7eaf655715b99de8f88f0a68df
|
||||||
|
size 7774733
|
3
k8up-cli-2.11.3.obscpio
Normal file
3
k8up-cli-2.11.3.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b9af00ba9433476d6e5c465a2afb5e1abca017e3e4ad6bcd7fe01a1358209784
|
||||||
|
size 7776781
|
21
k8up-cli.changes
Normal file
21
k8up-cli.changes
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 15 10:14:29 UTC 2024 - opensuse_buildservice@ojkastl.de
|
||||||
|
|
||||||
|
- Update to version 2.11.3:
|
||||||
|
* Make sure the backup cleanup is always triggered
|
||||||
|
* Fix tag
|
||||||
|
* Bump K8up version
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 10 08:46:26 UTC 2024 - opensuse_buildservice@ojkastl.de
|
||||||
|
|
||||||
|
- Update to version 2.11.2:
|
||||||
|
* Fail whole prebackup if command exit != 0
|
||||||
|
* pin the mariadb prebackuppod image to a working one
|
||||||
|
* chore: Address linter issues
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 10 07:25:08 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||||
|
|
||||||
|
- new package k8up-cli: CLI for the K8up Kubernetes and OpenShift
|
||||||
|
Backup Operator
|
4
k8up-cli.obsinfo
Normal file
4
k8up-cli.obsinfo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
name: k8up-cli
|
||||||
|
version: 2.11.3
|
||||||
|
mtime: 1734103260
|
||||||
|
commit: be9529f1242148b614a3d0911e7c655955b2835e
|
72
k8up-cli.spec
Normal file
72
k8up-cli.spec
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
#
|
||||||
|
# spec file for package k8up-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
|
||||||
|
|
||||||
|
%define executable_name k8up
|
||||||
|
|
||||||
|
Name: k8up-cli
|
||||||
|
Version: 2.11.3
|
||||||
|
Release: 0
|
||||||
|
Summary: CLI for the K8up Kubernetes and OpenShift Backup Operator
|
||||||
|
License: Apache-2.0
|
||||||
|
URL: https://github.com/k8up-io/k8up
|
||||||
|
Source: %{name}-%{version}.tar.gz
|
||||||
|
Source1: vendor.tar.gz
|
||||||
|
BuildRequires: go >= 1.21
|
||||||
|
|
||||||
|
%description
|
||||||
|
K8up is a Kubernetes backup operator based on Restic that will handle PVC and
|
||||||
|
application backups on a Kubernetes or OpenShift cluster.
|
||||||
|
|
||||||
|
Just create a schedule and a credentials object in the namespace you’d like to
|
||||||
|
backup. It’s that easy. K8up takes care of the rest. It also provides a
|
||||||
|
Prometheus endpoint for monitoring.
|
||||||
|
|
||||||
|
K8up is production ready. It is used in production deployments since 2019.
|
||||||
|
|
||||||
|
This package contains the CLI.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p 1 -a 1
|
||||||
|
|
||||||
|
%build
|
||||||
|
COMMIT_HASH="$(sed -n 's/commit: \(.*\)/\1/p' %_sourcedir/%{name}.obsinfo)"
|
||||||
|
|
||||||
|
DATE_FMT="+%%Y-%%m-%%dT%%H:%%M:%%SZ"
|
||||||
|
BUILD_DATE=$(date -u -d "@${SOURCE_DATE_EPOCH}" "${DATE_FMT}" 2>/dev/null || date -u -r "${SOURCE_DATE_EPOCH}" "${DATE_FMT}" 2>/dev/null || date -u "${DATE_FMT}")
|
||||||
|
|
||||||
|
go build \
|
||||||
|
-mod=vendor \
|
||||||
|
-buildmode=pie \
|
||||||
|
-ldflags=" \
|
||||||
|
-X main.version=v%{version} \
|
||||||
|
-X main.commit=${COMMIT_HASH} \
|
||||||
|
-X main.date=${BUILD_DATE}" \
|
||||||
|
-o bin/%{executable_name} ./cmd/%{executable_name}
|
||||||
|
|
||||||
|
%install
|
||||||
|
# Install the binary.
|
||||||
|
install -D -m 0755 bin/%{executable_name} %{buildroot}/%{_bindir}/%{executable_name}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
%{_bindir}/%{executable_name}
|
||||||
|
|
||||||
|
%changelog
|
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:da8e6fa41996686001d5a909a67245a659664e15cca23d2e6b7a9bb11aa6784c
|
||||||
|
size 7987092
|
Loading…
x
Reference in New Issue
Block a user