-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Create minimal wanda builds - Use bazel tags to tag minimal tests - 50% reduction in machine time for those jobs in this migration Signed-off-by: can <[email protected]>
- Loading branch information
1 parent
3052a8d
commit b5eae24
Showing
8 changed files
with
121 additions
and
39 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
ARG DOCKER_IMAGE_BASE_BUILD=cr.ray.io/rayproject/oss-ci-base_build | ||
FROM $DOCKER_IMAGE_BASE_BUILD | ||
|
||
ARG PYTHON_VERSION | ||
|
||
# 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 . . | ||
|
||
# minimal dependencies | ||
RUN MINIMAL_INSTALL=1 PYTHON=${PYTHON_VERSION} ci/env/install-dependencies.sh | ||
RUN rm -rf python/ray/thirdparty_files | ||
|
||
# install test requirements | ||
RUN python -m pip install -U pytest==7.0.1 numpy | ||
|
||
# core pre-release denpendencies | ||
RUN ./ci/env/install-core-prerelease-dependencies.sh |
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,10 @@ | ||
name: "minbuild-py$PYTHON_VERSION" | ||
froms: ["cr.ray.io/rayproject/oss-ci-base_build"] | ||
dockerfile: ci/docker/min.build.Dockerfile | ||
srcs: | ||
- ci/env/install-dependencies.sh | ||
- ci/env/install-core-prerelease-dependencies.sh | ||
build_args: | ||
- PYTHON_VERSION | ||
tags: | ||
- cr.ray.io/rayproject/minbuild-py$PYTHON_VERSION |
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