forked from ray-project/ray
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
documentation to civ02 (ray-project#39629)
Move documentation job to civ2 - Create a doc.build wanda that install requirements-doc.txt - Compile requirements-compiled.txt together with requirements-doc.txt - DocBuildContainer simply runs 'make html' Signed-off-by: can <can@anyscale.com>
- Loading branch information
1 parent
af12c2f
commit d3eb64b
Showing
10 changed files
with
103 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
ARG DOCKER_IMAGE_BASE_BUILD=cr.ray.io/rayproject/oss-ci-base_build | ||
FROM $DOCKER_IMAGE_BASE_BUILD | ||
|
||
# Unset dind settings; we are using the host's docker daemon. | ||
ENV DOCKER_TLS_CERTDIR= | ||
ENV DOCKER_HOST= | ||
ENV DOCKER_TLS_VERIFY= | ||
ENV DOCKER_CERT_PATH= | ||
|
||
SHELL ["/bin/bash", "-ice"] | ||
|
||
COPY . . | ||
|
||
RUN pip install -U --ignore-installed \ | ||
-c python/requirements_compiled.txt \ | ||
-r python/requirements.txt \ | ||
-r python/requirements/test-requirements.txt \ | ||
-r python/requirements/lint-requirements.txt \ | ||
-r doc/requirements-doc.txt | ||
|
||
RUN HOROVOD_WITH_GLOO=1 HOROVOD_WITHOUT_MPI=1 HOROVOD_WITHOUT_MXNET=1 \ | ||
pip install -U --ignore-installed -c python/requirements_compiled.txt horovod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: "docbuild" | ||
froms: ["cr.ray.io/rayproject/oss-ci-base_build"] | ||
dockerfile: ci/docker/doc.build.Dockerfile | ||
srcs: | ||
- python/requirements.txt | ||
- python/requirements_compiled.txt | ||
- python/requirements/test-requirements.txt | ||
- python/requirements/lint-requirements.txt | ||
- doc/requirements-doc.txt | ||
tags: | ||
- cr.ray.io/rayproject/docbuild |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from ci.ray_ci.container import Container | ||
|
||
|
||
class DocBuilderContainer(Container): | ||
def __init__(self) -> None: | ||
super().__init__("docbuild") | ||
self.install_ray() | ||
|
||
def run(self) -> None: | ||
self.run_script( | ||
[ | ||
"cd doc", | ||
"FAST=True make html", | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters