Skip to content

Commit 7268887

Browse files
[CI] Convert _wheel-build.rayci.yml from matrix to array syntax
Convert ray-core-build and ray-wheel-build from Buildkite matrix to rayci array syntax. Internal dependency (ray-wheel-build → ray-core-build) uses ($) for shared python dimension matching. All external consumers updated to (*). Consumer files updated: build.rayci.yml, serve.rayci.yml, core.rayci.yml, doc.rayci.yml, rllib.rayci.yml, ml.rayci.yml, data.rayci.yml, llm.rayci.yml, others.rayci.yml, kuberay.rayci.yml, release/build.rayci.yml Topic: array-wheel-build Relative: array-images Labels: draft Signed-off-by: andrew <andrew@anyscale.com>
1 parent 4fecef3 commit 7268887

File tree

12 files changed

+44
-42
lines changed

12 files changed

+44
-42
lines changed

.buildkite/_wheel-build.rayci.yml

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@ group: wheel build
22
sort_key: "_wheel-build"
33
steps:
44
- name: ray-core-build
5-
label: "wanda: core binary parts py{{matrix}} (x86_64)"
5+
label: "wanda: core binary parts py{{array.python}} (x86_64)"
66
wanda: ci/docker/ray-core.wanda.yaml
7-
matrix:
8-
- "3.10"
9-
- "3.11"
10-
- "3.12"
11-
- "3.13"
12-
- "3.14"
7+
array:
8+
python:
9+
- "3.10"
10+
- "3.11"
11+
- "3.12"
12+
- "3.13"
13+
- "3.14"
1314
env_file: rayci.env
1415
env:
15-
PYTHON_VERSION: "{{matrix}}"
16+
PYTHON_VERSION: "{{array.python}}"
1617
ARCH_SUFFIX: ""
1718
HOSTTYPE: "x86_64"
1819
tags:
@@ -40,23 +41,24 @@ steps:
4041
- java
4142

4243
- name: ray-wheel-build
43-
label: "wanda: wheel py{{matrix}} (x86_64)"
44+
label: "wanda: wheel py{{array.python}} (x86_64)"
4445
wanda: ci/docker/ray-wheel.wanda.yaml
45-
matrix:
46-
- "3.10"
47-
- "3.11"
48-
- "3.12"
49-
- "3.13"
50-
- "3.14"
46+
array:
47+
python:
48+
- "3.10"
49+
- "3.11"
50+
- "3.12"
51+
- "3.13"
52+
- "3.14"
5153
env_file: rayci.env
5254
env:
53-
PYTHON_VERSION: "{{matrix}}"
55+
PYTHON_VERSION: "{{array.python}}"
5456
ARCH_SUFFIX: ""
5557
HOSTTYPE: "x86_64"
5658
tags:
5759
- release_wheels
5860
- linux_wheels
5961
depends_on:
60-
- ray-core-build
62+
- ray-core-build($)
6163
- ray-java-build
6264
- ray-dashboard-build

.buildkite/build.rayci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ steps:
1414
- "3.13"
1515
- "3.14"
1616
depends_on:
17-
- ray-wheel-build
17+
- ray-wheel-build(*)
1818
- forge
1919
tags:
2020
- release_wheels
@@ -46,7 +46,7 @@ steps:
4646
- linux_wheels
4747
- oss
4848
depends_on:
49-
- ray-core-build
49+
- ray-core-build(*)
5050
- ray-cpp-core-build
5151
- ray-java-build
5252
- ray-dashboard-build
@@ -97,7 +97,7 @@ steps:
9797
- docker
9898
- oss
9999
depends_on:
100-
- ray-wheel-build
100+
- ray-wheel-build(*)
101101
- raycpubase(*)
102102

103103
- name: ray-image-tpu-build
@@ -117,7 +117,7 @@ steps:
117117
- docker
118118
- oss
119119
depends_on:
120-
- ray-wheel-build
120+
- ray-wheel-build(*)
121121
- raytpubase(*)
122122

123123
- label: ":tapioca: smoke test: ray tpu image"
@@ -165,7 +165,7 @@ steps:
165165
- docker
166166
- oss
167167
depends_on:
168-
- ray-wheel-build
168+
- ray-wheel-build(*)
169169
- raycudabase(*)
170170

171171
- label: ":crane: publish: ray py{{matrix}} (x86_64)"
@@ -220,7 +220,7 @@ steps:
220220
- docker
221221
- oss
222222
depends_on:
223-
- ray-wheel-build
223+
- ray-wheel-build(*)
224224
- raycpubaseextra(*)
225225

226226
- name: ray-extra-image-cuda-build
@@ -253,7 +253,7 @@ steps:
253253
- docker
254254
- oss
255255
depends_on:
256-
- ray-wheel-build
256+
- ray-wheel-build(*)
257257
- raycudabaseextra(*)
258258

259259
- name: ray-llm-image-cuda-build
@@ -279,7 +279,7 @@ steps:
279279
- docker
280280
- oss
281281
depends_on:
282-
- ray-wheel-build
282+
- ray-wheel-build(*)
283283
- ray-llmbase(*)
284284

285285
- name: ray-llm-extra-image-cuda-build
@@ -305,7 +305,7 @@ steps:
305305
- docker
306306
- oss
307307
depends_on:
308-
- ray-wheel-build
308+
- ray-wheel-build(*)
309309
- ray-llmbaseextra(*)
310310

311311
- label: ":crane: publish: ray-extra py{{matrix}} (x86_64)"

.buildkite/core.rayci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
group: core tests
22
depends_on:
33
- forge
4-
- ray-core-build
4+
- ray-core-build(*)
55
- ray-dashboard-build
66
steps:
77
# builds
@@ -269,7 +269,7 @@ steps:
269269
- manylinux-x86_64
270270
- corebuild-multipy
271271
- forge
272-
- ray-wheel-build
272+
- ray-wheel-build(*)
273273

274274
- label: ":ray: core: minimal tests {{matrix}}"
275275
tags:

.buildkite/data.rayci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ group: data tests
22
depends_on:
33
- forge
44
- oss-ci-base_ml-multipy
5-
- ray-core-build
5+
- ray-core-build(*)
66
- ray-dashboard-build
77
steps:
88
# builds

.buildkite/doc.rayci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ steps:
55
wanda: ci/docker/doc.build.wanda.yaml
66
depends_on:
77
- oss-ci-base_build-multipy
8-
- ray-core-build
8+
- ray-core-build(*)
99
- ray-dashboard-build
1010
matrix:
1111
- "3.10"

.buildkite/kuberay.rayci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ steps:
1919
- manylinux-x86_64
2020
- forge
2121
- raycpubase(*)
22-
- ray-core-build
22+
- ray-core-build(*)
2323
- ray-dashboard-build
2424

2525
- label: ":kubernetes: chaos {{matrix.workload}} under {{matrix.fault}}"
@@ -47,5 +47,5 @@ steps:
4747
- manylinux-x86_64
4848
- forge
4949
- raycpubase(*)
50-
- ray-core-build
50+
- ray-core-build(*)
5151
- ray-dashboard-build

.buildkite/llm.rayci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
group: llm tests
22
depends_on:
33
- forge
4-
- ray-core-build
4+
- ray-core-build(*)
55
- ray-dashboard-build
66
steps:
77
- name: llmbuild

.buildkite/ml.rayci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
group: ml tests
22
depends_on:
33
- forge
4-
- ray-core-build
4+
- ray-core-build(*)
55
- ray-dashboard-build
66
steps:
77
# builds

.buildkite/others.rayci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ steps:
2323
--python-version 3.10
2424
depends_on:
2525
- doctestbuild
26-
- ray-core-build
26+
- ray-core-build(*)
2727
- ray-dashboard-build
2828

2929
# java

.buildkite/release/build.rayci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ steps:
9090
tags:
9191
- oss
9292
depends_on:
93-
- ray-wheel-build
93+
- ray-wheel-build(*)
9494
- raycpubaseextra-testdeps
9595

9696
- name: ray-anyscale-cuda-build
@@ -119,7 +119,7 @@ steps:
119119
tags:
120120
- oss
121121
depends_on:
122-
- ray-wheel-build
122+
- ray-wheel-build(*)
123123
- raycudabaseextra-testdeps
124124

125125
- label: ":crane: publish: ray-anyscale py{{matrix.python}} {{matrix.platform}}"
@@ -173,7 +173,7 @@ steps:
173173
tags:
174174
- oss
175175
depends_on:
176-
- ray-wheel-build
176+
- ray-wheel-build(*)
177177
- ray-llmbaseextra-testdeps
178178

179179
- label: ":crane: publish: ray-llm-anyscale py{{matrix.python}} {{matrix.platform}}"
@@ -220,7 +220,7 @@ steps:
220220
tags:
221221
- oss
222222
depends_on:
223-
- ray-wheel-build
223+
- ray-wheel-build(*)
224224
- ray-mlcudabaseextra-testdeps
225225

226226
- label: ":crane: publish: ray-ml-anyscale py{{matrix}} cu12.1.1-cudnn8"

0 commit comments

Comments
 (0)