11common --@aspect_rules_ts//ts:skipLibCheck=always
22common --@aspect_rules_ts//ts:default_to_tsc_transpiler
3- common --enable_bzlmod
43build --symlink_prefix=dist/
54
65# Needed as otherwise `env` of TS actions would be ignored.
76common --incompatible_merge_fixed_and_default_shell_env
87
9- # For remote testing
10- # -----
8+ # Frozen lockfile
9+ common --lockfile_mode=error
10+
11+ ################################
12+ # Remote Execution Setup #
13+ ################################
1114
1215# The following --define=EXECUTOR=remote will be able to be removed
1316# once https://github.com/bazelbuild/bazel/issues/7254 is fixed
@@ -27,14 +30,37 @@ build:remote --cpu=k8
2730build:remote --host_cpu=k8
2831
2932# Toolchain and platform related flags
30- build:remote --host_platform=@devinfra//bazel/remote-execution:platform
31- build:remote --platforms=@devinfra//bazel/remote-execution:platform
33+ # build:remote --host_platform=@devinfra//bazel/remote-execution:platform
34+ # build:remote --platforms=@devinfra//bazel/remote-execution:platform
3235
33- # Remote instance and caching
36+ # Use the Angular team internal GCP instance for remote execution.
3437build:remote --remote_instance_name=projects/internal-200822/instances/primary_instance
3538build:remote --bes_instance_name=internal-200822
39+
40+ # Setup the remote build execution servers.
3641build:remote --remote_cache=remotebuildexecution.googleapis.com
3742build:remote --remote_executor=remotebuildexecution.googleapis.com
3843
44+ # Set up authentication mechanism for RBE
45+ build:remote --google_default_credentials
46+
47+ # Use HTTP remote cache
48+ # build:remote-cache --remote_cache=https://storage.googleapis.com/angular-team-cache
49+ # build:remote-cache --remote_accept_cached=true
50+ # build:remote-cache --remote_upload_local_results=false
51+ # build:remote-cache --google_default_credentials
52+
53+ # Additional flags added when running a "trusted build" with additional access
54+ # build:trusted-build --remote_upload_local_results=true
55+
3956# Flag for validation/demonstration of partial compilation usage.
4057build --flag_alias=partial_compilation=//src/ng_project/config:partial_compilation
58+
59+ ####################################################
60+ # User bazel configuration
61+ # NOTE: This needs to be the *last* entry in the config.
62+ ####################################################
63+
64+ # Load any settings which are specific to the current user. Needs to be *last* statement
65+ # in this config, as the user configuration should be able to overwrite flags from this file.
66+ try-import .bazelrc.user
0 commit comments