Skip to content

Commit 32bfd01

Browse files
keithlizan
authored andcommitted
ci: Enable bazel limited download flags (envoyproxy#7563)
* ci: Enable bazel limited download flags Signed-off-by: Keith Smiley <[email protected]>
1 parent 80a4ed7 commit 32bfd01

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ci/setup_cache.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ if [[ ! -z "${GCP_SERVICE_ACCOUNT_KEY}" ]]; then
1717
echo "${GCP_SERVICE_ACCOUNT_KEY}" | base64 --decode > "${GCP_SERVICE_ACCOUNT_KEY_FILE}"
1818
fi
1919

20+
if [[ -n "${BAZEL_REMOTE_CACHE}" ]]; then
21+
export BAZEL_BUILD_EXTRA_OPTIONS="${BAZEL_BUILD_EXTRA_OPTIONS} \
22+
--experimental_inmemory_dotd_files \
23+
--experimental_inmemory_jdeps_files \
24+
--experimental_remote_download_outputs=toplevel"
25+
fi
26+
2027
if [[ "${BAZEL_REMOTE_CACHE}" =~ ^http ]]; then
2128
if [[ ! -z "${GCP_SERVICE_ACCOUNT_KEY}" ]]; then
2229
export BAZEL_BUILD_EXTRA_OPTIONS="${BAZEL_BUILD_EXTRA_OPTIONS} \

0 commit comments

Comments
 (0)