Skip to content

Commit 4000959

Browse files
josephperrottjkrems
authored andcommitted
ci: add flag for preventing NpmPackageExtract from executing on RBE
Prevent NpmPackageExtract from running on RBE and overwhelming our quota
1 parent 34e7031 commit 4000959

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.bazelrc

+12-4
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,18 @@ build:remote-cache --google_default_credentials
162162
# Fixes use of npm paths with spaces such as some within the puppeteer module
163163
build --experimental_inprocess_symlink_creation
164164

165+
# Enable runfiles even on Windows.
166+
# Architect resolves output files from data files, and this isn't possible without runfile support.
167+
build --enable_runfiles
168+
169+
####################################################
170+
# rules_js specific flags
171+
####################################################
172+
173+
# TODO(josephperrott): investigate if this can be removed eventually.
174+
# Prevents the npm package extract from occuring on RBE which overwhelms our quota
175+
build --modify_execution_info=NpmPackageExtract=+no-remote-exec
176+
165177
####################################################
166178
# User bazel configuration
167179
# NOTE: This needs to be the *last* entry in the config.
@@ -170,7 +182,3 @@ build --experimental_inprocess_symlink_creation
170182
# Load any settings which are specific to the current user. Needs to be *last* statement
171183
# in this config, as the user configuration should be able to overwrite flags from this file.
172184
try-import .bazelrc.user
173-
174-
# Enable runfiles even on Windows.
175-
# Architect resolves output files from data files, and this isn't possible without runfile support.
176-
build --enable_runfiles

0 commit comments

Comments
 (0)