From bc71da1cafa9f0a37e4a048a62c24b1ca9042974c99b59f0505a88d46c42e682 Mon Sep 17 00:00:00 2001 From: Tim Serong Date: Fri, 11 Sep 2020 08:25:30 +0000 Subject: [PATCH] Accepting request 833705 from filesystems:ceph:octopus CSI sidecar package OBS-URL: https://build.opensuse.org/request/show/833705 OBS-URL: https://build.opensuse.org/package/show/filesystems:ceph/csi-external-snapshotter?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + _service | 15 ++++++++ csi-external-snapshotter.changes | 20 +++++++++++ csi-external-snapshotter.spec | 59 +++++++++++++++++++++++++++++++ external-snapshotter-2.1.1.tar.gz | 3 ++ vendor.tar.gz | 3 ++ 7 files changed, 124 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 csi-external-snapshotter.changes create mode 100644 csi-external-snapshotter.spec create mode 100644 external-snapshotter-2.1.1.tar.gz create mode 100644 vendor.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..c5e0a23 --- /dev/null +++ b/_service @@ -0,0 +1,15 @@ + + + https://github.com/kubernetes-csi/external-snapshotter + git + .git + 2.1.1 + 034c5458 + + + *.tar + gz + + + + diff --git a/csi-external-snapshotter.changes b/csi-external-snapshotter.changes new file mode 100644 index 0000000..52a5591 --- /dev/null +++ b/csi-external-snapshotter.changes @@ -0,0 +1,20 @@ +------------------------------------------------------------------- +Tue Aug 25 06:21:43 UTC 2020 - Tim Serong + +- Remove unnecessary BuildRequires: go1.12 >= 1.12.0 + +------------------------------------------------------------------- +Tue Aug 11 02:50:15 UTC 2020 - Chin-Ya Huang + +- Fix project directory for v2.1.1. + +------------------------------------------------------------------- +Tue Aug 11 01:39:21 UTC 2020 - Chin-Ya Huang + +- Update version to 2.1.1. + Ref: https://github.com/SUSE/avant-garde/issues/1779#issuecomment-671620066 + +------------------------------------------------------------------- +Wed Aug 5 04:43:59 UTC 2020 - Chin-Ya Huang + +- Initial commit diff --git a/csi-external-snapshotter.spec b/csi-external-snapshotter.spec new file mode 100644 index 0000000..ed5062e --- /dev/null +++ b/csi-external-snapshotter.spec @@ -0,0 +1,59 @@ +# +# spec file for package csi-snapshotter +# +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ +# + +%{go_nostrip} + +%define project github.com/kubernetes-csi/external-snapshotter/v2 +%define package csi-snapshotter +%define source external-snapshotter + +Name: csi-%{source} +Version: 2.1.1 +Release: 0 +Summary: Triggers CreateSnapshot/DeleteSnapshot against a CSI endpoint +License: Apache-2.0 +Group: System/Management +Url: https://%{project} +Source: %{source}-%{version}.tar.gz +Source1: vendor.tar.gz +BuildRequires: golang-packaging +BuildRequires: golang(API) >= 1.12 + +%description +Kubernetes CSI external-snapshotter sidecar watches Kubernetes VolumeSnapshotContent CRD objects and triggers CreateSnapshot/DeleteSnapshot against a CSI endpoint. + +%prep +%setup -q -n %{source}-%{version} +%setup -q -T -D -a 1 -n %{source}-%{version} + +%build +%goprep %{project} + +export CGO_ENABLED=0 + +%gobuild -a -mod=vendor -ldflags="-X main.version=%{version}" cmd/%{package} + +%install +%goinstall + +%files +%license LICENSE +%doc README.md +%{_bindir}/%{package} + +%changelog + diff --git a/external-snapshotter-2.1.1.tar.gz b/external-snapshotter-2.1.1.tar.gz new file mode 100644 index 0000000..67eeca5 --- /dev/null +++ b/external-snapshotter-2.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cd650d0186aa9007ade1ecfb0c3d7de9c6ec4643cea0cab16d672fb45067968d +size 5884571 diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..d787905 --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ae1756deb308422ec5fad761116ab93265988a244848bb4469d0f02e8b63db3c +size 5525448