forked from SeleniumHQ/selenium
-
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.
Enable remote Bazel cache through Google Cloud Storage
This commit lands a support for public read-only remote Bazel cache stored on Google Cloud Storage at https://storage.googleapis.com/seleniumhq-bazel-remote-cache. The storage bucket is public so anyone on the internet can use it to speed up building Selenium locally. The cache is written on the trunk CI builds by specifying --remote_upload_local_results=true in CI .bazelrc. Likewise, Selenium committers can write to the cache by getting the JSON key and adding the following to the .bazelrc.local: build --remote_upload_local_results=true --google_credentials=<path-to-json-key> For now, the bucket is stored in @p0deje personal Google cloud and we should eventually move it SeleniumHQ account if/once we have it.
- Loading branch information
Showing
9 changed files
with
90 additions
and
121 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Use predefined path for building so we could cache `external/`. | ||
startup --output_base=D:/_bazel | ||
build --disk_cache=D:/_bazel-disk | ||
|
||
# Set up caching on local disk so incremental builds are faster | ||
# See https://bazel.build/designs/2016/09/30/repository-cache.html | ||
build --repository_cache=D:/_bazel-repo |
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
Oops, something went wrong.