Skip to content

Commit

Permalink
DROP: Upgrade go version to 1.22.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianZaccaria authored and astefanutti committed Jun 27, 2024
1 parent 9234fa9 commit b0225b3
Show file tree
Hide file tree
Showing 21 changed files with 61 additions and 39 deletions.
10 changes: 5 additions & 5 deletions .buildkite/test-sample-yamls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

- label: 'Test RayCluster Sample YAMLs (nightly operator)'
instance_size: large
image: golang:1.20
image: golang:1.22.2
commands:
- ./.buildkite/setup-env.sh
# Build nightly KubeRay operator image
Expand All @@ -14,15 +14,15 @@

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

- label: 'Test RayJob Sample YAMLs (nightly operator)'
instance_size: large
image: golang:1.20
image: golang:1.22.2
commands:
- ./.buildkite/setup-env.sh
# Build nightly KubeRay operator image
Expand All @@ -34,15 +34,15 @@

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

- label: 'Test RayService Sample YAMLs (nightly operator)'
instance_size: large
image: golang:1.20
image: golang:1.22.2
commands:
- ./.buildkite/setup-env.sh
# Build nightly KubeRay operator image
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/consistency-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: actions/setup-go@v3
with:
# Use the same go version with build job
go-version: '1.20'
go-version: '1.22.2'

- name: Check golang version
working-directory: ./ray-operator
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
uses: actions/setup-go@v2
with:
# Use the same go version with build job
go-version: '1.20'
go-version: '1.22.2'

- name: Update CRD/RBAC YAML files
working-directory: ./ray-operator
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: v1.20
go-version: v1.22.2

- name: Set up gotestfmt
uses: gotesttools/gotestfmt-action@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/image-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
go-version: '1.22.2'

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
go-version: '1.22.2'

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/odh-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Set Go
uses: actions/setup-go@v5
with:
go-version: v1.20
go-version: v1.22.2
cache-dependency-path: "ray-operator/go.sum"

- name: Verify that release doesn't exist yet
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/setup-go@v3
with:
# Use the same go version with build job
go-version: '1.20'
go-version: '1.22.2'

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
go-version: '1.22.2'

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down Expand Up @@ -200,7 +200,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
go-version: '1.22.2'

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down Expand Up @@ -274,7 +274,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
go-version: '1.22.2'

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion apiserver/DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This guide covers the purpose, requirements, and deployment of the Kuberay API S
| Software | Version | Link |
|:---------|:--------:|--------------------------------------------------------------------:|
| kubectl | v1.18.3+ | [Download](https://kubernetes.io/docs/tasks/tools/install-kubectl/) |
| Go | v1.20 | [Download](https://golang.org/dl/) |
| Go | v1.22.2 | [Download](https://golang.org/dl/) |
| Docker | 19.03+ | [Download](https://docs.docker.com/install/) |
| GNU Make | 3.81+ | |
| curl | 7.88+ | |
Expand Down
2 changes: 1 addition & 1 deletion apiserver/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the backend service
FROM registry.access.redhat.com/ubi9/go-toolset:1.20.10 as builder
FROM golang:1.22.2 as builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand Down
4 changes: 2 additions & 2 deletions apiserver/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/ray-project/kuberay/apiserver

go 1.20
go 1.22.2

require (
github.com/go-openapi/runtime v0.19.31
Expand Down Expand Up @@ -71,7 +71,7 @@ require (
github.com/prometheus/procfs v0.10.1 // indirect
github.com/spf13/pflag v1.0.5 // indirect
go.mongodb.org/mongo-driver v1.5.1 // indirect
golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e // indirect
golang.org/x/exp v0.0.0-20220827204233-334a2380cb91 // indirect
golang.org/x/net v0.23.0 // indirect
golang.org/x/oauth2 v0.11.0 // indirect
golang.org/x/sys v0.18.0 // indirect
Expand Down
18 changes: 16 additions & 2 deletions apiserver/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cli/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/ray-project/kuberay/cli

go 1.20
go 1.22.2

require (
github.com/fatih/color v1.13.0
Expand Down
2 changes: 2 additions & 0 deletions cli/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion experimental/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build security proxy
FROM registry.access.redhat.com/ubi9/go-toolset:1.20.10 as builder
FROM golang:1.22.2 as builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand Down
2 changes: 1 addition & 1 deletion experimental/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/ray-project/kuberay/security

go 1.20
go 1.22.2

require (
google.golang.org/grpc v1.59.0
Expand Down
1 change: 1 addition & 0 deletions experimental/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Generate client code (go & json) from API protocol buffers
FROM registry.access.redhat.com/ubi9/go-toolset:1.20.10 as generator
FROM golang:1.22.2 as generator

ENV PROTOC_VERSION 3.17.3
ENV GOLANG_PROTOBUF_VERSION v1.5.2
Expand Down
2 changes: 1 addition & 1 deletion proto/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/ray-project/kuberay/proto

go 1.20
go 1.22.2

require (
github.com/grpc-ecosystem/grpc-gateway/v2 v2.6.0
Expand Down
Loading

0 comments on commit b0225b3

Please sign in to comment.