Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
try-import %workspace%/.bazelrc.local

build --java_language_version=11
build --java_runtime_version=11
build --remote_cache=https://storage.googleapis.com/zipline-bazel-cache
test --test_output=errors
test --test_timeout=900
7 changes: 7 additions & 0 deletions devnotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,13 @@ export PATH="/usr/local/bin:${PATH}"
We enabled remote caching for all our builds/tests for both local development and CI.
As part of that change we would need to do gcloud auth to read/write from remote cache stored in our BigTable bucket for the local dev builds.

#### For passing GCloud Auth credentials to Bazel
Create a new .bazelrc.local file with the following content. Also feel free to specify any local overrides to the build/test options here.
This file is git-ignored.
```
build --google_credentials=/Users/{username}/.config/gcloud/application_default_credentials.json
```

### Java not found error on Mac

In case you run into this error the fix is to manually download and install amazon corretto-17 from [here](https://docs.aws.amazon.com/corretto/latest/corretto-17-ug/downloads-list.html)
Expand Down