CI: minimal remote downloads, strict action environment (#8760)

This commit is contained in:
Preston Van Loon 2021-04-13 10:45:43 -05:00 committed by GitHub
parent 131a14ee2f
commit fda003288d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,9 +10,13 @@
# Prysm specific remote-cache properties. # Prysm specific remote-cache properties.
#build:remote-cache --disk_cache= #build:remote-cache --disk_cache=
#build:remote-cache --remote_download_minimal build:remote-cache --remote_download_minimal
build:remote-cache --remote_cache=grpc://bazel-remote-cache:9092 build:remote-cache --remote_cache=grpc://bazel-remote-cache:9092
build:remote-cache --remote_local_fallback build:remote-cache --remote_local_fallback
# 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
# Import workspace options. # Import workspace options.
import %workspace%/.bazelrc import %workspace%/.bazelrc