Accepting request 849530 from filesystems:ceph

- Update to version 1.3.0
  * Fix registration socket cleanup on Windows during startup
  * Migrated to Go modules, so the source builds also outside of GOPATH
- Rework _service and spec file to make future version updates easier

OBS-URL: https://build.opensuse.org/request/show/849530
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/csi-node-driver-registrar?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2020-11-23 15:37:32 +00:00 committed by Git OBS Bridge
commit 2f460e7948
6 changed files with 31 additions and 15 deletions

View File

@ -3,13 +3,17 @@
<param name="url">https://github.com/kubernetes-csi/node-driver-registrar</param> <param name="url">https://github.com/kubernetes-csi/node-driver-registrar</param>
<param name="scm">git</param> <param name="scm">git</param>
<param name="exclude">.git</param> <param name="exclude">.git</param>
<param name="versionformat">1.2.0</param> <param name="filename">csi-node-driver-registrar</param>
<param name="revision">6ef000ae</param> <param name="versionformat">1.3.0</param>
<param name="revision">v1.3.0</param>
</service> </service>
<service name="recompress" mode="disabled"> <service name="recompress" mode="disabled">
<param name="file">*.tar</param> <param name="file">*.tar</param>
<param name="compression">gz</param> <param name="compression">gz</param>
</service> </service>
<service name="set_version" mode="disabled">
<param name="basename">csi-node-driver-registrar</param>
</service>
<service name="go_modules" mode="disabled"> <service name="go_modules" mode="disabled">
</service> </service>
</services> </services>

View File

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

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Nov 18 05:50:44 UTC 2020 - Tim Serong <tserong@suse.com>
- Update to version 1.3.0
* Fix registration socket cleanup on Windows during startup
* Migrated to Go modules, so the source builds also outside of GOPATH
-------------------------------------------------------------------
Wed Nov 18 05:09:36 UTC 2020 - Tim Serong <tserong@suse.com>
- Rework _service and spec file to make future version updates easier
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 5 04:53:07 UTC 2020 - Chin-Ya Huang <chin-ya.huang@suse.com> Wed Aug 5 04:53:07 UTC 2020 - Chin-Ya Huang <chin-ya.huang@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package csi-node-driver-registrar # spec file for package csi-node-driver-registrar
# #
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,9 +12,10 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%{go_nostrip} %{go_nostrip}
%define project github.com/kubernetes-csi/node-driver-registrar %define project github.com/kubernetes-csi/node-driver-registrar
@ -22,13 +23,13 @@
%define source node-driver-registrar %define source node-driver-registrar
Name: %{package} Name: %{package}
Version: 1.2.0 Version: 1.3.0
Release: 0 Release: 0
Summary: Registers the CSI driver with Kubelet Summary: Registers the CSI driver with Kubelet
License: Apache-2.0 License: Apache-2.0
Group: System/Management Group: System/Management
Url: https://%{project} URL: https://%{project}
Source: %{source}-%{version}.tar.gz Source: %{name}-%{version}.tar.gz
Source1: vendor.tar.gz Source1: vendor.tar.gz
BuildRequires: golang-packaging BuildRequires: golang-packaging
BuildRequires: golang(API) >= 1.12 BuildRequires: golang(API) >= 1.12
@ -37,8 +38,8 @@ BuildRequires: golang(API) >= 1.12
Kubernetes node-driver-registrar is a sidecar container that registers the CSI driver with Kubelet using the kubelet plugin registration mechanism. Kubernetes node-driver-registrar is a sidecar container that registers the CSI driver with Kubelet using the kubelet plugin registration mechanism.
%prep %prep
%setup -q -n %{source}-%{version} %setup -q
%setup -q -T -D -a 1 -n %{source}-%{version} %setup -q -T -D -a 1
%build %build
%goprep %{project} %goprep %{project}
@ -56,4 +57,3 @@ export CGO_ENABLED=0
%{_bindir}/%{package} %{_bindir}/%{package}
%changelog %changelog

View File

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

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:782c701722ca535cc5a79879919790b6dfa0ec8693575c00f067ef3967a20b92 oid sha256:caf91b579ad6f2b4cc89f4684a31d3033c522e03ab2d1e2cdc429ca8e5f1c4c9
size 1522425 size 1547691