mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 03:30:35 +00:00
Remote caching with GCP (#2294)
* add remote caching * google_default_credentials * Revert "add remote caching" This reverts commit 2493db95578c91d97b06b4835370ffb267ef0798. * Revert "Revert "add remote caching"" This reverts commit 310ab4b47d49e23e0866476d2617443c31410852. * do not use default creds? * prysm specific remote-cache properties * --disk_cache= * 50 jobs
This commit is contained in:
parent
2018d882f1
commit
4f120f8205
@ -1,9 +1,21 @@
|
||||
build:remote --remote_max_connections=200
|
||||
build:remote --disk_cache=
|
||||
build:remote --remote_http_cache=https://storage.googleapis.com/prysmatic-bazel-cache
|
||||
build:remote --google_default_credentials
|
||||
build:remote --remote_timeout=10
|
||||
build:remote --experimental_guard_against_concurrent_changes
|
||||
# The following flags enable the remote cache so action results can be shared
|
||||
# across machines, developers, and workspaces.
|
||||
#
|
||||
# This config is loaded from https://github.com/bazelbuild/bazel-toolchains/blob/master/bazelrc/latest.bazelrc
|
||||
build:remote-cache --remote_cache=remotebuildexecution.googleapis.com
|
||||
build:remote-cache --tls_enabled=true
|
||||
build:remote-cache --remote_timeout=3600
|
||||
build:remote-cache --auth_enabled=true
|
||||
build:remote-cache --spawn_strategy=standalone
|
||||
build:remote-cache --strategy=Javac=standalone
|
||||
build:remote-cache --strategy=Closure=standalone
|
||||
build:remote-cache --strategy=Genrule=standalone
|
||||
|
||||
# Prysm specific remote-cache properties.
|
||||
build:remote-cache --disk_cache=
|
||||
build:remote-cache --jobs=50
|
||||
build:remote-cache --host_platform_remote_properties_override='properties:{name:\"cache-silo-key\" value:\"prysm\"}'
|
||||
build:remote-cache --remote_instance_name=projects/prysmaticlabs/instances/default_instance
|
||||
|
||||
build --experimental_strict_action_env
|
||||
build --disk_cache=/tmp/bazelbuilds
|
||||
|
Loading…
Reference in New Issue
Block a user