|
1 | 1 | common --@aspect_rules_ts//ts:skipLibCheck=always |
2 | 2 | common --@aspect_rules_ts//ts:default_to_tsc_transpiler |
3 | | -common --enable_bzlmod |
4 | | -build --symlink_prefix=dist/ |
5 | 3 |
|
6 | | -# Needed as otherwise `env` of TS actions would be ignored. |
7 | | -common --incompatible_merge_fixed_and_default_shell_env |
8 | | - |
9 | | -# Frozen lockfile |
10 | | -common --lockfile_mode=error |
11 | | - |
12 | | -# More details on failures |
13 | | -build --verbose_failures=true |
14 | | - |
15 | | -# CI supports colors but Bazel does not detect it. |
16 | | -common --color=yes |
17 | | - |
18 | | -# For remote testing |
19 | | -# ----- |
20 | | - |
21 | | -# The following --define=EXECUTOR=remote will be able to be removed |
22 | | -# once https://github.com/bazelbuild/bazel/issues/7254 is fixed |
23 | | -build:remote --define=EXECUTOR=remote |
24 | | - |
25 | | -# Set a higher timeout value, just in case. |
26 | | -build:remote --remote_timeout=600 |
27 | | - |
28 | | -# Bazel detects maximum number of jobs based on host resources. |
29 | | -# Since we run remotely, we can increase this number significantly. |
30 | | -common:remote --jobs=200 |
31 | | - |
32 | | -build:remote --google_default_credentials |
33 | | - |
34 | | -# Force remote exeuctions to consider the entire run as linux |
35 | | -build:remote --cpu=k8 |
36 | | -build:remote --host_cpu=k8 |
| 4 | +# Flag for validation/demonstration of partial compilation usage. |
| 5 | +build --flag_alias=partial_compilation=//src/ng_project/config:partial_compilation |
37 | 6 |
|
38 | | -# Toolchain and platform related flags |
39 | | -build:remote --host_platform=@devinfra//bazel/remote-execution:platform |
40 | | -build:remote --platforms=@devinfra//bazel/remote-execution:platform |
| 7 | +import ../../../.bazelrc.common |
41 | 8 |
|
42 | | -# Remote instance and caching |
43 | | -build:remote --remote_instance_name=projects/internal-200822/instances/primary_instance |
44 | | -build:remote --bes_instance_name=internal-200822 |
45 | | -build:remote --remote_cache=remotebuildexecution.googleapis.com |
46 | | -build:remote --remote_executor=remotebuildexecution.googleapis.com |
| 9 | +#################################################### |
| 10 | +# User bazel configuration |
| 11 | +# NOTE: This needs to be the *last* entry in the config to allow for it to override other |
| 12 | +# configuration in this file. |
| 13 | +#################################################### |
47 | 14 |
|
48 | | -# Flag for validation/demonstration of partial compilation usage. |
49 | | -build --flag_alias=partial_compilation=//src/ng_project/config:partial_compilation |
| 15 | +# Load any settings which are specific to the current user. Needs to be *last* statement |
| 16 | +# in this config, as the user configuration should be able to overwrite flags from this file. |
| 17 | +try-import ../../../.bazelrc.user |
0 commit comments