commit 6819890f79ec82cada616fb15ac3dd005b267631d067da794ac10ff8e1cf6a93 Author: Richard Brown Date: Tue Jan 7 11:42:14 2025 +0000 - 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 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..9c126c4 --- /dev/null +++ b/_service @@ -0,0 +1,19 @@ + + + https://github.com/flannel-io/cni-plugin.git + git + v1.6.0-flannel1 + @PARENT_TAG@ + enable + v(.*)-flannel1 + + + + + *.tar + gz + + + cni-plugin-1.6.0.tar.gz + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..5f7c631 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/flannel-io/cni-plugin.git + 3389866d97e9ef84bf2a64433f7f6f81e650d9c6 \ No newline at end of file diff --git a/cni-plugin-1.4.0.obscpio b/cni-plugin-1.4.0.obscpio new file mode 100644 index 0000000..9b8eeb4 --- /dev/null +++ b/cni-plugin-1.4.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:14fc21aa4a33321fa79e32695cf22d5a3c8c5aee15f9faf70b4b77142c16b197 +size 106507 diff --git a/cni-plugin-1.4.0.tar.gz b/cni-plugin-1.4.0.tar.gz new file mode 100644 index 0000000..54c0a99 --- /dev/null +++ b/cni-plugin-1.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:01be29c6bb4c78c67ddf92845aa53c26c2910b6c6d69f88202ab19eb653a8f3a +size 29965 diff --git a/cni-plugin-1.6.0.obscpio b/cni-plugin-1.6.0.obscpio new file mode 100644 index 0000000..4d76615 --- /dev/null +++ b/cni-plugin-1.6.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e70f307cfaafaa1109633e3cf646515e11a118fce359a1af045db13481dafd29 +size 100363 diff --git a/cni-plugin-1.6.0.tar.gz b/cni-plugin-1.6.0.tar.gz new file mode 100644 index 0000000..a29e013 --- /dev/null +++ b/cni-plugin-1.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b380a119c65cdd3abdb6f2ffe90751e178d10f321661c4e03e7de24489908cb +size 27647 diff --git a/cni-plugin-flannel.changes b/cni-plugin-flannel.changes new file mode 100644 index 0000000..7af0d6a --- /dev/null +++ b/cni-plugin-flannel.changes @@ -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 + +- Change package name to cni-plugin-flannel from flannel-cni-plugin + +------------------------------------------------------------------- +Mon Apr 4 20:19:46 UTC 2022 - Enno Gotthold + +- Inital packaging of version 1.0.1 diff --git a/cni-plugin-flannel.spec b/cni-plugin-flannel.spec new file mode 100644 index 0000000..e4a1702 --- /dev/null +++ b/cni-plugin-flannel.spec @@ -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 diff --git a/cni-plugin.obsinfo b/cni-plugin.obsinfo new file mode 100644 index 0000000..c5aa1b7 --- /dev/null +++ b/cni-plugin.obsinfo @@ -0,0 +1,4 @@ +name: cni-plugin +version: 1.6.0 +mtime: 1729494875 +commit: 3389866d97e9ef84bf2a64433f7f6f81e650d9c6 diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..b1a2cb2 --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:86b4cdc7cd80e8613e41f47b223be530d5631740b726168076a99cd1d0600574 +size 3142605