mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 03:30:35 +00:00
03e7acbf9f
* increase bazel java max mem to 4gb * DEBUG: set nocache and modify nogo to force any disk cache misses. Revert this commit after testing in CI * Revert "DEBUG: set nocache and modify nogo to force any disk cache misses. Revert this commit after testing in CI" This reverts commit dc41cce43d511ab4c2788c772b6e6c9f2d0b3a08.
47 lines
1.9 KiB
Plaintext
47 lines
1.9 KiB
Plaintext
# 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_timeout=3600
|
|
#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 --remote_download_minimal
|
|
build:remote-cache --remote_cache=grpc://bazel-remote-cache:9092
|
|
build:remote-cache --experimental_remote_downloader=grpc://bazel-remote-cache:9092
|
|
build:remote-cache --remote_local_fallback
|
|
build:remote-cache --experimental_remote_cache_async
|
|
build:remote-cache --experimental_remote_merkle_tree_cache
|
|
build:remote-cache --experimental_action_cache_store_output_metadata
|
|
build:remote-cache --experimental_remote_cache_compression
|
|
# Enforce stricter environment rules, which eliminates some non-hermetic
|
|
# behavior and therefore improves both the remote cache hit rate and the
|
|
# correctness and repeatability of the build.
|
|
build:remote-cache --incompatible_strict_action_env=true
|
|
|
|
build --experimental_use_hermetic_linux_sandbox
|
|
|
|
# Import workspace options.
|
|
import %workspace%/.bazelrc
|
|
|
|
startup --host_jvm_args=-Xmx4g --host_jvm_args=-Xms2g
|
|
build --experimental_strict_action_env
|
|
build --sandbox_tmpfs_path=/tmp
|
|
build --verbose_failures
|
|
build --announce_rc
|
|
build --show_progress_rate_limit=5
|
|
build --curses=no --color=no
|
|
build --keep_going
|
|
build --test_output=errors
|
|
build --flaky_test_attempts=5
|
|
# Disabled race detection due to unstable test results under constrained environment build kite
|
|
# build --features=race
|
|
|
|
# Better caching
|
|
build:nostamp --nostamp
|
|
build:nostamp --workspace_status_command=./hack/workspace_status_ci.sh
|