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.
[CI] Buildkite PR Environment for Simple Tests (ray-project#13130)
- Loading branch information
Showing
6 changed files
with
54 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
FROM ubuntu:focal | ||
|
||
ARG REMOTE_CACHE_URL | ||
ARG BUILDKITE_PULL_REQUEST | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
ENV TZ=America/Los_Angeles | ||
ENV BUILDKITE=true | ||
ENV CI=true | ||
|
||
RUN apt-get update -qq | ||
RUN apt-get install -y -qq \ | ||
curl python-is-python3 git build-essential \ | ||
sudo unzip apt-utils dialog tzdata wget | ||
RUN locale -a | ||
|
||
# Setup Bazel caches | ||
RUN (echo "build --remote_cache=${REMOTE_CACHE_URL}" >> /root/.bazelrc); \ | ||
(if [ ${BUILDKITE_PULL_REQUEST} != "false" ]; then (echo "build --remote_upload_local_results=false" >> /root/.bazelrc); fi); \ | ||
cat /root/.bazelrc | ||
|
||
RUN mkdir /ray | ||
WORKDIR /ray | ||
|
||
# Below should be re-run each time | ||
COPY . . | ||
RUN ./ci/travis/ci.sh init | ||
RUN ./ci/travis/ci.sh build |
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,3 @@ | ||
- label: "Ray Core Tests (:buildkite: Experimental)" | ||
commands: | ||
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only -- //:all -rllib/... |
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