From fda003288da6520336895f16166372f6abcaba8f Mon Sep 17 00:00:00 2001 From: Preston Van Loon Date: Tue, 13 Apr 2021 10:45:43 -0500 Subject: [PATCH] CI: minimal remote downloads, strict action environment (#8760) --- .buildkite-bazelrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.buildkite-bazelrc b/.buildkite-bazelrc index c53ac4df6..c7cea906c 100644 --- a/.buildkite-bazelrc +++ b/.buildkite-bazelrc @@ -10,9 +10,13 @@ # Prysm specific remote-cache properties. #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_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%/.bazelrc