Skip to content

Commit b1e601c

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 19ae76b commit b1e601c

File tree

12 files changed

+43
-41
lines changed

12 files changed

+43
-41
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: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ steps:
1515
- "3.13"
1616
- "3.14"
1717
depends_on:
18-
- ray-wheel-build(*)
18+
- ray-wheel-build($)
1919
- forge
2020
tags:
2121
- release_wheels
@@ -99,7 +99,7 @@ steps:
9999
- docker
100100
- oss
101101
depends_on:
102-
- ray-wheel-build(*)
102+
- ray-wheel-build($)
103103
- raycpubase($)
104104

105105
- name: ray-image-tpu-build
@@ -120,7 +120,7 @@ steps:
120120
- docker
121121
- oss
122122
depends_on:
123-
- ray-wheel-build(*)
123+
- ray-wheel-build($)
124124
- raytpubase($)
125125

126126
- label: ":tapioca: smoke test: ray tpu image"
@@ -167,7 +167,7 @@ steps:
167167
- docker
168168
- oss
169169
depends_on:
170-
- ray-wheel-build(*)
170+
- ray-wheel-build($)
171171
- raycudabase($)
172172

173173
- label: ":crane: publish: ray py{{array.python}} (x86_64)"
@@ -224,7 +224,7 @@ steps:
224224
- docker
225225
- oss
226226
depends_on:
227-
- ray-wheel-build(*)
227+
- ray-wheel-build($)
228228
- raycpubaseextra($)
229229

230230
- name: ray-extra-image-cuda-build
@@ -256,7 +256,7 @@ steps:
256256
- docker
257257
- oss
258258
depends_on:
259-
- ray-wheel-build(*)
259+
- ray-wheel-build($)
260260
- raycudabaseextra($)
261261

262262
- name: ray-llm-image-cuda-build
@@ -281,7 +281,7 @@ steps:
281281
- docker
282282
- oss
283283
depends_on:
284-
- ray-wheel-build(*)
284+
- ray-wheel-build($)
285285
- ray-llmbase($)
286286

287287
- name: ray-llm-extra-image-cuda-build
@@ -306,7 +306,7 @@ steps:
306306
- docker
307307
- oss
308308
depends_on:
309-
- ray-wheel-build(*)
309+
- ray-wheel-build($)
310310
- ray-llmbaseextra($)
311311

312312
- label: ":crane: publish: ray-extra py{{array.python}} (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)