Skip to content

Commit 2922805

Browse files
Merge pull request #167 from SchSeba/merge-bot-master
Merge https://github.com/k8snetworkplumbingwg/sriov-cni:master into main
2 parents 9d796d3 + 9c82d87 commit 2922805

20 files changed

+418
-215
lines changed

.github/workflows/buildtest.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ jobs:
1212
go-version: [1.24.x]
1313
os: [ubuntu-24.04]
1414
goos: [linux]
15-
goarch: [amd64, arm64, ppc64le]
15+
goarch: [amd64, arm64, ppc64le, s390x]
1616
runs-on: ${{ matrix.os }}
1717
steps:
1818
- name: Set up Go
19-
uses: actions/setup-go@v5
19+
uses: actions/setup-go@v6
2020
with:
2121
go-version: ${{ matrix.go-version }}
2222

2323
- name: Check out code into the Go module directory
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@v6
2525

2626
- name: Build test for ${{ matrix.goarch }}
2727
env:
@@ -46,7 +46,7 @@ jobs:
4646
sudo chmod -R a+rwx test/integration/tmp/*
4747
find test/integration/tmp -name "*:*" -exec bash -c 'mv $0 ${0//:/_}' {} \;
4848
49-
- uses: actions/upload-artifact@v5
49+
- uses: actions/upload-artifact@v6
5050
if: always()
5151
with:
5252
name: test-integration- ${{ matrix.goarch }}
@@ -58,12 +58,12 @@ jobs:
5858
name: coverage
5959
steps:
6060
- name: Set up Go
61-
uses: actions/setup-go@v5
61+
uses: actions/setup-go@v6
6262
with:
6363
go-version: 1.24.x
6464

6565
- name: Check out code
66-
uses: actions/checkout@v4
66+
uses: actions/checkout@v6
6767

6868
- name: Go test with coverage
6969
run: sudo make test-coverage test-integration merge-test-coverage
@@ -83,13 +83,13 @@ jobs:
8383
TEST_REPORT_PATH: k8s-artifacts
8484
steps:
8585
- name: Check out the repo
86-
uses: actions/checkout@v4
86+
uses: actions/checkout@v6
8787

8888
- name: build sriov-cni image
8989
run: podman build -t ghaction-sriov-cni:pr-${{github.event.pull_request.number}} .
9090

9191
- name: Check out sriov operator's code
92-
uses: actions/checkout@v4
92+
uses: actions/checkout@v6
9393
with:
9494
repository: k8snetworkplumbingwg/sriov-network-operator
9595
path: sriov-network-operator-wc
@@ -101,7 +101,7 @@ jobs:
101101
env:
102102
LOCAL_SRIOV_CNI_IMAGE: ghaction-sriov-cni:pr-${{github.event.pull_request.number}}
103103

104-
- uses: actions/upload-artifact@v5
104+
- uses: actions/upload-artifact@v6
105105
if: always()
106106
with:
107107
name: ${{ env.TEST_REPORT_PATH }}

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@ jobs:
2424

2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@v6
2828

2929
- name: Initialize CodeQL
30-
uses: github/codeql-action/init@v3
30+
uses: github/codeql-action/init@v4
3131
with:
3232
languages: ${{ matrix.language }}
3333
queries: +security-and-quality
3434

3535
- name: Autobuild
36-
uses: github/codeql-action/autobuild@v3
36+
uses: github/codeql-action/autobuild@v4
3737

3838
- name: Perform CodeQL Analysis
39-
uses: github/codeql-action/analyze@v3
39+
uses: github/codeql-action/analyze@v4
4040
with:
4141
category: "/language:${{ matrix.language }}"

.github/workflows/image-push-master.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-24.04
1414
steps:
1515
- name: Check out the repo
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v6
1717

1818
- name: Set up QEMU
1919
uses: docker/setup-qemu-action@v3
@@ -39,7 +39,7 @@ jobs:
3939
with:
4040
context: .
4141
push: true
42-
platforms: linux/amd64,linux/arm64,linux/ppc64le
42+
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x
4343
tags: |
4444
${{ env.IMAGE_NAME }}:latest
4545
${{ env.IMAGE_NAME }}:${{ github.sha }}

.github/workflows/image-push-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: image build and push on release
1414
steps:
1515
- name: Check out the repo
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v6
1717

1818
- name: Set up QEMU
1919
uses: docker/setup-qemu-action@v3
@@ -43,9 +43,9 @@ jobs:
4343
with:
4444
context: .
4545
push: true
46-
platforms: linux/amd64,linux/arm64,linux/ppc64le
46+
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x
4747
tags: |
4848
${{ steps.docker_meta.outputs.tags }}
4949
labels: |
50-
${{ steps.meta.outputs.labels }}
50+
${{ steps.docker_meta.outputs.labels }}
5151
file: ./Dockerfile

.github/workflows/static-scan.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ jobs:
66
runs-on: ubuntu-24.04
77
steps:
88
- name: Set up Go
9-
uses: actions/setup-go@v5
9+
uses: actions/setup-go@v6
1010
with:
1111
go-version: "1.24"
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v6
1313
- name: run make lint
1414
run: make lint
1515
shellcheck:
1616
name: Shellcheck
1717
runs-on: ubuntu-24.04
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v6
2020
- name: Run ShellCheck
2121
uses: ludeeus/action-shellcheck@master
2222
with:
@@ -25,8 +25,8 @@ jobs:
2525
runs-on: ubuntu-24.04
2626
name: Hadolint
2727
steps:
28-
- uses: actions/checkout@v4
29-
- uses: hadolint/hadolint-action@v3.1.0
28+
- uses: actions/checkout@v6
29+
- uses: hadolint/hadolint-action@v3.3.0
3030
name: Run Hadolint
3131
with:
3232
dockerfile: Dockerfile

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.24-alpine as builder
1+
FROM golang:1.25-alpine as builder
22

33
COPY . /usr/src/sriov-cni
44

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
github.com/k8snetworkplumbingwg/cni-log v0.0.0-20230801160229-b6e062c9e0f2
99
github.com/onsi/ginkgo/v2 v2.27.2
1010
github.com/onsi/gomega v1.38.2
11-
github.com/stretchr/testify v1.10.0
11+
github.com/stretchr/testify v1.11.1
1212
github.com/vishvananda/netlink v1.3.1
1313
golang.org/x/net v0.47.0
1414
golang.org/x/sys v0.38.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ github.com/safchain/ethtool v0.6.2 h1:O3ZPFAKEUEfbtE6J/feEe2Ft7dIJ2Sy8t4SdMRiIMH
5454
github.com/safchain/ethtool v0.6.2/go.mod h1:VS7cn+bP3Px3rIq55xImBiZGHVLNyBh5dqG6dDQy8+I=
5555
github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
5656
github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
57-
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
58-
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
57+
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
58+
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
5959
github.com/tidwall/gjson v1.18.0 h1:FIDeeyB800efLX89e5a8Y0BNH+LOngJyGrIWxG2FKQY=
6060
github.com/tidwall/gjson v1.18.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
6161
github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA=

vendor/github.com/stretchr/testify/assert/assertion_compare.go

Lines changed: 14 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/stretchr/testify/assert/assertion_format.go

Lines changed: 38 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)