2bae9b67d3
Update to Go v1.22 in CI and release
...
Signed-off-by: Austin Vazquez <macedonv@amazon.com >
2024-03-11 15:52:12 +01:00
976edfe1bc
Merge pull request #1009 from adrianchiris/fix-lint-version
...
Fix version of golangci-lint
2024-03-11 15:51:56 +01:00
cb244060c2
Fix version of golangci-lint
...
currently the workflow will use latest
version which is a moving target.
newer versions may cause ci failures due
to new checks added.
Signed-off-by: adrianc <adrianc@nvidia.com >
2024-02-13 10:35:41 +02:00
d1aada912d
Merge pull request #1000 from s1061123/add-build-gh-action
...
Add github action to build binaries for each platform at release
2024-02-12 17:28:13 +01:00
8b2b1d20d6
Add github action to build binaries for each platform at release
...
This change introduces new github action to build cni plugin
binaries for each platform at tagged new release.
Signed-off-by: Tomofumi Hayashi <tohayash@redhat.com >
2024-02-06 01:01:35 +09:00
14bdce598f
Merge pull request #997 from ormergi/bridge-cont-iface-state
...
bridge: Enable disabling bridge interface
2024-02-02 21:22:32 +01:00
7e131a0076
bridge: Enable disabling bridge interface
...
The new `disableContainerInterface` parameter is added to the bridge plugin to
enable setting the container interface state down.
When the parameter is enabled, the container interface (veth peer that is placed
at the container ns) remain down (i.e: disabled).
The bridge and host peer interfaces state are not affected by the parameter.
Since IPAM logic involve various configurations including waiting for addresses
to be realized and setting the interface state UP, the new parameter cannot work
with IPAM.
In case both IPAM and DisableContainerInterface parameters are set, the bridge
plugin will raise an error.
Signed-off-by: Or Mergi <ormergi@redhat.com >
2024-01-10 15:35:23 +02:00
b6a0e0bc96
Merge pull request #990 from containernetworking/dependabot/github_actions/actions/setup-go-5
...
build(deps): bump actions/setup-go from 4 to 5
2023-12-11 17:08:17 +01:00
e6099fb83d
build(deps): bump actions/setup-go from 4 to 5
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-11 02:16:03 +00:00
1fb5bf669e
Merge pull request #982 from jingyuanliang/patch-1
...
Bump to golang:1.21-alpine in release.sh
v1.4.0
2023-12-04 10:37:33 +01:00
3712c1cfcb
Merge pull request #988 from containernetworking/dependabot/go_modules/golang-2d6cee5bad
...
build(deps): bump the golang group with 2 updates
2023-12-04 10:36:51 +01:00
825421709e
build(deps): bump the golang group with 2 updates
...
Bumps the golang group with 2 updates: [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo ) and [golang.org/x/sys](https://github.com/golang/sys ).
Updates `github.com/onsi/ginkgo/v2` from 2.13.1 to 2.13.2
- [Release notes](https://github.com/onsi/ginkgo/releases )
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/ginkgo/compare/v2.13.1...v2.13.2 )
Updates `golang.org/x/sys` from 0.14.0 to 0.15.0
- [Commits](https://github.com/golang/sys/compare/v0.14.0...v0.15.0 )
---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: golang
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: golang
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-04 02:47:46 +00:00
d708217503
Bump to golang:1.21-alpine in release.sh
...
Also make this overridable in env vars.
Signed-off-by: Jingyuan Liang <jingyuanliang@google.com >
2023-11-17 09:01:30 +00:00
abee8ccc0d
Merge pull request #954 from cyclinder/improve_cmd_del
...
macvlan cmdDel: replace the loadConf function with json.unmarshal
2023-11-16 19:06:11 +01:00
e1474463ef
Merge pull request #978 from containernetworking/dependabot/go_modules/golang-439c5fc513
...
build(deps): bump the golang group with 3 updates
2023-11-16 19:05:16 +01:00
11ee4b61d9
Merge pull request #969 from s1061123/fix-netns-override
...
Add CNI_NETNS_OVERRIDE for upcoming CNI change
2023-11-16 19:04:53 +01:00
a4cbf13a9b
Add CNI_NETNS_OVERRIDE for upcoming CNI change
...
containernetwork/cni#890 introduces CNI_NETNS_OVERRIDE and plugin
testing requires this flag. This change enables CNI_NETNS_OVERRIDE
for further containernetwork/cni vendor update.
Signed-off-by: Tomofumi Hayashi <tohayash@redhat.com >
2023-11-16 23:18:00 +09:00
6cac5d603b
build(deps): bump the golang group with 3 updates
...
Bumps the golang group with 3 updates: [github.com/Microsoft/hcsshim](https://github.com/Microsoft/hcsshim ), [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo ) and [github.com/onsi/gomega](https://github.com/onsi/gomega ).
Updates `github.com/Microsoft/hcsshim` from 0.11.2 to 0.11.4
- [Release notes](https://github.com/Microsoft/hcsshim/releases )
- [Commits](https://github.com/Microsoft/hcsshim/compare/v0.11.2...v0.11.4 )
Updates `github.com/onsi/ginkgo/v2` from 2.13.0 to 2.13.1
- [Release notes](https://github.com/onsi/ginkgo/releases )
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/ginkgo/compare/v2.13.0...v2.13.1 )
Updates `github.com/onsi/gomega` from 1.29.0 to 1.30.0
- [Release notes](https://github.com/onsi/gomega/releases )
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/gomega/compare/v1.29.0...v1.30.0 )
---
updated-dependencies:
- dependency-name: github.com/Microsoft/hcsshim
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: golang
- dependency-name: github.com/onsi/ginkgo/v2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: golang
- dependency-name: github.com/onsi/gomega
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: golang
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-16 12:41:14 +00:00
333fc9a0d7
Merge pull request #981 from arthur-zhang/dev-revert
...
revert some code in pr 962
2023-11-16 13:39:59 +01:00
f90ac41ae4
revert some code in pr 962
...
Signed-off-by: arthur-zhang <zhangya_no1@qq.com >
2023-11-14 10:04:18 +08:00
93a1b3d0e7
Merge pull request #979 from s1061123/fix/ndisc_ipvlan
...
Add ndisc_notify in ipvlan for ipv6 ndp
2023-11-14 00:27:01 +01:00
00406f9d1e
Merge branch 'main' into fix/ndisc_ipvlan
2023-11-14 08:18:07 +09:00
e82848a9cb
Merge pull request #962 from arthur-zhang/dev-pr-bridge
...
bridge: remove useless code
2023-11-13 18:01:02 +01:00
5280b4d582
bridge: fix spelling
...
Signed-off-by: arthur-zhang <zhangya_no1@qq.com >
2023-11-13 17:11:21 +01:00
495a2cbb0c
bridge: remove useless firstV4Addr
...
Signed-off-by: arthur-zhang <zhangya_no1@qq.com >
2023-11-13 17:11:21 +01:00
8c59fc1eea
bridge: remove useless check
...
gws.defaultRouteFound here is always false.
Signed-off-by: arthur-zhang <zhangya_no1@qq.com >
2023-11-13 17:11:21 +01:00
2eee7cef35
Merge pull request #974 from zshi-redhat/macvlan-ipv6-ndisc
...
macvlan: enable ipv6 ndisc_notify
2023-11-13 17:08:56 +01:00
1079e113fe
Add ndisc_notify in ipvlan for ipv6 ndp
...
Signed-off-by: Tomofumi Hayashi <tohayash@redhat.com >
2023-11-14 01:07:59 +09:00
999ca15763
macvlan: enable ipv6 ndisc_notify
...
Signed-off-by: Zenghui Shi <zshi@redhat.com >
2023-11-07 19:43:50 +08:00
dad27e9f72
Merge pull request #963 from containernetworking/dependabot/go_modules/google.golang.org/grpc-1.56.3
...
build(deps): bump google.golang.org/grpc from 1.50.1 to 1.56.3
2023-11-01 10:21:47 +01:00
0b1a96ff30
build(deps): bump google.golang.org/grpc from 1.50.1 to 1.56.3
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.50.1 to 1.56.3.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.50.1...v1.56.3 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-31 19:09:22 +00:00
c8c26897ba
Merge pull request #970 from containernetworking/dependabot/go_modules/golang-1eaf3aa819
...
build(deps): bump the golang group with 3 updates
2023-10-31 20:08:15 +01:00
28c5faee75
build(deps): bump the golang group with 3 updates
...
Bumps the golang group with 3 updates: [github.com/Microsoft/hcsshim](https://github.com/Microsoft/hcsshim ), [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo ) and [github.com/onsi/gomega](https://github.com/onsi/gomega ).
Updates `github.com/Microsoft/hcsshim` from 0.11.1 to 0.11.2
- [Release notes](https://github.com/Microsoft/hcsshim/releases )
- [Commits](https://github.com/Microsoft/hcsshim/compare/v0.11.1...v0.11.2 )
Updates `github.com/onsi/ginkgo/v2` from 2.12.0 to 2.13.0
- [Release notes](https://github.com/onsi/ginkgo/releases )
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/ginkgo/compare/v2.12.0...v2.13.0 )
Updates `github.com/onsi/gomega` from 1.28.0 to 1.29.0
- [Release notes](https://github.com/onsi/gomega/releases )
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/gomega/compare/v1.28.0...v1.29.0 )
---
updated-dependencies:
- dependency-name: github.com/Microsoft/hcsshim
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: golang
- dependency-name: github.com/onsi/ginkgo/v2
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: golang
- dependency-name: github.com/onsi/gomega
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: golang
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-31 15:06:19 +00:00
d0d9e36662
Merge pull request #961 from squeed/dependabot-batch
...
dependabot: batch updates
2023-10-31 16:04:45 +01:00
f7662a2435
Merge pull request #968 from mmorel-35/patch-1
...
fix workflow warnings
2023-10-31 11:47:42 +01:00
aacae5c053
dependabot: batch updates
...
Rather than endless rebases, just batch all go updates to once a week.
Signed-off-by: Casey Callendrello <c1@caseyc.net >
2023-10-31 11:46:29 +01:00
6b7876125d
fix workflow warnings
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2023-10-31 09:07:15 +01:00
2f0faf6721
Merge pull request #967 from squeed/fix-lint
...
fix lint errors
2023-10-31 08:40:30 +01:00
37531cdaf5
fix lint errors
...
Fix a small ginkgo compare issue, and ignore dot imports.
Signed-off-by: Casey Callendrello <c1@caseyc.net >
2023-10-30 17:55:55 +01:00
a8d4e0a7dd
Merge pull request #949 from containernetworking/dependabot/go_modules/github.com/onsi/gomega-1.28.0
...
build(deps): bump github.com/onsi/gomega from 1.27.8 to 1.28.0
2023-10-17 12:31:08 +02:00
845ef62b74
macvlan cmdDel: replace the loadConf function with json.unmarshal
...
When the master interface on the node has been deleted, and loadConf tries
to get the MTU, This causes cmdDel to return a linkNotFound error to the
runtime. The cmdDel only needs to unmarshal the netConf. No need to
get the MTU. So we just replaced the loadConf function with
json.unmarshal in cmdDel.
Signed-off-by: cyclinder <qifeng.guo@daocloud.io >
2023-10-17 10:26:18 +08:00
691186ca7f
build(deps): bump github.com/onsi/gomega from 1.27.8 to 1.28.0
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.27.8 to 1.28.0.
- [Release notes](https://github.com/onsi/gomega/releases )
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/gomega/compare/v1.27.8...v1.28.0 )
---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-16 15:44:53 +00:00
adaeedd6af
Merge pull request #955 from containernetworking/dependabot/go_modules/golang.org/x/net-0.17.0
...
build(deps): bump golang.org/x/net from 0.10.0 to 0.17.0
2023-10-16 17:43:46 +02:00
19e5747a8c
build(deps): bump golang.org/x/net from 0.10.0 to 0.17.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.10.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.10.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-16 15:26:26 +00:00
4cf3da4ae3
Merge pull request #948 from twz123/posix-sh
...
build: Use POSIX sh for shell scripts
2023-10-16 17:25:04 +02:00
c20da1521f
Merge pull request #952 from containernetworking/dependabot/go_modules/golang.org/x/sys-0.13.0
...
build(deps): bump golang.org/x/sys from 0.10.0 to 0.13.0
2023-10-16 17:24:51 +02:00
b66b5dd85f
Merge pull request #945 from containernetworking/dependabot/github_actions/actions/checkout-4
...
build(deps): bump actions/checkout from 3 to 4
2023-10-16 17:23:45 +02:00
e727ad6697
Merge pull request #946 from containernetworking/dependabot/go_modules/github.com/Microsoft/hcsshim-0.11.1
...
build(deps): bump github.com/Microsoft/hcsshim from 0.9.9 to 0.11.1
2023-10-16 17:23:25 +02:00
18172539d8
build(deps): bump github.com/Microsoft/hcsshim from 0.9.9 to 0.11.1
...
Bumps [github.com/Microsoft/hcsshim](https://github.com/Microsoft/hcsshim ) from 0.9.9 to 0.11.1.
- [Release notes](https://github.com/Microsoft/hcsshim/releases )
- [Commits](https://github.com/Microsoft/hcsshim/compare/v0.9.9...v0.11.1 )
---
updated-dependencies:
- dependency-name: github.com/Microsoft/hcsshim
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-16 15:11:01 +00:00
f20b8408a4
Merge pull request #937 from containernetworking/dependabot/go_modules/github.com/coreos/go-iptables-0.7.0
...
build(deps): bump github.com/coreos/go-iptables from 0.6.0 to 0.7.0
2023-10-16 17:10:05 +02:00