Skip to content

Commit 1666f7f

Browse files
hmelloramd-xiaoyu12
authored andcommitted
[CI] Remove duplicated docs build from buildkite (vllm-project#22924)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Signed-off-by: Xiao Yu <xiao.yu@amd.com>
1 parent b89bf85 commit 1666f7f

File tree

3 files changed

+5
-18
lines changed

3 files changed

+5
-18
lines changed

.buildkite/test-pipeline.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,6 @@
3131
steps:
3232
##### fast check tests #####
3333

34-
- label: Documentation Build # 2min
35-
mirror_hardwares: [amdexperimental]
36-
working_dir: "/vllm-workspace/test_docs"
37-
fast_check: true
38-
no_gpu: True
39-
commands:
40-
- pip install -r ../requirements/docs.txt
41-
# TODO: add `--strict` once warnings in docstrings are fixed
42-
- mkdocs build
43-
4434
- label: Pytorch Nightly Dependency Override Check # 2min
4535
# if this test fails, it means the nightly torch version is not compatible with some
4636
# of the dependencies. Please check the error message and add the package to whitelist

docker/Dockerfile

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -497,14 +497,11 @@ ENV HF_HUB_ENABLE_HF_TRANSFER 1
497497
# Copy in the v1 package for testing (it isn't distributed yet)
498498
COPY vllm/v1 /usr/local/lib/python${PYTHON_VERSION}/dist-packages/vllm/v1
499499

500-
# doc requires source code
501-
# we hide them inside `test_docs/` , so that this source code
500+
# Source code is used in the `python_only_compile.sh` test
501+
# We hide it inside `src/` so that this source code
502502
# will not be imported by other tests
503-
RUN mkdir test_docs
504-
RUN mv docs test_docs/
505-
RUN cp -r examples test_docs/
506-
RUN mv vllm test_docs/
507-
RUN mv mkdocs.yaml test_docs/
503+
RUN mkdir src
504+
RUN mv vllm src/vllm
508505
#################### TEST IMAGE ####################
509506

510507
#################### OPENAI API SERVER ####################

tests/standalone_tests/python_only_compile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ cd /vllm-workspace/
1010
# uninstall vllm
1111
pip3 uninstall -y vllm
1212
# restore the original files
13-
mv test_docs/vllm ./vllm
13+
mv src/vllm ./vllm
1414

1515
# remove all compilers
1616
apt remove --purge build-essential -y

0 commit comments

Comments
 (0)