forked from aspect-build/rules_ts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add CI on RBE (aspect-build#137)
- Loading branch information
1 parent
d584296
commit 78b290e
Showing
7 changed files
with
115 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Bazel settings that apply to this repository. | ||
# Take care to document any settings that you expect users to apply. | ||
# Settings that apply only to CI are in .github/workflows/ci.bazelrc | ||
|
||
# Allow the Bazel server to check directory sources for changes. | ||
# Recommended when using copy_directory, see | ||
# https://github.com/aspect-build/bazel-lib/blob/main/docs/copy_directory.md | ||
startup --host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1 | ||
|
||
# In general, the rules in this repository assume that runfiles | ||
# are enabled as we do not support no runfiles case. | ||
# | ||
# If you are developing on Windows, you must either run bazel | ||
# with administrator priviledges or enable developer mode. If | ||
# you do not you may hit this error on Windows: | ||
# | ||
# Bazel needs to create symlinks to build the runfiles tree. | ||
# Creating symlinks on Windows requires one of the following: | ||
# 1. Bazel is run with administrator privileges. | ||
# 2. The system version is Windows 10 Creators Update (1703) or later | ||
# and developer mode is enabled. | ||
build --enable_runfiles | ||
|
||
build --incompatible_allow_tags_propagation | ||
|
||
common --enable_platform_specific_config | ||
|
||
# Turn off legacy external runfiles on all platforms except Windows. | ||
# This prevents accidentally depending on this feature, which Bazel will remove. | ||
# Skylib's diff_test implementation for Windows depends on legacy external | ||
# runfiles so we cannot disable it fully. TODO: disable for all platforms and | ||
# remove the platform-specific config once the following fix is released: | ||
# https://github.com/bazelbuild/bazel-skylib/commit/872e9b06e18ae8ba2897cb65b9aaa172aa6279f3 | ||
|
||
build:linux --nolegacy_external_runfiles | ||
build:macos --nolegacy_external_runfiles | ||
build:freebsd --nolegacy_external_runfiles | ||
build:openbsd --nolegacy_external_runfiles | ||
|
||
# Turn on --incompatible_strict_action_env which was on by default | ||
# in Bazel 0.21.0 but turned off again in 0.22.0. Follow | ||
# https://github.com/bazelbuild/bazel/issues/7026 for more details. | ||
# This flag is needed to so that postinstall scripts can be executed | ||
# on the host. | ||
# See https://github.com/angular/angular/issues/27514. | ||
build --incompatible_strict_action_env | ||
|
||
# TODO: enable once this is supported in Bazel | ||
build:rbe --experimental_allow_unresolved_symlinks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
# import common bazelrc shared with e2e workspaces | ||
import %workspace%/../../.bazelrc.common | ||
|
||
common --experimental_enable_bzlmod | ||
common --registry=https://raw.githubusercontent.com/aspect-build/bazel-central-registry/main/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
# import common bazelrc shared with e2e workspaces | ||
import %workspace%/../../.bazelrc.common | ||
|
||
build:verbose --define=VERBOSE_LOGS=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# import common bazelrc shared with e2e workspaces | ||
import %workspace%/../../.bazelrc.common |