Skip to content

Commit af8b7b4

Browse files
committed
Update Go version to 1.23
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent 315ea5b commit af8b7b4

File tree

2,615 files changed

+195743
-98338
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,615 files changed

+195743
-98338
lines changed

.github/workflows/build.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,24 @@ jobs:
1313
- uses: actions/checkout@master
1414

1515
- name: Set up QEMU
16-
uses: docker/setup-qemu-action@v2
16+
uses: docker/setup-qemu-action@v3
1717
- name: Set up Docker Buildx
18-
uses: docker/setup-buildx-action@v2
18+
uses: docker/setup-buildx-action@v3
1919

2020
- name: Get Repo Owner
2121
id: get_repo_owner
2222
run: echo "REPO_OWNER=$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')" > $GITHUB_ENV
2323

2424
- name: Build multi-arch containers for validation only
25-
uses: docker/build-push-action@v3
25+
uses: docker/build-push-action@v6
2626
with:
2727
context: .
2828
file: ./Dockerfile
2929
outputs: "type=image,push=false"
3030
build-args: |
3131
VERSION=latest-dev
3232
GIT_COMMIT=${{ github.sha }}
33-
platforms: linux/amd64,linux/arm/v7,linux/arm64
33+
platforms: linux/amd64,linux/arm64
3434
tags: |
3535
ghcr.io/${{ env.REPO_OWNER }}/ingress-operator:${{ github.sha }}
3636

.github/workflows/publish.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@master
2222
- name: Set up QEMU
23-
uses: docker/setup-qemu-action@v2
23+
uses: docker/setup-qemu-action@v3
2424
- name: Set up Docker Buildx
25-
uses: docker/setup-buildx-action@v2
25+
uses: docker/setup-buildx-action@v3
2626
- name: Login to Docker Registry
27-
uses: docker/login-action@v2
27+
uses: docker/login-action@v3
2828
with:
2929
username: ${{ github.repository_owner }}
3030
password: ${{ secrets.GITHUB_TOKEN }}
@@ -45,12 +45,12 @@ jobs:
4545
run: echo "REPO_OWNER=$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')" > $GITHUB_ENV
4646

4747
- name: Push containers
48-
uses: docker/build-push-action@v3
48+
uses: docker/build-push-action@v6
4949
with:
5050
context: .
5151
file: ./Dockerfile
5252
outputs: "type=registry,push=true"
53-
platforms: linux/amd64,linux/arm/v7,linux/arm64
53+
platforms: linux/amd64,linux/arm64
5454
build-args: |
5555
GIT_COMMIT=${{env.GIT_COMMIT}}
5656
VERSION=${{env.VERSION}}

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM --platform=${BUILDPLATFORM:-linux/amd64} ghcr.io/openfaas/license-check:0.4.2 as license-check
2-
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.21 as builder
2+
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.23 as builder
33

44
ARG TARGETPLATFORM
55
ARG BUILDPLATFORM

go.mod

+36-29
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,66 @@
11
module github.com/openfaas/ingress-operator
22

3-
go 1.20
3+
go 1.23.0
4+
5+
toolchain go1.23.3
46

57
require (
68
github.com/google/go-cmp v0.6.0
79
github.com/pkg/errors v0.9.1
8-
k8s.io/api v0.28.3
9-
k8s.io/apimachinery v0.28.3
10-
k8s.io/client-go v0.28.3
11-
k8s.io/code-generator v0.28.3
10+
k8s.io/api v0.32.1
11+
k8s.io/apimachinery v0.32.1
12+
k8s.io/client-go v0.32.1
13+
k8s.io/code-generator v0.32.1
1214
k8s.io/klog v1.0.0
13-
sigs.k8s.io/structured-merge-diff/v4 v4.2.3
15+
sigs.k8s.io/structured-merge-diff/v4 v4.5.0
1416
)
1517

1618
require (
17-
github.com/davecgh/go-spew v1.1.1 // indirect
18-
github.com/emicklei/go-restful/v3 v3.9.0 // indirect
19+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
20+
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
1921
github.com/evanphx/json-patch v5.6.0+incompatible // indirect
20-
github.com/go-logr/logr v1.2.4 // indirect
21-
github.com/go-openapi/jsonpointer v0.19.6 // indirect
22+
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
23+
github.com/go-logr/logr v1.4.2 // indirect
24+
github.com/go-openapi/jsonpointer v0.21.0 // indirect
2225
github.com/go-openapi/jsonreference v0.20.2 // indirect
23-
github.com/go-openapi/swag v0.22.3 // indirect
26+
github.com/go-openapi/swag v0.23.0 // indirect
2427
github.com/gogo/protobuf v1.3.2 // indirect
2528
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
26-
github.com/golang/protobuf v1.5.3 // indirect
29+
github.com/golang/protobuf v1.5.4 // indirect
2730
github.com/google/gnostic-models v0.6.8 // indirect
2831
github.com/google/gofuzz v1.2.0 // indirect
29-
github.com/google/uuid v1.3.0 // indirect
32+
github.com/google/uuid v1.6.0 // indirect
3033
github.com/imdario/mergo v0.3.6 // indirect
3134
github.com/josharian/intern v1.0.0 // indirect
3235
github.com/json-iterator/go v1.1.12 // indirect
3336
github.com/mailru/easyjson v0.7.7 // indirect
3437
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
3538
github.com/modern-go/reflect2 v1.0.2 // indirect
3639
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
37-
github.com/onsi/ginkgo/v2 v2.11.0 // indirect
38-
github.com/onsi/gomega v1.27.10 // indirect
40+
github.com/onsi/ginkgo/v2 v2.21.0 // indirect
41+
github.com/onsi/gomega v1.35.1 // indirect
3942
github.com/spf13/pflag v1.0.5 // indirect
40-
golang.org/x/mod v0.12.0 // indirect
41-
golang.org/x/net v0.17.0 // indirect
42-
golang.org/x/oauth2 v0.8.0 // indirect
43-
golang.org/x/sys v0.13.0 // indirect
44-
golang.org/x/term v0.13.0 // indirect
45-
golang.org/x/text v0.13.0 // indirect
46-
golang.org/x/time v0.3.0 // indirect
47-
golang.org/x/tools v0.12.0 // indirect
43+
github.com/x448/float16 v0.8.4 // indirect
44+
golang.org/x/mod v0.21.0 // indirect
45+
golang.org/x/net v0.30.0 // indirect
46+
golang.org/x/oauth2 v0.23.0 // indirect
47+
golang.org/x/sync v0.8.0 // indirect
48+
golang.org/x/sys v0.26.0 // indirect
49+
golang.org/x/term v0.25.0 // indirect
50+
golang.org/x/text v0.19.0 // indirect
51+
golang.org/x/time v0.7.0 // indirect
52+
golang.org/x/tools v0.26.0 // indirect
4853
google.golang.org/appengine v1.6.7 // indirect
49-
google.golang.org/protobuf v1.30.0 // indirect
54+
google.golang.org/protobuf v1.35.1 // indirect
55+
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
5056
gopkg.in/inf.v0 v0.9.1 // indirect
5157
gopkg.in/yaml.v2 v2.4.0 // indirect
5258
gopkg.in/yaml.v3 v3.0.1 // indirect
5359
k8s.io/gengo v0.0.0-20220902162205-c0856e24416d // indirect
54-
k8s.io/klog/v2 v2.100.1 // indirect
55-
k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 // indirect
56-
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 // indirect
57-
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
58-
sigs.k8s.io/yaml v1.3.0 // indirect
60+
k8s.io/gengo/v2 v2.0.0-20240911193312-2b36238f13e9 // indirect
61+
k8s.io/klog/v2 v2.130.1 // indirect
62+
k8s.io/kube-openapi v0.0.0-20241105132330-32ad38e42d3f // indirect
63+
k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738 // indirect
64+
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 // indirect
65+
sigs.k8s.io/yaml v1.4.0 // indirect
5966
)

0 commit comments

Comments
 (0)