Skip to content

Commit

Permalink
[Post Ray 2.8.0 Release] Update Ray versions to Ray 2.8.0 (ray-projec…
Browse files Browse the repository at this point in the history
…t#1678)

* post 2.8

* post 2.8
  • Loading branch information
kevin85421 authored Nov 22, 2023
1 parent 5007993 commit 666679f
Show file tree
Hide file tree
Showing 66 changed files with 253 additions and 253 deletions.
12 changes: 6 additions & 6 deletions .buildkite/test-sample-yamls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
- IMG=kuberay/operator:nightly make docker-image
- popd
# Use nightly KubeRay operator image
- source .venv/bin/activate && BUILDKITE_ENV=true RAY_IMAGE=rayproject/ray:2.7.0 OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/test_sample_raycluster_yamls.py
- source .venv/bin/activate && BUILDKITE_ENV=true RAY_IMAGE=rayproject/ray:2.8.0 OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/test_sample_raycluster_yamls.py

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

- label: 'Test RayJob Sample YAMLs (nightly operator)'
instance_size: large
Expand All @@ -30,15 +30,15 @@
- IMG=kuberay/operator:nightly make docker-image
- popd
# Use nightly KubeRay operator image
- source .venv/bin/activate && BUILDKITE_ENV=true RAY_IMAGE=rayproject/ray:2.7.0 OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/test_sample_rayjob_yamls.py
- source .venv/bin/activate && BUILDKITE_ENV=true RAY_IMAGE=rayproject/ray:2.8.0 OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/test_sample_rayjob_yamls.py

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

- label: 'Test RayService Sample YAMLs (nightly operator)'
instance_size: large
Expand All @@ -50,12 +50,12 @@
- IMG=kuberay/operator:nightly make docker-image
- popd
# Use nightly KubeRay operator image
- source .venv/bin/activate && BUILDKITE_ENV=true RAY_IMAGE=rayproject/ray:2.7.0 OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/test_sample_rayservice_yamls.py
- source .venv/bin/activate && BUILDKITE_ENV=true RAY_IMAGE=rayproject/ray:2.8.0 OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/test_sample_rayservice_yamls.py

- label: 'Test RayService Sample YAMLs (latest release)'
instance_size: large
image: golang:1.20
commands:
- ./.buildkite/setup-env.sh
# Use KubeRay operator image from the latest release
- source .venv/bin/activate && BUILDKITE_ENV=true RAY_IMAGE=rayproject/ray:2.7.0 OPERATOR_IMAGE=kuberay/operator:v1.0.0 python3 tests/test_sample_rayservice_yamls.py
- source .venv/bin/activate && BUILDKITE_ENV=true RAY_IMAGE=rayproject/ray:2.8.0 OPERATOR_IMAGE=kuberay/operator:v1.0.0 python3 tests/test_sample_rayservice_yamls.py
24 changes: 12 additions & 12 deletions .github/workflows/test-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -307,13 +307,13 @@ jobs:
with:
ray_version: 1.13.0

test-compatibility-2_4_0:
test-compatibility-2_5_0:
needs:
- build_operator
- build_apiserver
- lint
runs-on: ubuntu-latest
name: Compatibility Test - 2.4.0
name: Compatibility Test - 2.5.0
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand All @@ -325,15 +325,15 @@ jobs:

- uses: ./.github/workflows/actions/compatibility
with:
ray_version: 2.4.0
ray_version: 2.5.0

test-compatibility-2_5_0:
test-compatibility-2_6_3:
needs:
- build_operator
- build_apiserver
- lint
runs-on: ubuntu-latest
name: Compatibility Test - 2.5.0
name: Compatibility Test - 2.6.3
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand All @@ -345,15 +345,15 @@ jobs:

- uses: ./.github/workflows/actions/compatibility
with:
ray_version: 2.5.0
ray_version: 2.6.3

test-compatibility-2_6_3:
test-compatibility-2_7_0:
needs:
- build_operator
- build_apiserver
- lint
runs-on: ubuntu-latest
name: Compatibility Test - 2.6.3
name: Compatibility Test - 2.7.0
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand All @@ -365,15 +365,15 @@ jobs:

- uses: ./.github/workflows/actions/compatibility
with:
ray_version: 2.6.3
ray_version: 2.7.0

test-compatibility-2_7_0:
test-compatibility-2_8_0:
needs:
- build_operator
- build_apiserver
- lint
runs-on: ubuntu-latest
name: Compatibility Test - 2.7.0
name: Compatibility Test - 2.8.0
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand All @@ -385,7 +385,7 @@ jobs:

- uses: ./.github/workflows/actions/compatibility
with:
ray_version: 2.7.0
ray_version: 2.8.0

test-compatibility-nightly:
needs:
Expand Down
4 changes: 2 additions & 2 deletions apiserver/CreatingServe.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ curl -X POST 'localhost:31888/apis/v1/namespaces/default/clusters' \
"clusterSpec": {
"headGroupSpec": {
"computeTemplate": "default-template",
"image": "rayproject/ray:2.7.0-py310",
"image": "rayproject/ray:2.8.0-py310",
"serviceType": "ClusterIP",
"rayStartParams": {
"dashboard-host": "0.0.0.0",
Expand All @@ -44,7 +44,7 @@ curl -X POST 'localhost:31888/apis/v1/namespaces/default/clusters' \
{
"groupName": "small-wg",
"computeTemplate": "default-template",
"image": "rayproject/ray:2.7.0-py310",
"image": "rayproject/ray:2.8.0-py310",
"replicas": 1,
"minReplicas": 0,
"maxReplicas": 5,
Expand Down
2 changes: 1 addition & 1 deletion apiserver/DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ There are two `make` targets provide execute the end to end test (integration be

The `e2e` test targets use two variables to control what version of Ray images to use in the end to end tests:

* `E2E_API_SERVER_RAY_IMAGE` -- for the ray docker image. Currently set to `rayproject/ray:2.7.0-py310`. On Apple silicon or arm64 development machines the `-aarch64` suffix is added to the image.
* `E2E_API_SERVER_RAY_IMAGE` -- for the ray docker image. Currently set to `rayproject/ray:2.8.0-py310`. On Apple silicon or arm64 development machines the `-aarch64` suffix is added to the image.
* `E2E_API_SERVER_URL` -- for the base URL of the deployed KubeRayAPI server. The default value is: `http://localhost:31888`

The end to end test targets share the usage of the `GO_TEST_FLAGS`. Overriding the make file variable with a `-v` option allows for both unit and end to end tests to print any output / debug messages. By default, only if there's a test failure those messages are shown.
Expand Down
6 changes: 3 additions & 3 deletions apiserver/HACluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ curl -X POST 'localhost:8888/apis/v1/namespaces/default/clusters' \
"name": "ha-cluster",
"namespace": "default",
"user": "boris",
"version": "2.7.0",
"version": "2.8.0",
"environment": "DEV",
"annotations" : {
"ray.io/ft-enabled": "true"
},
"clusterSpec": {
"headGroupSpec": {
"computeTemplate": "default-template",
"image": "rayproject/ray:2.7.0-py310",
"image": "rayproject/ray:2.8.0-py310",
"serviceType": "NodePort",
"rayStartParams": {
"dashboard-host": "0.0.0.0",
Expand Down Expand Up @@ -103,7 +103,7 @@ curl -X POST 'localhost:8888/apis/v1/namespaces/default/clusters' \
{
"groupName": "small-wg",
"computeTemplate": "default-template",
"image": "rayproject/ray:2.7.0-py310",
"image": "rayproject/ray:2.8.0-py310",
"replicas": 1,
"minReplicas": 0,
"maxReplicas": 5,
Expand Down
4 changes: 2 additions & 2 deletions apiserver/JobSubmission.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ curl -X POST 'localhost:31888/apis/v1/namespaces/default/clusters' \
"clusterSpec": {
"headGroupSpec": {
"computeTemplate": "default-template",
"image": "rayproject/ray:2.7.0-py310",
"image": "rayproject/ray:2.8.0-py310",
"serviceType": "NodePort",
"rayStartParams": {
"dashboard-host": "0.0.0.0",
Expand All @@ -60,7 +60,7 @@ curl -X POST 'localhost:31888/apis/v1/namespaces/default/clusters' \
{
"groupName": "small-wg",
"computeTemplate": "default-template",
"image": "rayproject/ray:2.7.0-py310",
"image": "rayproject/ray:2.8.0-py310",
"replicas": 1,
"minReplicas": 0,
"maxReplicas": 5,
Expand Down
4 changes: 2 additions & 2 deletions apiserver/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ GO_TEST_FLAGS ?=
# Ray docker images to use for end to end tests based upon the architecture
# for arm64 environments (Apple silicon included) pull the architecture specific image
ifeq (arm64,$(shell go env GOARCH))
E2E_API_SERVER_RAY_IMAGE ?=rayproject/ray:2.7.0-py310-aarch64
E2E_API_SERVER_RAY_IMAGE ?=rayproject/ray:2.8.0-py310-aarch64
else
E2E_API_SERVER_RAY_IMAGE ?=rayproject/ray:2.7.0-py310
E2E_API_SERVER_RAY_IMAGE ?=rayproject/ray:2.8.0-py310
endif
# Kuberay API Server base URL to use in end to end tests
E2E_API_SERVER_URL ?=http://localhost:31888
Expand Down
Loading

0 comments on commit 666679f

Please sign in to comment.