Skip to content

Commit b0225b3

Browse files
ChristianZaccariaastefanutti
authored andcommitted
DROP: Upgrade go version to 1.22.2
1 parent 9234fa9 commit b0225b3

File tree

21 files changed

+61
-39
lines changed

21 files changed

+61
-39
lines changed

.buildkite/test-sample-yamls.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
- label: 'Test RayCluster Sample YAMLs (nightly operator)'
44
instance_size: large
5-
image: golang:1.20
5+
image: golang:1.22.2
66
commands:
77
- ./.buildkite/setup-env.sh
88
# Build nightly KubeRay operator image
@@ -14,15 +14,15 @@
1414

1515
- label: 'Test RayCluster Sample YAMLs (latest release)'
1616
instance_size: large
17-
image: golang:1.20
17+
image: golang:1.22.2
1818
commands:
1919
- ./.buildkite/setup-env.sh
2020
# Use KubeRay operator image from the latest release
2121
- source .venv/bin/activate && BUILDKITE_ENV=true OPERATOR_IMAGE=quay.io/kuberay/operator:v1.0.0 python3 tests/test_sample_raycluster_yamls.py
2222

2323
- label: 'Test RayJob Sample YAMLs (nightly operator)'
2424
instance_size: large
25-
image: golang:1.20
25+
image: golang:1.22.2
2626
commands:
2727
- ./.buildkite/setup-env.sh
2828
# Build nightly KubeRay operator image
@@ -34,15 +34,15 @@
3434

3535
- label: 'Test RayJob Sample YAMLs (latest release)'
3636
instance_size: large
37-
image: golang:1.20
37+
image: golang:1.22.2
3838
commands:
3939
- ./.buildkite/setup-env.sh
4040
# Use KubeRay operator image from the latest release
4141
- source .venv/bin/activate && BUILDKITE_ENV=true OPERATOR_IMAGE=quay.io/kuberay/operator:v1.0.0 python3 tests/test_sample_rayjob_yamls.py
4242

4343
- label: 'Test RayService Sample YAMLs (nightly operator)'
4444
instance_size: large
45-
image: golang:1.20
45+
image: golang:1.22.2
4646
commands:
4747
- ./.buildkite/setup-env.sh
4848
# Build nightly KubeRay operator image

.github/workflows/consistency-check.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
uses: actions/setup-go@v3
2222
with:
2323
# Use the same go version with build job
24-
go-version: '1.20'
24+
go-version: '1.22.2'
2525

2626
- name: Check golang version
2727
working-directory: ./ray-operator
@@ -72,7 +72,7 @@ jobs:
7272
uses: actions/setup-go@v2
7373
with:
7474
# Use the same go version with build job
75-
go-version: '1.20'
75+
go-version: '1.22.2'
7676

7777
- name: Update CRD/RBAC YAML files
7878
working-directory: ./ray-operator

.github/workflows/e2e-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Set up Go
4343
uses: actions/setup-go@v3
4444
with:
45-
go-version: v1.20
45+
go-version: v1.22.2
4646

4747
- name: Set up gotestfmt
4848
uses: gotesttools/gotestfmt-action@v2

.github/workflows/image-release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set up Go
2222
uses: actions/setup-go@v3
2323
with:
24-
go-version: '1.20'
24+
go-version: '1.22.2'
2525

2626
- name: Check out code into the Go module directory
2727
uses: actions/checkout@v2
@@ -81,7 +81,7 @@ jobs:
8181
- name: Set up Go
8282
uses: actions/setup-go@v3
8383
with:
84-
go-version: '1.20'
84+
go-version: '1.22.2'
8585

8686
- name: Check out code into the Go module directory
8787
uses: actions/checkout@v2

.github/workflows/odh-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Set Go
2929
uses: actions/setup-go@v5
3030
with:
31-
go-version: v1.20
31+
go-version: v1.22.2
3232
cache-dependency-path: "ray-operator/go.sum"
3333

3434
- name: Verify that release doesn't exist yet

.github/workflows/test-job.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: actions/setup-go@v3
1717
with:
1818
# Use the same go version with build job
19-
go-version: '1.20'
19+
go-version: '1.22.2'
2020

2121
- name: Check out code into the Go module directory
2222
uses: actions/checkout@v2
@@ -119,7 +119,7 @@ jobs:
119119
- name: Set up Go
120120
uses: actions/setup-go@v3
121121
with:
122-
go-version: '1.20'
122+
go-version: '1.22.2'
123123

124124
- name: Check out code into the Go module directory
125125
uses: actions/checkout@v2
@@ -200,7 +200,7 @@ jobs:
200200
- name: Set up Go
201201
uses: actions/setup-go@v3
202202
with:
203-
go-version: '1.20'
203+
go-version: '1.22.2'
204204

205205
- name: Check out code into the Go module directory
206206
uses: actions/checkout@v2
@@ -274,7 +274,7 @@ jobs:
274274
- name: Set up Go
275275
uses: actions/setup-go@v3
276276
with:
277-
go-version: '1.20'
277+
go-version: '1.22.2'
278278

279279
- name: Check out code into the Go module directory
280280
uses: actions/checkout@v2

apiserver/DEVELOPMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This guide covers the purpose, requirements, and deployment of the Kuberay API S
77
| Software | Version | Link |
88
|:---------|:--------:|--------------------------------------------------------------------:|
99
| kubectl | v1.18.3+ | [Download](https://kubernetes.io/docs/tasks/tools/install-kubectl/) |
10-
| Go | v1.20 | [Download](https://golang.org/dl/) |
10+
| Go | v1.22.2 | [Download](https://golang.org/dl/) |
1111
| Docker | 19.03+ | [Download](https://docs.docker.com/install/) |
1212
| GNU Make | 3.81+ | |
1313
| curl | 7.88+ | |

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 registry.access.redhat.com/ubi9/go-toolset:1.20.10 as builder
2+
FROM golang:1.22.2 as builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests

apiserver/go.mod

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

3-
go 1.20
3+
go 1.22.2
44

55
require (
66
github.com/go-openapi/runtime v0.19.31
@@ -71,7 +71,7 @@ require (
7171
github.com/prometheus/procfs v0.10.1 // indirect
7272
github.com/spf13/pflag v1.0.5 // indirect
7373
go.mongodb.org/mongo-driver v1.5.1 // indirect
74-
golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e // indirect
74+
golang.org/x/exp v0.0.0-20220827204233-334a2380cb91 // indirect
7575
golang.org/x/net v0.23.0 // indirect
7676
golang.org/x/oauth2 v0.11.0 // indirect
7777
golang.org/x/sys v0.18.0 // indirect

apiserver/go.sum

Lines changed: 16 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)