Skip to content

Commit

Permalink
ci: add flag for preventing NpmPackageExtract from executing on RBE
Browse files Browse the repository at this point in the history
Prevent NpmPackageExtract from running on RBE and overwhelming our quota
  • Loading branch information
josephperrott authored and jkrems committed Jan 7, 2025
1 parent 34e7031 commit 4000959
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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

0 comments on commit 4000959

Please sign in to comment.