From 4000959af8c05de554d037488514d0cdf8745e5e Mon Sep 17 00:00:00 2001 From: Joey Perrott Date: Tue, 7 Jan 2025 18:11:28 +0000 Subject: [PATCH] ci: add flag for preventing NpmPackageExtract from executing on RBE Prevent NpmPackageExtract from running on RBE and overwhelming our quota --- .bazelrc | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.bazelrc b/.bazelrc index caa0491048d0..084f8fb56026 100644 --- a/.bazelrc +++ b/.bazelrc @@ -162,6 +162,18 @@ build:remote-cache --google_default_credentials # Fixes use of npm paths with spaces such as some within the puppeteer module build --experimental_inprocess_symlink_creation +# Enable runfiles even on Windows. +# Architect resolves output files from data files, and this isn't possible without runfile support. +build --enable_runfiles + +#################################################### +# rules_js specific flags +#################################################### + +# TODO(josephperrott): investigate if this can be removed eventually. +# Prevents the npm package extract from occuring on RBE which overwhelms our quota +build --modify_execution_info=NpmPackageExtract=+no-remote-exec + #################################################### # User bazel configuration # NOTE: This needs to be the *last* entry in the config. @@ -170,7 +182,3 @@ build --experimental_inprocess_symlink_creation # Load any settings which are specific to the current user. Needs to be *last* statement # in this config, as the user configuration should be able to overwrite flags from this file. try-import .bazelrc.user - -# Enable runfiles even on Windows. -# Architect resolves output files from data files, and this isn't possible without runfile support. -build --enable_runfiles