Skip to content

Commit 0e6b464

Browse files
authored
Cherry-pick: Use Go 1.24.0 in go module (#3835) (#3846)
1 parent 600a346 commit 0e6b464

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
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.24.2
6+
golang: 1.24.0
77

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

apiserver/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the backend service
2-
FROM golang:1.24.2-bullseye AS builder
2+
FROM golang:1.24.0-bullseye AS builder
33

44
WORKDIR /workspace
55

experimental/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build security proxy
2-
FROM golang:1.24.2-bullseye AS builder
2+
FROM golang:1.24.0-bullseye AS builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/ray-project/kuberay
22

3-
go 1.24.2
3+
go 1.24.0
44

55
require (
66
github.com/dustinkirkland/golang-petname v0.0.0-20240428194347-eebcea082ee0

proto/Dockerfile

Lines changed: 1 addition & 1 deletion
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.24.2-bullseye AS generator
2+
FROM golang:1.24.0-bullseye AS generator
33

44
ENV PROTOC_VERSION 3.17.3
55
ENV GOLANG_PROTOBUF_VERSION v1.5.2

ray-operator/DEVELOPMENT.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ For local development, we recommend using [Kind](https://kind.sigs.k8s.io/) to c
2424
Currently, KubeRay uses go v1.24 for development.
2525

2626
```bash
27-
go install golang.org/dl/go1.24.2@latest
28-
go1.24.2 download
29-
export GOROOT=$(go1.24.2 env GOROOT)
27+
go install golang.org/dl/go1.24.0@latest
28+
go1.24.0 download
29+
export GOROOT=$(go1.24.0 env GOROOT)
3030
export PATH="$GOROOT/bin:$PATH"
3131
```
3232

ray-operator/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM golang:1.24.2-bullseye AS builder
2+
FROM golang:1.24.0-bullseye AS builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests

ray-operator/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/ray-project/kuberay/ray-operator
22

3-
go 1.24.2
3+
go 1.24.0
44

55
require (
66
github.com/Masterminds/semver/v3 v3.3.1

0 commit comments

Comments
 (0)