|
1 | 1 | group: release build |
2 | 2 | steps: |
| 3 | + # Build ray core components (required for wheel builds) |
| 4 | + - name: ray-core-build |
| 5 | + label: "wanda: core binary parts py{{matrix}} (x86_64)" |
| 6 | + wanda: ci/docker/ray-core.wanda.yaml |
| 7 | + matrix: |
| 8 | + - "3.10" |
| 9 | + - "3.11" |
| 10 | + - "3.12" |
| 11 | + env: |
| 12 | + PYTHON_VERSION: "{{matrix}}" |
| 13 | + ARCH_SUFFIX: "" |
| 14 | + HOSTTYPE: "x86_64" |
| 15 | + MANYLINUX_VERSION: "260103.868e54c" |
| 16 | + tags: oss |
| 17 | + |
| 18 | + - name: ray-dashboard-build |
| 19 | + label: "wanda: dashboard" |
| 20 | + wanda: ci/docker/ray-dashboard.wanda.yaml |
| 21 | + env: |
| 22 | + HOSTTYPE: "x86_64" |
| 23 | + MANYLINUX_VERSION: "260103.868e54c" |
| 24 | + tags: oss |
| 25 | + |
| 26 | + - name: ray-java-build |
| 27 | + label: "wanda: java build (x86_64)" |
| 28 | + wanda: ci/docker/ray-java.wanda.yaml |
| 29 | + tags: oss |
| 30 | + env: |
| 31 | + ARCH_SUFFIX: "" |
| 32 | + HOSTTYPE: "x86_64" |
| 33 | + MANYLINUX_VERSION: "260103.868e54c" |
| 34 | + |
| 35 | + - name: ray-wheel-build |
| 36 | + label: "wanda: wheel py{{matrix}} (x86_64)" |
| 37 | + wanda: ci/docker/ray-wheel.wanda.yaml |
| 38 | + matrix: |
| 39 | + - "3.10" |
| 40 | + - "3.11" |
| 41 | + - "3.12" |
| 42 | + env: |
| 43 | + PYTHON_VERSION: "{{matrix}}" |
| 44 | + ARCH_SUFFIX: "" |
| 45 | + HOSTTYPE: "x86_64" |
| 46 | + MANYLINUX_VERSION: "260103.868e54c" |
| 47 | + tags: oss |
| 48 | + depends_on: |
| 49 | + - ray-core-build |
| 50 | + - ray-java-build |
| 51 | + - ray-dashboard-build |
| 52 | + |
3 | 53 | - name: raycpubaseextra-testdeps |
4 | 54 | label: "wanda: ray.py{{matrix}}.cpu.base-extra-testdeps" |
5 | 55 | wanda: docker/base-extra-testdeps/cpu.wanda.yaml |
@@ -67,62 +117,166 @@ steps: |
67 | 117 | depends_on: |
68 | 118 | - ray-mlcudabaseextra |
69 | 119 |
|
70 | | - - label: ":tapioca: build: ray py{{matrix.python}}-{{matrix.platform}} image for release tests" |
| 120 | + # Build ray anyscale images using wanda (CPU) |
| 121 | + - name: ray-anyscale-cpu-build |
| 122 | + label: "wanda: ray-anyscale py{{matrix}} cpu" |
| 123 | + wanda: ci/docker/ray-anyscale-cpu.wanda.yaml |
| 124 | + matrix: |
| 125 | + # This list should be kept in sync with the list of supported Python in |
| 126 | + # release test suite |
| 127 | + - "3.10" |
| 128 | + - "3.11" |
| 129 | + - "3.12" |
| 130 | + env: |
| 131 | + PYTHON_VERSION: "{{matrix}}" |
| 132 | + ARCH_SUFFIX: "" |
| 133 | + tags: |
| 134 | + - oss |
| 135 | + depends_on: |
| 136 | + - ray-wheel-build |
| 137 | + - raycpubaseextra-testdeps |
| 138 | + |
| 139 | + # Build ray anyscale images using wanda (CUDA) |
| 140 | + - name: ray-anyscale-cuda-build |
| 141 | + label: "wanda: ray-anyscale py{{matrix.python}} cu{{matrix.cuda}}" |
| 142 | + wanda: ci/docker/ray-anyscale-cuda.wanda.yaml |
| 143 | + matrix: |
| 144 | + setup: |
| 145 | + python: |
| 146 | + - "3.10" |
| 147 | + - "3.11" |
| 148 | + - "3.12" |
| 149 | + cuda: |
| 150 | + - "12.3.2-cudnn9" |
| 151 | + env: |
| 152 | + PYTHON_VERSION: "{{matrix.python}}" |
| 153 | + CUDA_VERSION: "{{matrix.cuda}}" |
| 154 | + ARCH_SUFFIX: "" |
| 155 | + tags: |
| 156 | + - oss |
| 157 | + depends_on: |
| 158 | + - ray-wheel-build |
| 159 | + - raycudabaseextra-testdeps |
| 160 | + |
| 161 | + # Push anyscale images to ECR/GCP/Azure registries |
| 162 | + - label: ":docker: push: ray-anyscale py{{matrix.python}} {{matrix.platform}}" |
71 | 163 | key: anyscalebuild |
72 | 164 | instance_type: release-medium |
73 | 165 | mount_buildkite_agent: true |
74 | 166 | tags: |
75 | 167 | - oss |
76 | 168 | commands: |
77 | | - - bazel run //ci/ray_ci:build_in_docker -- anyscale |
78 | | - --python-version {{matrix.python}} --platform {{matrix.platform}} |
79 | | - --image-type ray --upload |
| 169 | + # Authenticate with GCP and Azure before pushing |
| 170 | + - bash release/gcloud_docker_login.sh release/aws2gce_iam.json |
| 171 | + - bash release/azure_docker_login.sh |
| 172 | + - az acr login --name rayreleasetest |
| 173 | + # PATH must include gcloud SDK for crane to use docker credential helper |
| 174 | + - export PATH=$(pwd)/google-cloud-sdk/bin:$PATH && |
| 175 | + bazel run //ci/ray_ci/automation:push_anyscale_image -- |
| 176 | + --python-version {{matrix.python}} |
| 177 | + --platform {{matrix.platform}} |
| 178 | + --image-type ray |
| 179 | + --upload |
80 | 180 | depends_on: |
81 | | - - manylinux-x86_64 |
82 | | - - forge |
83 | | - - raycpubaseextra-testdeps |
84 | | - - raycudabaseextra-testdeps |
| 181 | + - ray-anyscale-cpu-build |
| 182 | + - ray-anyscale-cuda-build |
85 | 183 | matrix: |
86 | 184 | setup: |
87 | 185 | python: |
88 | | - # This list should be kept in sync with the list of supported Python in |
89 | | - # release test suite |
90 | 186 | - "3.10" |
91 | 187 | - "3.11" |
92 | 188 | - "3.12" |
93 | 189 | platform: |
94 | 190 | - cu12.3.2-cudnn9 |
95 | 191 | - cpu |
96 | 192 |
|
97 | | - - label: ":tapioca: build: ray-llm py{{matrix}} image for release tests" |
| 193 | + # Build ray-llm anyscale image using wanda |
| 194 | + - name: ray-llm-anyscale-cuda-build |
| 195 | + label: "wanda: ray-llm-anyscale py{{matrix.python}} cu{{matrix.cuda}}" |
| 196 | + wanda: ci/docker/ray-llm-anyscale-cuda.wanda.yaml |
| 197 | + matrix: |
| 198 | + setup: |
| 199 | + python: |
| 200 | + - "3.11" |
| 201 | + cuda: |
| 202 | + - "12.8.1-cudnn" |
| 203 | + env: |
| 204 | + PYTHON_VERSION: "{{matrix.python}}" |
| 205 | + CUDA_VERSION: "{{matrix.cuda}}" |
| 206 | + ARCH_SUFFIX: "" |
| 207 | + tags: |
| 208 | + - oss |
| 209 | + depends_on: |
| 210 | + - ray-wheel-build |
| 211 | + - ray-llmbaseextra-testdeps |
| 212 | + |
| 213 | + # Push ray-llm anyscale images to ECR/GCP/Azure registries |
| 214 | + - label: ":docker: push: ray-llm-anyscale py{{matrix}} cu12.8.1-cudnn" |
98 | 215 | key: anyscalellmbuild |
99 | 216 | instance_type: release-medium |
100 | 217 | mount_buildkite_agent: true |
101 | 218 | tags: |
102 | 219 | - oss |
103 | 220 | commands: |
104 | | - - bazel run //ci/ray_ci:build_in_docker -- anyscale --python-version {{matrix}} |
105 | | - --platform cu12.8.1-cudnn --image-type ray-llm --upload |
| 221 | + # Authenticate with GCP and Azure before pushing |
| 222 | + - bash release/gcloud_docker_login.sh release/aws2gce_iam.json |
| 223 | + - bash release/azure_docker_login.sh |
| 224 | + - az acr login --name rayreleasetest |
| 225 | + # PATH must include gcloud SDK for crane to use docker credential helper |
| 226 | + - export PATH=$(pwd)/google-cloud-sdk/bin:$PATH && |
| 227 | + bazel run //ci/ray_ci/automation:push_anyscale_image -- |
| 228 | + --python-version {{matrix}} |
| 229 | + --platform cu12.8.1-cudnn |
| 230 | + --image-type ray-llm |
| 231 | + --upload |
106 | 232 | depends_on: |
107 | | - - manylinux-x86_64 |
108 | | - - forge |
109 | | - - ray-llmbaseextra-testdeps |
| 233 | + - ray-llm-anyscale-cuda-build |
110 | 234 | matrix: |
111 | 235 | - "3.11" |
112 | 236 |
|
113 | | - - label: ":tapioca: build: ray-ml py{{matrix}} image for release tests" |
| 237 | + # Build ray-ml anyscale image using wanda |
| 238 | + - name: ray-ml-anyscale-cuda-build |
| 239 | + label: "wanda: ray-ml-anyscale py{{matrix.python}} cu{{matrix.cuda}}" |
| 240 | + wanda: ci/docker/ray-ml-anyscale-cuda.wanda.yaml |
| 241 | + matrix: |
| 242 | + setup: |
| 243 | + python: |
| 244 | + # This list should be kept in sync with the list of supported Python in |
| 245 | + # release test suite |
| 246 | + - "3.10" |
| 247 | + cuda: |
| 248 | + - "12.1.1-cudnn8" |
| 249 | + env: |
| 250 | + PYTHON_VERSION: "{{matrix.python}}" |
| 251 | + CUDA_VERSION: "{{matrix.cuda}}" |
| 252 | + ARCH_SUFFIX: "" |
| 253 | + tags: |
| 254 | + - oss |
| 255 | + depends_on: |
| 256 | + - ray-wheel-build |
| 257 | + - ray-mlcudabaseextra-testdeps |
| 258 | + |
| 259 | + # Push ray-ml anyscale images to ECR/GCP/Azure registries |
| 260 | + - label: ":docker: push: ray-ml-anyscale py{{matrix}} cu12.1.1-cudnn8" |
114 | 261 | key: anyscalemlbuild |
115 | 262 | instance_type: release-medium |
116 | 263 | mount_buildkite_agent: true |
117 | 264 | tags: |
118 | 265 | - oss |
119 | 266 | commands: |
120 | | - - bazel run //ci/ray_ci:build_in_docker -- anyscale --python-version {{matrix}} |
121 | | - --platform cu12.1.1-cudnn8 --image-type ray-ml --upload |
| 267 | + # Authenticate with GCP and Azure before pushing |
| 268 | + - bash release/gcloud_docker_login.sh release/aws2gce_iam.json |
| 269 | + - bash release/azure_docker_login.sh |
| 270 | + - az acr login --name rayreleasetest |
| 271 | + # PATH must include gcloud SDK for crane to use docker credential helper |
| 272 | + - export PATH=$(pwd)/google-cloud-sdk/bin:$PATH && |
| 273 | + bazel run //ci/ray_ci/automation:push_anyscale_image -- |
| 274 | + --python-version {{matrix}} |
| 275 | + --platform cu12.1.1-cudnn8 |
| 276 | + --image-type ray-ml |
| 277 | + --upload |
122 | 278 | depends_on: |
123 | | - - manylinux-x86_64 |
124 | | - - forge |
125 | | - - ray-mlcudabaseextra-testdeps |
| 279 | + - ray-ml-anyscale-cuda-build |
126 | 280 | matrix: |
127 | 281 | # This list should be kept in sync with the list of supported Python in |
128 | 282 | # release test suite |
|
0 commit comments