Skip to content

Commit 37cf2ac

Browse files
authored
[Feature] Upgrade golang version (#3461)
1 parent a361dc3 commit 37cf2ac

File tree

15 files changed

+25
-25
lines changed

15 files changed

+25
-25
lines changed

.buildkite/test-e2e.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
- label: 'Test E2E (nightly operator)'
22
instance_size: large
3-
image: golang:1.23
3+
image: golang:1.24
44
commands:
55
- source .buildkite/setup-env.sh
66
- kind create cluster --wait 900s --config ./ci/kind-config-buildkite.yml
@@ -18,7 +18,7 @@
1818

1919
- label: 'Test E2E rayservice (nightly operator)'
2020
instance_size: large
21-
image: golang:1.23
21+
image: golang:1.24
2222
commands:
2323
- source .buildkite/setup-env.sh
2424
- kind create cluster --wait 900s --config ./ci/kind-config-buildkite.yml
@@ -36,7 +36,7 @@
3636

3737
- label: 'Test Autoscaler E2E (nightly operator)'
3838
instance_size: large
39-
image: golang:1.23
39+
image: golang:1.24
4040
commands:
4141
- source .buildkite/setup-env.sh
4242
- kind create cluster --wait 900s --config ./ci/kind-config-buildkite.yml
@@ -54,7 +54,7 @@
5454

5555
- label: 'Test E2E Operator Version Upgrade (v1.3.0)'
5656
instance_size: large
57-
image: golang:1.23
57+
image: golang:1.24
5858
commands:
5959
- source .buildkite/setup-env.sh
6060
- kind create cluster --wait 900s --config ./ci/kind-config-buildkite.yml
@@ -71,7 +71,7 @@
7171

7272
- label: 'Test Apiserver E2E (nightly operator)'
7373
instance_size: large
74-
image: golang:1.23
74+
image: golang:1.24
7575
commands:
7676
- source .buildkite/setup-env.sh
7777
- kind create cluster --wait 900s --config ./ci/kind-config-buildkite-e2e-apiserver.yml

.buildkite/test-kubectl-plugin-e2e.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
- label: 'Test E2E (kubectl-plugin)'
22
instance_size: large
3-
image: golang:1.23
3+
image: golang:1.24
44
commands:
55
- source .buildkite/setup-env.sh
66
- kind create cluster --wait 900s --config ./ci/kind-config-buildkite.yml

.buildkite/test-sample-yamls.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
- label: 'Test Sample YAMLs (nightly operator)'
22
instance_size: large
3-
image: golang:1.23
3+
image: golang:1.24
44
commands:
55
- source .buildkite/setup-env.sh
66
- kind create cluster --wait 900s --config ./ci/kind-config-buildkite.yml
@@ -21,7 +21,7 @@
2121

2222
- label: 'Test Sample YAMLs (latest release)'
2323
instance_size: large
24-
image: golang:1.23
24+
image: golang:1.24
2525
commands:
2626
- source .buildkite/setup-env.sh
2727
- kind create cluster --wait 900s --config ./ci/kind-config-buildkite.yml

.github/workflows/kubectl-plugin-release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup Go
1919
uses: actions/setup-go@v5
2020
with:
21-
go-version: '1.23'
21+
go-version: '1.24'
2222
- name: GoReleaser
2323
uses: goreleaser/goreleaser-action@v6
2424
with:

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
exclude: _generated.go$|\.svg$|^third_party/|^proto/swagger/|^apiserver/pkg/swagger/datafile.go$|^docs/reference/api.md$|^config/grafana/
44

55
default_language_version:
6-
golang: 1.23.2
6+
golang: 1.24.2
77

88
repos:
99
- repo: https://github.com/pre-commit/pre-commit-hooks

apiserver/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the backend service
2-
FROM golang:1.23.6-bullseye AS builder
2+
FROM golang:1.24.2-bullseye AS builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests

apiserver/go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/ray-project/kuberay/apiserver
22

3-
go 1.23.0
3+
go 1.24.0
44

5-
toolchain go1.23.2
5+
toolchain go1.24.2
66

77
require (
88
github.com/pkg/errors v0.9.1

apiserver/pkg/util/error.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ func Wrap(err error, message string) error {
193193
return userErr.wrap(message)
194194
}
195195

196-
return errors.Wrapf(err, message)
196+
return errors.Wrapf(err, "%s", message)
197197
}
198198

199199
func LogError(err error) {

experimental/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build security proxy
2-
FROM golang:1.23.6-bullseye AS builder
2+
FROM golang:1.24.2-bullseye AS builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests

experimental/go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/ray-project/kuberay/security
22

3-
go 1.23.0
3+
go 1.24.0
44

5-
toolchain go1.23.2
5+
toolchain go1.24.2
66

77
require (
88
google.golang.org/grpc v1.64.1

kubectl-plugin/go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/ray-project/kuberay/kubectl-plugin
22

3-
go 1.23.0
3+
go 1.24.0
44

5-
toolchain go1.23.2
5+
toolchain go1.24.2
66

77
require (
88
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510

proto/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Generate client code (go & json) from API protocol buffers
2-
FROM golang:1.23.6-bullseye AS generator
2+
FROM golang:1.24.2-bullseye AS generator
33

44
ENV PROTOC_VERSION 3.17.3
55
ENV GOLANG_PROTOBUF_VERSION v1.5.2

proto/go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/ray-project/kuberay/proto
22

3-
go 1.23.0
3+
go 1.24.0
44

5-
toolchain go1.23.2
5+
toolchain go1.24.2
66

77
require (
88
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0

ray-operator/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM golang:1.23.6-bullseye AS builder
2+
FROM golang:1.24.2-bullseye AS builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests

ray-operator/go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/ray-project/kuberay/ray-operator
22

3-
go 1.23.0
3+
go 1.24.0
44

5-
toolchain go1.23.2
5+
toolchain go1.24.2
66

77
replace github.com/imdario/mergo => github.com/imdario/mergo v0.3.16
88

0 commit comments

Comments
 (0)