Skip to content

Commit 62231dd

Browse files
authored
[ci] seperate doc related jobs into its own group (ray-project#58454)
so that they are not called lints any more Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
1 parent 3f7a7b4 commit 62231dd

File tree

5 files changed

+74
-72
lines changed

5 files changed

+74
-72
lines changed

.buildkite/base.rayci.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -77,27 +77,3 @@ steps:
7777
wanda: ci/docker/base.cu128.wanda.yaml
7878
env:
7979
PYTHON: "3.11"
80-
81-
- name: docbuild
82-
label: "wanda: docbuild-py{{matrix}}"
83-
wanda: ci/docker/doc.build.wanda.yaml
84-
depends_on:
85-
- oss-ci-base_build-multipy
86-
- ray-core-build
87-
- ray-dashboard-build
88-
matrix:
89-
- "3.9"
90-
- "3.10"
91-
- "3.12"
92-
env:
93-
PYTHON: "{{matrix}}"
94-
REQUIREMENTS_FILE: "python/deplocks/docs/docbuild_depset_py{{matrix}}.lock"
95-
tags: cibase
96-
97-
- name: docgpubuild
98-
label: "wanda: docgpubuild-py3.10"
99-
wanda: ci/docker/docgpu.build.wanda.yaml
100-
depends_on: oss-ci-base_gpu-multipy
101-
env:
102-
PYTHON: "3.10"
103-
tags: cibase

.buildkite/build.rayci.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -64,18 +64,6 @@ steps:
6464
depends_on: manylinux
6565
job_env: manylinux
6666

67-
- label: ":tapioca: build: doc"
68-
key: doc_build
69-
instance_type: medium
70-
commands:
71-
- bazel run //ci/ray_ci/doc:cmd_build
72-
depends_on: docbuild
73-
job_env: docbuild-py3.12
74-
tags:
75-
- oss
76-
- doc
77-
- skip-on-premerge
78-
7967
- label: ":tapioca: build: ray py{{matrix}} docker (x86_64)"
8068
key: ray_images
8169
tags:

.buildkite/doc.rayci.yml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
group: doc
2+
steps:
3+
- name: docbuild
4+
label: "wanda: docbuild-py{{matrix}}"
5+
wanda: ci/docker/doc.build.wanda.yaml
6+
depends_on:
7+
- oss-ci-base_build-multipy
8+
- ray-core-build
9+
- ray-dashboard-build
10+
matrix:
11+
- "3.9"
12+
- "3.10"
13+
- "3.12"
14+
env:
15+
PYTHON: "{{matrix}}"
16+
REQUIREMENTS_FILE: "python/deplocks/docs/docbuild_depset_py{{matrix}}.lock"
17+
tags: cibase
18+
19+
- name: docgpubuild
20+
label: "wanda: docgpubuild-py3.10"
21+
wanda: ci/docker/docgpu.build.wanda.yaml
22+
depends_on: oss-ci-base_gpu-multipy
23+
env:
24+
PYTHON: "3.10"
25+
tags: cibase
26+
27+
- label: ":book: doc: build"
28+
key: doc_build
29+
instance_type: medium
30+
commands:
31+
- bazel run //ci/ray_ci/doc:cmd_build
32+
depends_on: docbuild
33+
job_env: docbuild-py3.12
34+
tags:
35+
- oss
36+
- doc
37+
- skip-on-premerge
38+
39+
- label: ":book: doc: check python API: {{matrix}}"
40+
tags:
41+
- oss
42+
- python
43+
- dashboard
44+
- ray_client
45+
- data
46+
- serve
47+
- ml
48+
- tune
49+
- train
50+
- llm
51+
- rllib
52+
- rllib_gpu
53+
- doc
54+
key: lint-medium
55+
instance_type: medium
56+
depends_on: docbuild
57+
job_env: docbuild-py3.9
58+
commands:
59+
- ./ci/lint/lint.sh {{matrix}}
60+
matrix:
61+
- api_annotations
62+
- api_policy_check
63+
64+
- label: ":book: doc: linkcheck"
65+
instance_type: medium
66+
commands:
67+
- make -C doc/ linkcheck_all
68+
depends_on: docbuild
69+
job_env: docbuild-py3.10
70+
tags:
71+
- oss
72+
- skip-on-premerge
73+
soft_fail: true

.buildkite/lint.rayci.yml

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -33,39 +33,3 @@ steps:
3333
- forge
3434
commands:
3535
- ./ci/lint/lint.sh pre_commit_pydoclint
36-
37-
- label: ":lint-roller: python API: {{matrix}}"
38-
tags:
39-
- oss
40-
- python
41-
- dashboard
42-
- ray_client
43-
- data
44-
- serve
45-
- ml
46-
- tune
47-
- train
48-
- llm
49-
- rllib
50-
- rllib_gpu
51-
- doc
52-
key: lint-medium
53-
instance_type: medium
54-
depends_on: docbuild
55-
job_env: docbuild-py3.9
56-
commands:
57-
- ./ci/lint/lint.sh {{matrix}}
58-
matrix:
59-
- api_annotations
60-
- api_policy_check
61-
62-
- label: ":lint-roller: lint: linkcheck"
63-
instance_type: medium
64-
commands:
65-
- make -C doc/ linkcheck_all
66-
depends_on: docbuild
67-
job_env: docbuild-py3.10
68-
tags:
69-
- oss
70-
- skip-on-premerge
71-
soft_fail: true

ci/pipeline/test_rules.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ doc/*/BUILD
155155
doc/*.rst
156156
.vale.ini
157157
.vale/
158+
.buildkite/doc.rayci.yml
158159
@ doc
159160
;
160161

0 commit comments

Comments
 (0)