dependabot[bot]
0e87bccf19
build(deps): bump alpine in /.github/actions/retest-action
...
Bumps alpine from 3.19 to 3.20.
---
updated-dependencies:
- dependency-name: alpine
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-27 02:43:07 +00:00
Casey Callendrello
0259301ae2
Merge pull request #1043 from containernetworking/dependabot/go_modules/golang-efff583b38
...
build(deps): bump the golang group with 2 updates
v1.5.0
2024-05-20 09:14:04 +02:00
dependabot[bot]
14cad164ec
build(deps): bump the golang group with 2 updates
...
Bumps the golang group with 2 updates: [github.com/onsi/gomega](https://github.com/onsi/gomega ) and [golang.org/x/sys](https://github.com/golang/sys ).
Updates `github.com/onsi/gomega` from 1.33.0 to 1.33.1
- [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.33.0...v1.33.1 )
Updates `golang.org/x/sys` from 0.19.0 to 0.20.0
- [Commits](https://github.com/golang/sys/compare/v0.19.0...v0.20.0 )
---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
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>
2024-05-20 02:50:01 +00:00
dependabot[bot]
1868e4fe2d
Merge pull request #1035 from containernetworking/dependabot/github_actions/golangci/golangci-lint-action-6
2024-05-16 15:45:32 +00:00
dependabot[bot]
5c95925a71
build(deps): bump golangci/golangci-lint-action from 4 to 6
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 4 to 6.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v4...v6 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-16 15:35:37 +00:00
dependabot[bot]
505f5a7def
Merge pull request #1042 from containernetworking/dependabot/go_modules/golang-e5a06e9046
2024-05-16 13:27:36 +00:00
dependabot[bot]
dc8b8289fa
build(deps): bump the golang group across 1 directory with 4 updates
...
Bumps the golang group with 2 updates in the / directory: [github.com/Microsoft/hcsshim](https://github.com/Microsoft/hcsshim ) and [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo ).
Updates `github.com/Microsoft/hcsshim` from 0.12.2 to 0.12.3
- [Release notes](https://github.com/Microsoft/hcsshim/releases )
- [Commits](https://github.com/Microsoft/hcsshim/compare/v0.12.2...v0.12.3 )
Updates `github.com/onsi/ginkgo/v2` from 2.17.1 to 2.17.3
- [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.17.1...v2.17.3 )
Updates `github.com/onsi/gomega` from 1.32.0 to 1.33.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.32.0...v1.33.0 )
Updates `golang.org/x/sys` from 0.18.0 to 0.19.0
- [Commits](https://github.com/golang/sys/compare/v0.18.0...v0.19.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
- 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>
2024-05-16 13:16:06 +00:00
Tomofumi Hayashi
196ed2d00e
Merge pull request #1040 from squeed/dependabot-dont-bump-cni
...
dependabot: don't automatically update cni packages
2024-05-16 22:14:58 +09:00
Tomofumi Hayashi
43139b3375
Merge branch 'main' into dependabot-dont-bump-cni
2024-05-16 21:43:34 +09:00
Tomofumi Hayashi
18d129f18b
Merge pull request #1039 from squeed/bump-go-version
...
build: bump release go version
2024-05-16 21:42:44 +09:00
Casey Callendrello
9397270f5e
dependabot: don't automatically update cni packages
...
We should manage their lifecycle separately.
Signed-off-by: Casey Callendrello <c1@caseyc.net>
2024-05-16 11:25:50 +02:00
Casey Callendrello
3656c69d0f
build: bump release go version
...
Signed-off-by: Casey Callendrello <c1@caseyc.net>
2024-05-16 11:22:33 +02:00
Casey Callendrello
3af6e6b61d
Merge pull request #1037 from s1061123/fix-buildversion
...
Fix release script in github action
2024-05-16 11:16:34 +02:00
Tomofumi Hayashi
427af8636f
Fix release script in github action
...
This changes adds BuildVersion linker flag in release to
fix CNI plugins output. Fixes #1019 .
Signed-off-by: Tomofumi Hayashi <tohayash@redhat.com>
2024-05-15 02:55:03 +09:00
Tomofumi Hayashi
dc704d19d6
Merge pull request #1034 from testwill/close_file
...
fix: close resolv.conf
2024-05-13 21:19:20 +09:00
Tomofumi Hayashi
45a24d5d95
Merge branch 'main' into close_file
2024-05-13 17:23:42 +09:00
Tomofumi Hayashi
c0533466c8
Merge pull request #1029 from samuelkarp/log-peer-veth-failure
...
ip: include peer name in error message
2024-05-13 17:23:30 +09:00
guangwu
ada798a3f7
fix: close resolv.conf
...
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
2024-05-08 20:38:15 +08:00
Samuel Karp
eb49a034c4
ip: include peer name in error message
...
If makeVeth fails as a peer exists, the existing peer name should be
included in the error message.
Signed-off-by: Samuel Karp <samuelkarp@google.com>
2024-04-26 15:49:08 -07:00
Tomofumi Hayashi
670139cffa
Merge pull request #1027 from containernetworking/dependabot/go_modules/golang.org/x/net-0.23.0
...
build(deps): bump golang.org/x/net from 0.20.0 to 0.23.0
2024-04-22 14:56:13 +09:00
dependabot[bot]
717b4337b5
build(deps): bump golang.org/x/net from 0.20.0 to 0.23.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.20.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.20.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-19 13:05:48 +00:00
Tomofumi Hayashi
ef076afac1
Merge pull request #921 from oOraph/dev/exclude_subnets_from_traffic_shapping2
...
Dev/exclude subnets from traffic shaping2
2024-04-09 00:08:02 +09:00
Tomofumi Hayashi
ccc1cfaa58
Simplify unit test
...
Signed-off-by: Tomofumi Hayashi <tohayash@redhat.com>
2024-04-08 15:42:20 +09:00
Raphael
78ebd8bfb9
minor case change
...
even if json unmarshalling in golang with the standard libs is case unsensitive regarding the keys
Signed-off-by: Raphael <oOraph@users.noreply.github.com>
2024-04-08 15:39:47 +09:00
Raphael
c666d1400d
bandwidth plugin: split unit tests in several files
...
Signed-off-by: Raphael <oOraph@users.noreply.github.com>
2024-04-08 15:39:47 +09:00
Raphael
ab0b386b4e
bandwidth: possibility to specify shaped subnets or to exclude some from shaping
...
Signed-off-by: Raphael <oOraph@users.noreply.github.com>
2024-04-08 15:39:47 +09:00
Raphael
52da39d3aa
bandwidth: possibility to exclude some subnets from traffic shaping
...
what changed:
we had to refactor the bandwidth plugin and switch from a classless qdisc (tbf)
to a classful qdisc (htb).
subnets are to be provided in config or runtimeconfig just like other parameters
unit and integration tests were also adapted in consequence
unrelated changes:
test fixes: the most important tests were just silently skipped due to ginkgo Measure deprecation
(the ones actually checking the effectiveness of the traffic control)
Signed-off-by: Raphael <oOraph@users.noreply.github.com>
2024-04-08 15:39:46 +09:00
Tomofumi Hayashi
597408952e
Merge pull request #1023 from containernetworking/dependabot/go_modules/golang-09a819dc01
...
build(deps): bump the golang group with 1 update
2024-04-03 20:45:59 +09:00
dependabot[bot]
6f05dc325a
build(deps): bump the golang group with 1 update
...
Bumps the golang group with 1 update: [github.com/Microsoft/hcsshim](https://github.com/Microsoft/hcsshim ).
Updates `github.com/Microsoft/hcsshim` from 0.12.1 to 0.12.2
- [Release notes](https://github.com/Microsoft/hcsshim/releases )
- [Commits](https://github.com/Microsoft/hcsshim/compare/v0.12.1...v0.12.2 )
---
updated-dependencies:
- dependency-name: github.com/Microsoft/hcsshim
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: golang
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-01 02:41:52 +00:00
Casey Callendrello
8ab3c63c2d
Merge pull request #1022 from containernetworking/dependabot/go_modules/golang-e423e5d544
...
build(deps): bump the golang group with 4 updates
2024-03-25 15:37:06 +01:00
dependabot[bot]
c464674317
build(deps): bump the golang group with 4 updates
...
Bumps the golang group with 4 updates: [github.com/Microsoft/hcsshim](https://github.com/Microsoft/hcsshim ), [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo ), [github.com/onsi/gomega](https://github.com/onsi/gomega ) and [golang.org/x/sys](https://github.com/golang/sys ).
Updates `github.com/Microsoft/hcsshim` from 0.12.0 to 0.12.1
- [Release notes](https://github.com/Microsoft/hcsshim/releases )
- [Commits](https://github.com/Microsoft/hcsshim/compare/v0.12.0...v0.12.1 )
Updates `github.com/onsi/ginkgo/v2` from 2.16.0 to 2.17.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.16.0...v2.17.1 )
Updates `github.com/onsi/gomega` from 1.31.1 to 1.32.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.31.1...v1.32.0 )
Updates `golang.org/x/sys` from 0.17.0 to 0.18.0
- [Commits](https://github.com/golang/sys/compare/v0.17.0...v0.18.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
- 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>
2024-03-25 02:15:46 +00:00
Tomofumi Hayashi
c860b78de4
Merge pull request #1003 from adrianchiris/support-sf
...
Support DeviceID on Auxiliary Bus
2024-03-12 21:05:16 +09:00
Tomofumi Hayashi
9f1bf2a848
Merge branch 'main' into support-sf
2024-03-12 20:51:56 +09:00
Tomofumi Hayashi
7567d28a73
Merge pull request #1002 from adrianchiris/use-temp-name
...
Use temporary name for netdevice when moving in/out of NS
2024-03-12 20:51:08 +09:00
adrianc
ba5bdafe5d
Use temporary name for netdevice when moving in/out of NS
...
Today, it is not possible to use host-device CNI to move a
host device to container namespace if a device already exists
in that namespace.
e.g when a delegate plugin (such as multus) is used to provide
multiple networks to a container, CNI Add call will fail if
the targeted host device name already exists in container network
namespace.
to overcome this, we use a temporary name for the interface before
moving it in/out of container network namespace.
Signed-off-by: adrianc <adrianc@nvidia.com>
2024-03-12 12:25:23 +02:00
adrianc
d34720b531
Support DeviceID on Auxiliary Bus
...
Device plugins may allocate network device on a bus
different than PCI.
sriov-network-device-plugin supports the allocation
of network devices over Auxiliary bus[1][2][3].
extend host-device CNI to support such devices if provided
through runtime config.
- Check if device provided by DeviceID runtime config
is present on either PCI bus or Auxiliary bus
- extend getLink method to support getting netdev link obj
from auxiliary bus
- add unit-test to cover the new flow
[1] https://github.com/k8snetworkplumbingwg/sriov-network-device-plugin/tree/master?tab=readme-ov-file#auxiliary-network-devices-selectors
[2] https://github.com/k8snetworkplumbingwg/sriov-network-device-plugin/tree/master/docs/subfunctions
[3] https://docs.kernel.org/networking/devlink/devlink-port.html
Signed-off-by: adrianc <adrianc@nvidia.com>
2024-03-12 12:09:29 +02:00
Tomofumi Hayashi
8fc26ce7a0
Merge pull request #991 from containernetworking/dependabot/docker/dot-github/actions/retest-action/alpine-3.19
...
build(deps): bump alpine from 3.18 to 3.19 in /.github/actions/retest-action
v1.4.1
2024-03-12 02:54:07 +09:00
Tomofumi Hayashi
c8d165df6d
Merge branch 'main' into dependabot/docker/dot-github/actions/retest-action/alpine-3.19
2024-03-12 02:27:00 +09:00
Casey Callendrello
1b5811957e
Merge pull request #1010 from containernetworking/dependabot/github_actions/actions/checkout-4
...
build(deps): bump actions/checkout from 3 to 4
2024-03-11 18:12:59 +01:00
dependabot[bot]
8a3014f202
build(deps): bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 17:03:59 +00:00
Casey Callendrello
019727a392
Merge pull request #1005 from austinvazquez/update-golangci-lint-action-package
...
Update golangci-lint-action package to v4
2024-03-11 18:03:14 +01:00
Austin Vazquez
352e0512e8
Update golangci-lint-action package to v4
...
This change updates golangci-lint-action package to v4 to resolve NodeJS
16 deprecation warnings.
Signed-off-by: Austin Vazquez <macedonv@amazon.com>
2024-03-11 17:52:02 +01:00
Austin Vazquez
9c016b5d12
Rename unused variables to resolve lint warnings
...
Signed-off-by: Austin Vazquez <macedonv@amazon.com>
2024-03-11 17:52:02 +01:00
Casey Callendrello
0729398940
Merge pull request #1017 from containernetworking/dependabot/go_modules/golang-6a70725da1
...
build(deps): bump the golang group with 5 updates
2024-03-11 17:50:33 +01:00
dependabot[bot]
394ab0d149
build(deps): bump the golang group with 5 updates
...
Bumps the golang group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [github.com/Microsoft/hcsshim](https://github.com/Microsoft/hcsshim ) | `0.11.4` | `0.12.0` |
| [github.com/alexflint/go-filemutex](https://github.com/alexflint/go-filemutex ) | `1.2.0` | `1.3.0` |
| [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo ) | `2.13.2` | `2.16.0` |
| [github.com/onsi/gomega](https://github.com/onsi/gomega ) | `1.30.0` | `1.31.1` |
| [golang.org/x/sys](https://github.com/golang/sys ) | `0.15.0` | `0.17.0` |
Updates `github.com/Microsoft/hcsshim` from 0.11.4 to 0.12.0
- [Release notes](https://github.com/Microsoft/hcsshim/releases )
- [Commits](https://github.com/Microsoft/hcsshim/compare/v0.11.4...v0.12.0 )
Updates `github.com/alexflint/go-filemutex` from 1.2.0 to 1.3.0
- [Release notes](https://github.com/alexflint/go-filemutex/releases )
- [Commits](https://github.com/alexflint/go-filemutex/compare/v1.2.0...v1.3.0 )
Updates `github.com/onsi/ginkgo/v2` from 2.13.2 to 2.16.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.13.2...v2.16.0 )
Updates `github.com/onsi/gomega` from 1.30.0 to 1.31.1
- [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.30.0...v1.31.1 )
Updates `golang.org/x/sys` from 0.15.0 to 0.17.0
- [Commits](https://github.com/golang/sys/compare/v0.15.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: github.com/Microsoft/hcsshim
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: golang
- dependency-name: github.com/alexflint/go-filemutex
dependency-type: direct:production
update-type: version-update:semver-minor
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
- 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>
2024-03-11 15:54:46 +00:00
Casey Callendrello
0144de0fcf
Merge pull request #1011 from containernetworking/dependabot/github_actions/actions/setup-go-5
...
build(deps): bump actions/setup-go from 3 to 5
2024-03-11 16:51:01 +01:00
dependabot[bot]
47373d2612
build(deps): bump actions/setup-go from 3 to 5
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 3 to 5.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v3...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>
2024-03-11 15:07:08 +00:00
Casey Callendrello
8e8410f726
Merge pull request #1006 from austinvazquez/update-go-in-ci
...
Update to Go v1.22 in CI and release
2024-03-11 16:06:20 +01:00
Austin Vazquez
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
Casey Callendrello
976edfe1bc
Merge pull request #1009 from adrianchiris/fix-lint-version
...
Fix version of golangci-lint
2024-03-11 15:51:56 +01:00