Skip to content

Commit e2c3632

Browse files
ronethingAlinsRan
andauthored
backport: apisix ingress pr #2480 #2473 #2492 (#206)
Signed-off-by: ashing <[email protected]> Co-authored-by: AlinsRan <[email protected]>
1 parent 007fe7e commit e2c3632

37 files changed

+617
-151
lines changed

.github/workflows/apisix-conformance-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
id: go
4747
uses: actions/setup-go@v4
4848
with:
49-
go-version: "1.22"
49+
go-version: "1.23"
5050

5151
- name: Install kind
5252
run: |
@@ -71,7 +71,7 @@ jobs:
7171
- name: Setup Go Env
7272
uses: actions/setup-go@v4
7373
with:
74-
go-version: "1.22"
74+
go-version: "1.23"
7575

7676
- name: Login to Registry
7777
uses: docker/login-action@v1

.github/workflows/apisix-e2e-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
id: go
4444
uses: actions/setup-go@v4
4545
with:
46-
go-version: "1.22"
46+
go-version: "1.23"
4747

4848
- name: Install kind
4949
run: |
@@ -71,7 +71,7 @@ jobs:
7171
- name: Setup Go Env
7272
uses: actions/setup-go@v4
7373
with:
74-
go-version: "1.22"
74+
go-version: "1.23"
7575

7676
- name: Login to Registry
7777
uses: docker/login-action@v1

.github/workflows/conformance-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
id: go
4444
uses: actions/setup-go@v4
4545
with:
46-
go-version: "1.22"
46+
go-version: "1.23"
4747

4848
- name: Install kind
4949
run: |
@@ -69,7 +69,7 @@ jobs:
6969
- name: Setup Go Env
7070
uses: actions/setup-go@v4
7171
with:
72-
go-version: "1.22"
72+
go-version: "1.23"
7373
- name: Login to Registry
7474
uses: docker/login-action@v1
7575
with:

.github/workflows/e2e-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
id: go
4444
uses: actions/setup-go@v4
4545
with:
46-
go-version: "1.22"
46+
go-version: "1.23"
4747

4848
- name: Install kind
4949
run: |
@@ -58,7 +58,7 @@ jobs:
5858
e2e-test:
5959
needs:
6060
- prepare
61-
runs-on: buildjet-2vcpu-ubuntu-2204
61+
runs-on: buildjet-4vcpu-ubuntu-2204
6262
steps:
6363
- name: Checkout
6464
uses: actions/checkout@v4
@@ -68,7 +68,7 @@ jobs:
6868
- name: Setup Go Env
6969
uses: actions/setup-go@v4
7070
with:
71-
go-version: "1.22"
71+
go-version: "1.23"
7272

7373
- name: Login to Registry
7474
uses: docker/login-action@v1

.github/workflows/golangci-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Setup Go Env
3737
uses: actions/setup-go@v4
3838
with:
39-
go-version: "1.22"
39+
go-version: "1.23"
4040

4141
- name: check go path for debug
4242
run: go env

.github/workflows/push-docker-v2-dev.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Setup Go Env
3636
uses: actions/setup-go@v4
3737
with:
38-
go-version: "1.22"
38+
go-version: "1.23"
3939

4040
# - name: Set up QEMU
4141
# uses: docker/setup-qemu-action@v3

.github/workflows/push-docker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Setup Go Env
3434
uses: actions/setup-go@v4
3535
with:
36-
go-version: "1.22"
36+
go-version: "1.23"
3737

3838
- name: Set up QEMU
3939
uses: docker/setup-qemu-action@v3

.github/workflows/unit-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Setup Go Env
3737
uses: actions/setup-go@v4
3838
with:
39-
go-version: "1.22"
39+
go-version: "1.23"
4040
- name: Run unit test
4141
working-directory: ./
4242
run: |

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The APISIX Ingress Controller allows you to run the APISIX Gateway as a Kubernet
1515

1616
### Prerequisites
1717

18-
* go version v1.22.0+
18+
* go version v1.23.0+
1919
* docker version 17.03+.
2020
* kubectl version v1.11.3+.
2121
* Access to a Kubernetes v1.11.3+ cluster.

go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
module github.com/apache/apisix-ingress-controller
22

3-
go 1.22.0
3+
go 1.23.0
44

5-
toolchain go1.22.5
5+
toolchain go1.23.7
66

77
require (
88
github.com/Masterminds/sprig/v3 v3.2.3
99
github.com/api7/gopkg v0.2.1-0.20230601092738-0f3730f9b57a
1010
github.com/gavv/httpexpect/v2 v2.16.0
1111
github.com/go-logr/logr v1.4.2
1212
github.com/go-logr/zapr v1.3.0
13+
github.com/google/go-cmp v0.6.0
1314
github.com/google/uuid v1.6.0
1415
github.com/gruntwork-io/terratest v0.47.0
1516
github.com/hashicorp/go-memdb v1.3.4
@@ -18,6 +19,7 @@ require (
1819
github.com/onsi/ginkgo/v2 v2.20.0
1920
github.com/onsi/gomega v1.34.1
2021
github.com/pkg/errors v0.9.1
22+
github.com/prometheus/client_golang v1.19.1
2123
github.com/samber/lo v1.47.0
2224
github.com/spf13/cobra v1.8.1
2325
github.com/stretchr/testify v1.9.0
@@ -99,7 +101,6 @@ require (
99101
github.com/google/btree v1.1.2 // indirect
100102
github.com/google/cel-go v0.20.1 // indirect
101103
github.com/google/gnostic-models v0.6.8 // indirect
102-
github.com/google/go-cmp v0.6.0 // indirect
103104
github.com/google/go-querystring v1.1.0 // indirect
104105
github.com/google/gofuzz v1.2.0 // indirect
105106
github.com/google/pprof v0.0.0-20240727154555-813a5fbdbec8 // indirect
@@ -152,7 +153,6 @@ require (
152153
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
153154
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
154155
github.com/pquerna/otp v1.2.0 // indirect
155-
github.com/prometheus/client_golang v1.19.1 // indirect
156156
github.com/prometheus/client_model v0.6.1 // indirect
157157
github.com/prometheus/common v0.55.0 // indirect
158158
github.com/prometheus/procfs v0.15.1 // indirect

0 commit comments

Comments
 (0)