Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
191 changes: 166 additions & 25 deletions .buildkite/release/build.rayci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,57 @@
group: release build
steps:
- name: ray-core-build
label: "wanda: core binary parts py{{matrix}} (x86_64)"
wanda: ci/docker/ray-core.wanda.yaml
matrix:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
env_file: rayci.env
env:
PYTHON_VERSION: "{{matrix}}"
ARCH_SUFFIX: ""
HOSTTYPE: "x86_64"
tags: oss

- name: ray-dashboard-build
label: "wanda: dashboard"
wanda: ci/docker/ray-dashboard.wanda.yaml
env_file: rayci.env
env:
ARCH_SUFFIX: ""
HOSTTYPE: "x86_64"
tags: oss

- name: ray-java-build
label: "wanda: java build (x86_64)"
wanda: ci/docker/ray-java.wanda.yaml
tags: oss
env_file: rayci.env
env:
ARCH_SUFFIX: ""
HOSTTYPE: "x86_64"

- name: ray-wheel-build
label: "wanda: wheel py{{matrix}} (x86_64)"
wanda: ci/docker/ray-wheel.wanda.yaml
matrix:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
env_file: rayci.env
env:
PYTHON_VERSION: "{{matrix}}"
ARCH_SUFFIX: ""
HOSTTYPE: "x86_64"
tags: oss
depends_on:
- ray-core-build
- ray-java-build
- ray-dashboard-build

- name: raycpubaseextra-testdeps
label: "wanda: ray.py{{matrix}}.cpu.base-extra-testdeps"
wanda: docker/base-extra-testdeps/cpu.wanda.yaml
Expand Down Expand Up @@ -65,26 +117,69 @@ steps:
depends_on:
- ray-mlcudabaseextra

- label: ":tapioca: build: ray py{{matrix.python}}-{{matrix.platform}} image for release tests"
- name: ray-anyscale-cpu-build
label: "wanda: ray-anyscale py{{matrix}} cpu"
wanda: ci/docker/ray-anyscale-cpu.wanda.yaml
env_file: rayci.env
matrix:
# This list should be kept in sync with the list of supported Python in
# release test suite
- "3.10"
- "3.11"
- "3.12"
- "3.13"
env:
PYTHON_VERSION: "{{matrix}}"
ARCH_SUFFIX: ""
tags:
- oss
depends_on:
- ray-wheel-build
- raycpubaseextra-testdeps

- name: ray-anyscale-cuda-build
label: "wanda: ray-anyscale py{{matrix.python}} cu{{matrix.cuda}}"
wanda: ci/docker/ray-anyscale-cuda.wanda.yaml
env_file: rayci.env
matrix:
setup:
python:
# This list should be kept in sync with the list of supported Python in
# release test suite
- "3.10"
- "3.11"
- "3.12"
- "3.13"
cuda:
- "12.3.2-cudnn9"
env:
PYTHON_VERSION: "{{matrix.python}}"
CUDA_VERSION: "{{matrix.cuda}}"
ARCH_SUFFIX: ""
tags:
- oss
depends_on:
- ray-wheel-build
- raycudabaseextra-testdeps

- label: ":crane: publish: ray-anyscale py{{matrix.python}} {{matrix.platform}}"
key: anyscalebuild
instance_type: release-medium
mount_buildkite_agent: true
tags:
- oss
commands:
- bazel run //ci/ray_ci:build_in_docker -- anyscale
--python-version {{matrix.python}} --platform {{matrix.platform}}
--image-type ray --upload
- bazel run //ci/ray_ci/automation:push_release_test_image --
--python-version {{matrix.python}}
--platform {{matrix.platform}}
--image-type ray
--upload
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Publish path drops gcloud bootstrap logic

Medium Severity

Switching to push_release_test_image removes the old release/gcloud_docker_login.sh bootstrap path, so publishing now assumes gcloud is already installed on the release agent. If gcloud is missing, push_release_test_image fails before pushing any anyscale/* images.

Additional Locations (2)

Fix in Cursor Fix in Web

depends_on:
- manylinux-x86_64
- forge
- raycpubaseextra-testdeps
- raycudabaseextra-testdeps
- ray-anyscale-cpu-build
- ray-anyscale-cuda-build
matrix:
setup:
python:
# This list should be kept in sync with the list of supported Python in
# release test suite
- "3.10"
- "3.11"
- "3.12"
Expand All @@ -93,36 +188,82 @@ steps:
- cu12.3.2-cudnn9
- cpu

- label: ":tapioca: build: ray-llm py{{matrix}} image for release tests"
- name: ray-llm-anyscale-cuda-build
label: "wanda: ray-llm-anyscale py{{matrix.python}} cu{{matrix.cuda}}"
wanda: ci/docker/ray-llm-anyscale-cuda.wanda.yaml
env_file: rayci.env
matrix:
setup:
python:
- "3.11"
cuda:
- "12.8.1-cudnn"
env:
PYTHON_VERSION: "{{matrix.python}}"
CUDA_VERSION: "{{matrix.cuda}}"
ARCH_SUFFIX: ""
tags:
- oss
depends_on:
- ray-wheel-build
- ray-llmbaseextra-testdeps

- label: ":crane: publish: ray-llm-anyscale py{{matrix.python}} {{matrix.platform}}"
key: anyscalellmbuild
instance_type: release-medium
mount_buildkite_agent: true
tags:
- oss
commands:
- bazel run //ci/ray_ci:build_in_docker -- anyscale --python-version {{matrix}}
--platform cu12.8.1-cudnn --image-type ray-llm --upload
- bazel run //ci/ray_ci/automation:push_release_test_image --
--python-version {{matrix.python}}
--platform {{matrix.platform}}
--image-type ray-llm
--upload
depends_on:
- manylinux-x86_64
- forge
- ray-llmbaseextra-testdeps
- ray-llm-anyscale-cuda-build
matrix:
- "3.11"
setup:
python:
- "3.11"
platform:
- cu12.8.1-cudnn

- name: ray-ml-anyscale-cuda-build
label: "wanda: ray-ml-anyscale py{{matrix.python}} cu{{matrix.cuda}}"
wanda: ci/docker/ray-ml-anyscale-cuda.wanda.yaml
env_file: rayci.env
matrix:
setup:
python:
# This list should be kept in sync with the list of supported Python in
# release test suite
- "3.10"
cuda:
- "12.1.1-cudnn8"
env:
PYTHON_VERSION: "{{matrix.python}}"
CUDA_VERSION: "{{matrix.cuda}}"
ARCH_SUFFIX: ""
tags:
- oss
depends_on:
- ray-wheel-build
- ray-mlcudabaseextra-testdeps

- label: ":tapioca: build: ray-ml py{{matrix}} image for release tests"
- label: ":crane: publish: ray-ml-anyscale py{{matrix}} cu12.1.1-cudnn8"
key: anyscalemlbuild
instance_type: release-medium
mount_buildkite_agent: true
tags:
- oss
commands:
- bazel run //ci/ray_ci:build_in_docker -- anyscale --python-version {{matrix}}
--platform cu12.1.1-cudnn8 --image-type ray-ml --upload
- bazel run //ci/ray_ci/automation:push_release_test_image --
--python-version {{matrix}}
--platform cu12.1.1-cudnn8
--image-type ray-ml
--upload
depends_on:
- manylinux-x86_64
- forge
- ray-mlcudabaseextra-testdeps
- ray-ml-anyscale-cuda-build
matrix:
# This list should be kept in sync with the list of supported Python in
# release test suite
- "3.10"
20 changes: 20 additions & 0 deletions ci/docker/ray-anyscale-cpu.wanda.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Ray Anyscale CPU Image (for release tests)
# Installs ray wheel into the CPU base-extra-testdeps image, which includes
# additional test dependencies.
#
# This produces the anyscale test image for CPU-only release tests.
#
name: "ray-anyscale-py$PYTHON_VERSION-cpu$ARCH_SUFFIX"
disable_caching: true
froms:
- "cr.ray.io/rayproject/ray-py$PYTHON_VERSION-cpu-base-extra-testdeps" # CPU base with test deps
- "cr.ray.io/rayproject/ray-wheel-py$PYTHON_VERSION$ARCH_SUFFIX" # Ray wheel
dockerfile: ci/docker/ray-image.Dockerfile
build_args:
- PYTHON_VERSION
- ARCH_SUFFIX
- IMAGE_TYPE=ray
- PLATFORM=cpu
- BASE_VARIANT=base-extra-testdeps
- RAY_COMMIT=$BUILDKITE_COMMIT
- RAY_VERSION
20 changes: 20 additions & 0 deletions ci/docker/ray-anyscale-cuda.wanda.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Ray Anyscale CUDA Image (for release tests)
# Installs ray wheel into the CUDA base-extra-testdeps image, which includes
# additional test dependencies.
#
# This produces the anyscale test image for GPU release tests.
#
name: "ray-anyscale-py$PYTHON_VERSION-cu$CUDA_VERSION$ARCH_SUFFIX"
disable_caching: true
froms:
- "cr.ray.io/rayproject/ray-py$PYTHON_VERSION-cu$CUDA_VERSION-base-extra-testdeps" # CUDA base with test deps
- "cr.ray.io/rayproject/ray-wheel-py$PYTHON_VERSION$ARCH_SUFFIX" # Ray wheel
dockerfile: ci/docker/ray-image.Dockerfile
build_args:
- PYTHON_VERSION
- ARCH_SUFFIX
- IMAGE_TYPE=ray
- BASE_VARIANT=base-extra-testdeps
- PLATFORM=cu$CUDA_VERSION
- RAY_COMMIT=$BUILDKITE_COMMIT
- RAY_VERSION
20 changes: 20 additions & 0 deletions ci/docker/ray-llm-anyscale-cuda.wanda.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Ray-LLM Anyscale CUDA Image (for release tests)
# Installs ray wheel into the ray-llm CUDA base-extra-testdeps image, which
# includes extra test dependencies.
#
# This produces the anyscale test image for ray-llm GPU release tests.
#
name: "ray-llm-anyscale-py$PYTHON_VERSION-cu$CUDA_VERSION$ARCH_SUFFIX"
disable_caching: true
froms:
- "cr.ray.io/rayproject/ray-llm-py$PYTHON_VERSION-cu$CUDA_VERSION-base-extra-testdeps" # ray-llm base with test deps
- "cr.ray.io/rayproject/ray-wheel-py$PYTHON_VERSION$ARCH_SUFFIX" # Ray wheel
dockerfile: ci/docker/ray-image.Dockerfile
build_args:
- PYTHON_VERSION
- ARCH_SUFFIX
- BASE_VARIANT=base-extra-testdeps
- IMAGE_TYPE=ray-llm
- PLATFORM=cu$CUDA_VERSION
- RAY_COMMIT=$BUILDKITE_COMMIT
- RAY_VERSION
20 changes: 20 additions & 0 deletions ci/docker/ray-ml-anyscale-cuda.wanda.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Ray-ML Anyscale CUDA Image (for release tests)
# Installs ray wheel into the ray-ml CUDA base-extra-testdeps image, which includes
# extra test dependencies.
#
# This produces the anyscale test image for ray-ml GPU release tests.
#
name: "ray-ml-anyscale-py$PYTHON_VERSION-cu$CUDA_VERSION$ARCH_SUFFIX"
disable_caching: true
froms:
- "cr.ray.io/rayproject/ray-ml-py$PYTHON_VERSION-cu$CUDA_VERSION-base-extra-testdeps" # ray-ml base with test deps
- "cr.ray.io/rayproject/ray-wheel-py$PYTHON_VERSION$ARCH_SUFFIX" # Ray wheel
dockerfile: ci/docker/ray-image.Dockerfile
build_args:
- PYTHON_VERSION
- ARCH_SUFFIX
- BASE_VARIANT=base-extra-testdeps
- IMAGE_TYPE=ray-ml
- PLATFORM=cu$CUDA_VERSION
- RAY_COMMIT=$BUILDKITE_COMMIT
- RAY_VERSION