Skip to content

Commit 4fa09c1

Browse files
jbedarddgp1130
authored andcommitted
build: prevent busting bazel analysis cache between build and test
1 parent 147f8c3 commit 4fa09c1

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.bazelrc

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Disable NG CLI TTY mode
2-
test --action_env=NG_FORCE_TTY=false
2+
build --action_env=NG_FORCE_TTY=false
33

44
# Make TypeScript compilation fast, by keeping a few copies of the compiler
55
# running as daemons, and cache SourceFile AST's to reduce parse time.
@@ -50,6 +50,12 @@ test --incompatible_strict_action_env
5050
# Enable remote caching of build/action tree
5151
build --experimental_remote_merkle_tree_cache
5252

53+
# Ensure that tags applied in BUILDs propagate to actions
54+
build --incompatible_allow_tags_propagation
55+
56+
# Don't check if output files have been modified
57+
build --noexperimental_check_output_files
58+
5359
# Ensure sandboxing is enabled even for exclusive tests
5460
test --incompatible_exclusive_test_sandboxed
5561

@@ -146,6 +152,9 @@ build:remote --google_default_credentials
146152
# These settings are required for rules_nodejs
147153
###############################
148154

155+
# Fixes use of npm paths with spaces such as some within the puppeteer module
156+
build --experimental_inprocess_symlink_creation
157+
149158
####################################################
150159
# User bazel configuration
151160
# NOTE: This needs to be the *last* entry in the config.
@@ -157,4 +166,4 @@ try-import .bazelrc.user
157166

158167
# Enable runfiles even on Windows.
159168
# Architect resolves output files from data files, and this isn't possible without runfile support.
160-
test --enable_runfiles
169+
build --enable_runfiles

0 commit comments

Comments
 (0)