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] add dockerignore file (ray-project#42464)
do not include stuff that is not required for testing Signed-off-by: Lonnie Liu <[email protected]>
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.git | ||
bazel-* |
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 |
---|---|---|
|
@@ -60,6 +60,17 @@ run_timeout() { | |
} | ||
|
||
pushd "$ROOT_DIR"/.. | ||
|
||
if [[ ! -d ".git" ]]; then | ||
# git is removed, but we need one for the git diff check to work, so create | ||
# a dummy one here. | ||
git init | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "nobody" | ||
git add . | ||
git commit -a -m "capture for diff" | ||
fi | ||
|
||
echo "Build java maven deps." | ||
bazel build //java:gen_maven_deps | ||
|
||
|