Skip to content
Merged
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
47 changes: 29 additions & 18 deletions .buildkite/serve.rayci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,11 @@ depends_on:
- ray-dashboard-build
steps:
# builds
- name: servebuild
wanda: ci/docker/serve.build.py39.wanda.yaml
tags: cibase

- name: servebuild-multipy
label: "wanda: servebuild-py{{matrix}}"
wanda: ci/docker/serve.build.wanda.yaml
matrix:
- "3.9"
- "3.10"
- "3.12"
env:
Expand Down Expand Up @@ -51,8 +48,8 @@ steps:
- bazel run //ci/ray_ci:test_in_docker -- //python/ray/serve/... //python/ray/tests/... serve
--except-tags post_wheel_build,gpu,ha_integration,serve_tracing
--workers "$${BUILDKITE_PARALLEL_JOB_COUNT}" --worker-id "$${BUILDKITE_PARALLEL_JOB}" --parallelism-per-worker 3
--build-name servebuild --test-env=EXPECTED_PYTHON_VERSION=3.9
depends_on: "servebuild"
--build-name servebuild-py3.9 --test-env=EXPECTED_PYTHON_VERSION=3.9
depends_on: servebuild-multipy

- label: ":ray-serve: serve: pydantic < 2.0 tests"
parallelism: 2
Expand Down Expand Up @@ -81,8 +78,9 @@ steps:
- bazel run //ci/ray_ci:test_in_docker -- //python/ray/serve/... //python/ray/tests/... serve
--except-tags post_wheel_build,gpu,ha_integration,serve_tracing
--workers "$${BUILDKITE_PARALLEL_JOB_COUNT}" --worker-id "$${BUILDKITE_PARALLEL_JOB}" --parallelism-per-worker 3
--build-name servebuild --test-env=EXPECTED_PYTHON_VERSION=3.9 --test-env=RAY_SERVE_RUN_USER_CODE_IN_SEPARATE_THREAD=0
depends_on: "servebuild"
--build-name servebuild-py3.10 --test-env=EXPECTED_PYTHON_VERSION=3.10 --test-env=RAY_SERVE_RUN_USER_CODE_IN_SEPARATE_THREAD=0
--python-version 3.10
depends_on: servebuild-multipy

- label: ":ray-serve: serve: python {{matrix.python}} tests ({{matrix.worker_id}})"
if: build.pull_request.labels includes "continuous-build" || pipeline.id == "0189e759-8c96-4302-b6b5-b4274406bf89" || pipeline.id == "018f4f1e-1b73-4906-9802-92422e3badaa"
Expand Down Expand Up @@ -110,7 +108,9 @@ steps:
instance_type: medium
commands:
- bazel run //ci/ray_ci:test_in_docker -- //release/... serve --parallelism-per-worker 3
depends_on: servebuild
--build-name servebuild-py3.10
--python-version 3.10
depends_on: servebuild-multipy

- label: ":ray-serve: serve: wheel tests"
tags:
Expand All @@ -123,9 +123,11 @@ steps:
--parallelism-per-worker 3
--only-tags post_wheel_build
--test-env=RAY_CI_POST_WHEEL_TESTS=True
--build-name servebuild-py3.10
--python-version 3.10
depends_on:
- manylinux
- servebuild
- servebuild-multipy
- forge

- label: ":ray-serve: serve: doc tests"
Expand All @@ -138,12 +140,16 @@ steps:
- bazel run //ci/ray_ci:test_in_docker -- python/ray/... //doc/... serve
--only-tags doctest
--parallelism-per-worker 3
--build-name servebuild-py3.10
--python-version 3.10
# doc examples
- bazel run //ci/ray_ci:test_in_docker -- //doc/... serve
--except-tags gpu,post_wheel_build,timeseries_libs,doctest
--parallelism-per-worker 3
--skip-ray-installation
depends_on: servebuild
--build-name servebuild-py3.10
--python-version 3.10
depends_on: servebuild-multipy

- label: ":ray-serve: serve: default minimal"
tags: python
Expand All @@ -152,6 +158,7 @@ steps:
- bazel run //ci/ray_ci:test_in_docker -- //python/ray/dashboard/... serve
--parallelism-per-worker 2
--build-name minbuild-default-py3.10
--python-version 3.10
--test-env=RAY_DEFAULT=1
--only-tags minimal
depends_on: minbuild-serve
Expand All @@ -164,8 +171,9 @@ steps:
commands:
- bazel run //ci/ray_ci:test_in_docker -- //python/ray/serve/tests/... serve
--parallelism-per-worker 2
--build-name minbuild-serve-py3.9
--test-env=EXPECTED_PYTHON_VERSION=3.9
--build-name minbuild-serve-py3.10
--python-version 3.10
--test-env=EXPECTED_PYTHON_VERSION=3.10
--test-env=RAY_DEFAULT=1
--only-tags minimal
depends_on: minbuild-serve
Expand All @@ -179,22 +187,24 @@ steps:
commands:
- bazel run //ci/ray_ci:test_in_docker -- python/ray/dashboard/... serve
--parallelism-per-worker 3
depends_on: servebuild
--build-name servebuild-py3.10
--python-version 3.10
depends_on: servebuild-multipy

- label: ":ray-serve: serve: HA integration tests"
tags:
- serve
- python
instance_type: large
commands:
- bazel run //ci/ray_ci:build_in_docker -- docker --platform cpu --canonical-tag ha_integration
- bazel run //ci/ray_ci:build_in_docker -- docker --platform cpu --canonical-tag ha_integration --python-version 3.10
- bazel run //ci/ray_ci:test_in_docker -- //python/ray/serve/tests/... serve
--only-tags ha_integration
--only-tags ha_integration --python-version 3.10 --build-name servebuild-py3.10
depends_on:
- manylinux
- forge
- raycpubase
- servebuild
- servebuild-multipy

- label: ":ray-serve: serve: tracing tests"
tags:
Expand Down Expand Up @@ -229,4 +239,5 @@ steps:
soft_fail: true
commands:
- bazel run //ci/ray_ci:test_in_docker -- //... serve --run-flaky-tests --parallelism-per-worker 3
depends_on: servebuild
--python-version 3.10 --build-name servebuild-py3.10
depends_on: servebuild-multipy