- Update to version 1.6.0

* Update vendored dependencies
  * Update containernetworking plugins to 1.6.0

OBS-URL: https://build.opensuse.org/package/show/devel:kubic/cni-plugin-flannel?expand=0&rev=8
This commit is contained in:
Richard Brown 2025-01-07 11:42:14 +00:00 committed by Git OBS Bridge
commit 6819890f79
12 changed files with 180 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

19
_service Normal file
View File

@ -0,0 +1,19 @@
<services>
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/flannel-io/cni-plugin.git</param>
<param name="scm">git</param>
<param name="revision">v1.6.0-flannel1</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">enable</param>
<param name="versionrewrite-pattern">v(.*)-flannel1</param>
</service>
<service mode="manual" name="set_version" />
<service mode="manual" name="tar" />
<service mode="manual" name="recompress">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
<service mode="manual" name="go_modules">
<param name="archive">cni-plugin-1.6.0.tar.gz</param>
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/flannel-io/cni-plugin.git</param>
<param name="changesrevision">3389866d97e9ef84bf2a64433f7f6f81e650d9c6</param></service></servicedata>

3
cni-plugin-1.4.0.obscpio Normal file
View File

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

3
cni-plugin-1.4.0.tar.gz Normal file
View File

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

3
cni-plugin-1.6.0.obscpio Normal file
View File

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

3
cni-plugin-1.6.0.tar.gz Normal file
View File

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

View File

@ -0,0 +1,49 @@
-------------------------------------------------------------------
Fri Nov 29 16:41:11 UTC 2024 - egotthold@suse.com
- Update to version 1.6.0
* Update vendored dependencies
* Update containernetworking plugins to 1.6.0
-------------------------------------------------------------------
Thu Jan 25 21:00:14 UTC 2024 - egotthold@suse.com
- Update to version 1.4.0:
* fix doc
* fix wrong doc
* Update to plugins v1.4.0
* upload release artifact on the release page
* set CGO_ENABLED=1 when GOARCH=amd64
* simplify the packaging and releasing of flannel-cni
* Fix typo in flannel_linux_test.go
* update Githb actions to stay up to date
* Add support for riscv64
* Set as latest the released image
-------------------------------------------------------------------
Sun Oct 08 13:01:54 UTC 2023 - egotthold@suse.com
- Update to version 1.2.0:
* Fixed release artifacts path
* FIx bug in actions/download-artifact@v3
* Update go.mod
* Use writeAndSyncFile instead of just write
* Update ginkgo to v2
* Upgrade go version to 1.20.5
* Fix some errors thrown by lint tool
* Updated Docker registry
* only include the binary file for one architecture in the release archive
* update of GH workflows
* Make sure the CNI delete function does not fail when the json config is wrong
* Allow multiple flannel networks and upgrade to Go 1.19.2
* upgrade cni and plugins deps
-------------------------------------------------------------------
Tue Apr 5 08:56:04 UTC 2022 - Enno Gotthold <egotthold@suse.com>
- Change package name to cni-plugin-flannel from flannel-cni-plugin
-------------------------------------------------------------------
Mon Apr 4 20:19:46 UTC 2022 - Enno Gotthold <egotthold@suse.com>
- Inital packaging of version 1.0.1

65
cni-plugin-flannel.spec Normal file
View File

@ -0,0 +1,65 @@
#
# spec file for package cni-plugin-flannel
#
# 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 cni_dir %{_libexecdir}/cni
Name: cni-plugin-flannel
Version: 1.6.0
Release: 0
Summary: A CNI network plugin that is powered by flannel
License: Apache-2.0
URL: https://github.com/flannel-io/cni-plugin
Source0: cni-plugin-%{version}.tar.gz
Source1: vendor.tar.gz
BuildRequires: golang-packaging
BuildRequires: golang(API) >= 1.16
Requires: flannel
%description
This plugin is designed to work in conjunction with flannel, a network fabric
for containers. When flannel daemon is started, it outputs a
/run/flannel/subnet.env file that looks like this:
FLANNEL_NETWORK=10.1.0.0/16
FLANNEL_SUBNET=10.1.17.1/24
FLANNEL_MTU=1472
FLANNEL_IPMASQ=true
This information reflects the attributes of flannel network on the host. The
flannel CNI plugin uses this information to configure another CNI plugin, such
as bridge plugin.
%prep
%autosetup -n cni-plugin-%{version} -a 1
%build
%{goprep} github.com/flannel-io/cni-plugin
%{gobuild}
%install
%{goinstall}
mkdir -p %{buildroot}%{cni_dir}
mv %{buildroot}%{_bindir}/cni-plugin %{buildroot}%{cni_dir}/flannel
%files
%license LICENSE
%doc README.md
%dir %{cni_dir}/
%{cni_dir}/flannel
%changelog

4
cni-plugin.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: cni-plugin
version: 1.6.0
mtime: 1729494875
commit: 3389866d97e9ef84bf2a64433f7f6f81e650d9c6

3
vendor.tar.gz Normal file
View File

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