Skip to content

Commit dbdb22d

Browse files
authored
chore: upgrade go toolchain to 1.23 (#3022)
* chore: update to go1.23 Signed-off-by: Evan Baker <[email protected]> * set bpf-prog back to debian base image Signed-off-by: Evan Baker <[email protected]> --------- Signed-off-by: Evan Baker <[email protected]>
1 parent 2f246d1 commit dbdb22d

File tree

23 files changed

+43
-28
lines changed

23 files changed

+43
-28
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VARIANT="1.22"
1+
ARG VARIANT="1.23"
22
FROM mcr.microsoft.com/vscode/devcontainers/go:${VARIANT}
33
RUN apt-get update && \
44
export DEBIAN_FRONTEND=noninteractive && \

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"build": {
66
"dockerfile": "Dockerfile",
77
"args": {
8-
"VARIANT": "1.22-bullseye",
8+
"VARIANT": "1.23-bullseye",
99
"NODE_VERSION": "none"
1010
}
1111
},

.github/workflows/codeql.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Setup go
3636
uses: actions/setup-go@v5
3737
with:
38-
go-version: "1.22"
38+
go-version: "1.23"
3939
check-latest: true
4040
- name: Checkout repository
4141
uses: actions/checkout@v4

.github/workflows/crdgen.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
crdgen:
1515
strategy:
1616
matrix:
17-
go-version: ['1.21', '1.22']
17+
go-version: ['1.22', '1.23']
1818
os: [ubuntu-latest]
1919
name: CRDs are Generated
2020
runs-on: ${{ matrix.os }}
@@ -31,5 +31,9 @@ jobs:
3131
run: make -C crd/multitenantnetworkcontainer
3232
- name: Regenerate Multitenancy CRDs
3333
run: make -C crd/multitenancy
34+
- name: Regenerate ClusterSubnetState CRD
35+
run: make -C crd/clustersubnetstate
36+
- name: Regenerate OverlayExtensionConfig CRD
37+
run: make -C crd/overlayextensionconfig
3438
- name: Fail if the tree is dirty
3539
run: test -z "$(git status --porcelain)"

.github/workflows/cyclonus-netpol-extended-nightly-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
- uses: actions/setup-go@v5
2828
with:
29-
go-version: "^1.22"
29+
go-version: "^1.23"
3030

3131
- name: Setup Kind
3232
uses: engineerd/[email protected]

.github/workflows/cyclonus-netpol-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
- uses: actions/setup-go@v5
3535
with:
36-
go-version: '^1.22'
36+
go-version: '^1.23'
3737

3838
- name: Setup Kind
3939
uses: helm/kind-action@v1

.github/workflows/golangci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
go-version: ['1.21.x', '1.22.x']
18+
go-version: ['1.22.x', '1.23.x']
1919
os: [ubuntu-latest, windows-latest]
2020
name: Lint
2121
runs-on: ${{ matrix.os }}
@@ -29,5 +29,5 @@ jobs:
2929
- name: golangci-lint
3030
uses: golangci/golangci-lint-action@v6
3131
with:
32-
version: v1.55
32+
version: v1.61
3333
args: --new-from-rev=origin/master --config=.golangci.yml --timeout=25m

azure-ipam/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ ARG DROPGZ_VERSION=v0.0.12
33
ARG OS_VERSION
44
ARG OS
55

6-
# skopeo inspect docker://mcr.microsoft.com/oss/go/microsoft/golang:1.22-cbl-mariner2.0 --format "{{.Name}}@{{.Digest}}"
7-
FROM --platform=linux/${ARCH} mcr.microsoft.com/oss/go/microsoft/golang@sha256:c062e5e23f2d172a8fd590adcd171499af7005cae344a36284255f26e5ce4f8a AS go
6+
# skopeo inspect docker://mcr.microsoft.com/oss/go/microsoft/golang:1.23.2-cbl-mariner2.0 --format "{{.Name}}@{{.Digest}}"
7+
FROM --platform=linux/${ARCH} mcr.microsoft.com/oss/go/microsoft/golang@sha256:f8613198423d5cb702961f1547f9cb061f8da1c6ca9ce8da4824eb47db663cd7 AS go
88

99
# skopeo inspect docker://mcr.microsoft.com/cbl-mariner/base/core:2.0 --format "{{.Name}}@{{.Digest}}"
1010
FROM --platform=linux/${ARCH} mcr.microsoft.com/cbl-mariner/base/core@sha256:a490e0b0869dc570ae29782c2bc17643aaaad1be102aca83ce0b96e0d0d2d328 AS mariner-core

azure-ipam/go.mod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module github.com/Azure/azure-container-networking/azure-ipam
22

3-
go 1.22
3+
go 1.23
4+
5+
toolchain go1.23.2
46

57
require (
68
github.com/Azure/azure-container-networking v1.5.21

bpf-prog/ipv6-hp-bpf/go.mod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module github.com/Azure/azure-container-networking/bpf-prog/ipv6-hp-bpf
22

3-
go 1.21.6
3+
go 1.23
4+
5+
toolchain go1.23.2
46

57
require (
68
github.com/cilium/ebpf v0.15.0

0 commit comments

Comments
 (0)