-
Notifications
You must be signed in to change notification settings - Fork 522
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract common bazelrc to a shared file (#781)
- Loading branch information
1 parent
72c4a24
commit a91a402
Showing
36 changed files
with
59 additions
and
455 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,5 @@ | ||
# Print test logs for failed tests | ||
test --test_output=errors | ||
# Import shared settings first so we can override below | ||
import common.bazelrc | ||
|
||
# Mock versioning command to test the --stamp behavior | ||
build --workspace_status_command="echo BUILD_SCM_VERSION 1.2.3" | ||
|
||
# Enable debugging tests with --config=debug | ||
test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results | ||
|
||
# Turn off legacy external runfiles | ||
run --nolegacy_external_runfiles | ||
test --nolegacy_external_runfiles | ||
|
||
# Turn on managed_directories | ||
build --experimental_allow_incremental_repository_updates | ||
test --experimental_allow_incremental_repository_updates | ||
run --experimental_allow_incremental_repository_updates |
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,16 @@ | ||
# Common Bazel settings | ||
# These are imported into the .bazelrc files in each workspace in this repo | ||
|
||
# Print test logs for failed tests | ||
test --test_output=errors | ||
|
||
# Enable debugging tests with --config=debug | ||
test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results | ||
|
||
# Turn off legacy external runfiles | ||
run --nolegacy_external_runfiles | ||
test --nolegacy_external_runfiles | ||
|
||
# Turn on managed_directories | ||
build --experimental_allow_incremental_repository_updates | ||
run --experimental_allow_incremental_repository_updates |
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,14 +1 @@ | ||
# Print test logs for failed tests | ||
test --test_output=errors | ||
|
||
# Enable debugging tests with --config=debug | ||
test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results | ||
|
||
# Turn off legacy external runfiles | ||
run --nolegacy_external_runfiles | ||
test --nolegacy_external_runfiles | ||
|
||
# Turn on managed_directories | ||
build --experimental_allow_incremental_repository_updates | ||
test --experimental_allow_incremental_repository_updates | ||
run --experimental_allow_incremental_repository_updates | ||
import %workspace%/../../common.bazelrc |
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,14 +1 @@ | ||
# Print test logs for failed tests | ||
test --test_output=errors | ||
|
||
# Enable debugging tests with --config=debug | ||
test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results | ||
|
||
# Turn off legacy external runfiles | ||
run --nolegacy_external_runfiles | ||
test --nolegacy_external_runfiles | ||
|
||
# Turn on managed_directories | ||
build --experimental_allow_incremental_repository_updates | ||
test --experimental_allow_incremental_repository_updates | ||
run --experimental_allow_incremental_repository_updates | ||
import %workspace%/../../common.bazelrc |
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,14 +1 @@ | ||
# Print test logs for failed tests | ||
test --test_output=errors | ||
|
||
# Enable debugging tests with --config=debug | ||
test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results | ||
|
||
# Turn off legacy external runfiles | ||
run --nolegacy_external_runfiles | ||
test --nolegacy_external_runfiles | ||
|
||
# Turn on managed_directories | ||
build --experimental_allow_incremental_repository_updates | ||
test --experimental_allow_incremental_repository_updates | ||
run --experimental_allow_incremental_repository_updates | ||
import %workspace%/../../common.bazelrc |
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,14 +1 @@ | ||
# Print test logs for failed tests | ||
test --test_output=errors | ||
|
||
# Enable debugging tests with --config=debug | ||
test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results | ||
|
||
# Turn off legacy external runfiles | ||
run --nolegacy_external_runfiles | ||
test --nolegacy_external_runfiles | ||
|
||
# Turn on managed_directories | ||
build --experimental_allow_incremental_repository_updates | ||
test --experimental_allow_incremental_repository_updates | ||
run --experimental_allow_incremental_repository_updates | ||
import %workspace%/../../common.bazelrc |
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,14 +1 @@ | ||
# Print test logs for failed tests | ||
test --test_output=errors | ||
|
||
# Enable debugging tests with --config=debug | ||
test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results | ||
|
||
# Turn off legacy external runfiles | ||
run --nolegacy_external_runfiles | ||
test --nolegacy_external_runfiles | ||
|
||
# Turn on managed_directories | ||
build --experimental_allow_incremental_repository_updates | ||
test --experimental_allow_incremental_repository_updates | ||
run --experimental_allow_incremental_repository_updates | ||
import %workspace%/../../common.bazelrc |
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,14 +1 @@ | ||
# Print test logs for failed tests | ||
test --test_output=errors | ||
|
||
# Enable debugging tests with --config=debug | ||
test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results | ||
|
||
# Turn off legacy external runfiles | ||
run --nolegacy_external_runfiles | ||
test --nolegacy_external_runfiles | ||
|
||
# Turn on managed_directories | ||
build --experimental_allow_incremental_repository_updates | ||
test --experimental_allow_incremental_repository_updates | ||
run --experimental_allow_incremental_repository_updates | ||
import %workspace%/../../common.bazelrc |
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,14 +1 @@ | ||
# Print test logs for failed tests | ||
test --test_output=errors | ||
|
||
# Enable debugging tests with --config=debug | ||
test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results | ||
|
||
# Turn off legacy external runfiles | ||
run --nolegacy_external_runfiles | ||
test --nolegacy_external_runfiles | ||
|
||
# Turn on managed_directories | ||
build --experimental_allow_incremental_repository_updates | ||
test --experimental_allow_incremental_repository_updates | ||
run --experimental_allow_incremental_repository_updates | ||
import %workspace%/../../common.bazelrc |
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,14 +1 @@ | ||
# Print test logs for failed tests | ||
test --test_output=errors | ||
|
||
# Enable debugging tests with --config=debug | ||
test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results | ||
|
||
# Turn off legacy external runfiles | ||
run --nolegacy_external_runfiles | ||
test --nolegacy_external_runfiles | ||
|
||
# Turn on managed_directories | ||
build --experimental_allow_incremental_repository_updates | ||
test --experimental_allow_incremental_repository_updates | ||
run --experimental_allow_incremental_repository_updates | ||
import %workspace%/../../common.bazelrc |
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,14 +1 @@ | ||
# Print test logs for failed tests | ||
test --test_output=errors | ||
|
||
# Enable debugging tests with --config=debug | ||
test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results | ||
|
||
# Turn off legacy external runfiles | ||
run --nolegacy_external_runfiles | ||
test --nolegacy_external_runfiles | ||
|
||
# Turn on managed_directories | ||
build --experimental_allow_incremental_repository_updates | ||
test --experimental_allow_incremental_repository_updates | ||
run --experimental_allow_incremental_repository_updates | ||
import %workspace%/../../common.bazelrc |
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,14 +1 @@ | ||
# Print test logs for failed tests | ||
test --test_output=errors | ||
|
||
# Enable debugging tests with --config=debug | ||
test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results | ||
|
||
# Turn off legacy external runfiles | ||
run --nolegacy_external_runfiles | ||
test --nolegacy_external_runfiles | ||
|
||
# Turn on managed_directories | ||
build --experimental_allow_incremental_repository_updates | ||
test --experimental_allow_incremental_repository_updates | ||
run --experimental_allow_incremental_repository_updates | ||
import %workspace%/../../common.bazelrc |
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,14 +1 @@ | ||
# Print test logs for failed tests | ||
test --test_output=errors | ||
|
||
# Enable debugging tests with --config=debug | ||
test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results | ||
|
||
# Turn off legacy external runfiles | ||
run --nolegacy_external_runfiles | ||
test --nolegacy_external_runfiles | ||
|
||
# Turn on managed_directories | ||
build --experimental_allow_incremental_repository_updates | ||
test --experimental_allow_incremental_repository_updates | ||
run --experimental_allow_incremental_repository_updates | ||
import %workspace%/../../common.bazelrc |
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,14 +1 @@ | ||
# Print test logs for failed tests | ||
test --test_output=errors | ||
|
||
# Enable debugging tests with --config=debug | ||
test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results | ||
|
||
# Turn off legacy external runfiles | ||
run --nolegacy_external_runfiles | ||
test --nolegacy_external_runfiles | ||
|
||
# Turn on managed_directories | ||
build --experimental_allow_incremental_repository_updates | ||
test --experimental_allow_incremental_repository_updates | ||
run --experimental_allow_incremental_repository_updates | ||
import %workspace%/../../common.bazelrc |
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,14 +1 @@ | ||
# Print test logs for failed tests | ||
test --test_output=errors | ||
|
||
# Enable debugging tests with --config=debug | ||
test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results | ||
|
||
# Turn off legacy external runfiles | ||
run --nolegacy_external_runfiles | ||
test --nolegacy_external_runfiles | ||
|
||
# Turn on managed_directories | ||
build --experimental_allow_incremental_repository_updates | ||
test --experimental_allow_incremental_repository_updates | ||
run --experimental_allow_incremental_repository_updates | ||
import %workspace%/../../common.bazelrc |
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,14 +1 @@ | ||
# Print test logs for failed tests | ||
test --test_output=errors | ||
|
||
# Enable debugging tests with --config=debug | ||
test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results | ||
|
||
# Turn off legacy external runfiles | ||
run --nolegacy_external_runfiles | ||
test --nolegacy_external_runfiles | ||
|
||
# Turn on managed_directories | ||
build --experimental_allow_incremental_repository_updates | ||
test --experimental_allow_incremental_repository_updates | ||
run --experimental_allow_incremental_repository_updates | ||
import %workspace%/../../common.bazelrc |
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,14 +1 @@ | ||
# Print test logs for failed tests | ||
test --test_output=errors | ||
|
||
# Enable debugging tests with --config=debug | ||
test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results | ||
|
||
# Turn off legacy external runfiles | ||
run --nolegacy_external_runfiles | ||
test --nolegacy_external_runfiles | ||
|
||
# Turn on managed_directories | ||
build --experimental_allow_incremental_repository_updates | ||
test --experimental_allow_incremental_repository_updates | ||
run --experimental_allow_incremental_repository_updates | ||
import %workspace%/../../common.bazelrc |
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,14 +1 @@ | ||
# Print test logs for failed tests | ||
test --test_output=errors | ||
|
||
# Enable debugging tests with --config=debug | ||
test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results | ||
|
||
# Turn off legacy external runfiles | ||
run --nolegacy_external_runfiles | ||
test --nolegacy_external_runfiles | ||
|
||
# Turn on managed_directories | ||
build --experimental_allow_incremental_repository_updates | ||
test --experimental_allow_incremental_repository_updates | ||
run --experimental_allow_incremental_repository_updates | ||
import %workspace%/../../common.bazelrc |
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,14 +1 @@ | ||
# Print test logs for failed tests | ||
test --test_output=errors | ||
|
||
# Enable debugging tests with --config=debug | ||
test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results | ||
|
||
# Turn off legacy external runfiles | ||
run --nolegacy_external_runfiles | ||
test --nolegacy_external_runfiles | ||
|
||
# Turn on managed_directories | ||
build --experimental_allow_incremental_repository_updates | ||
test --experimental_allow_incremental_repository_updates | ||
run --experimental_allow_incremental_repository_updates | ||
import %workspace%/../../common.bazelrc |
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,14 +1 @@ | ||
# Print test logs for failed tests | ||
test --test_output=errors | ||
|
||
# Enable debugging tests with --config=debug | ||
test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results | ||
|
||
# Turn off legacy external runfiles | ||
run --nolegacy_external_runfiles | ||
test --nolegacy_external_runfiles | ||
|
||
# Turn on managed_directories | ||
build --experimental_allow_incremental_repository_updates | ||
test --experimental_allow_incremental_repository_updates | ||
run --experimental_allow_incremental_repository_updates | ||
import %workspace%/../../common.bazelrc |
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,14 +1 @@ | ||
# Print test logs for failed tests | ||
test --test_output=errors | ||
|
||
# Enable debugging tests with --config=debug | ||
test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results | ||
|
||
# Turn off legacy external runfiles | ||
run --nolegacy_external_runfiles | ||
test --nolegacy_external_runfiles | ||
|
||
# Turn on managed_directories | ||
build --experimental_allow_incremental_repository_updates | ||
test --experimental_allow_incremental_repository_updates | ||
run --experimental_allow_incremental_repository_updates | ||
import %workspace%/../../common.bazelrc |
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,9 +1,3 @@ | ||
# Print test logs for failed tests | ||
test --test_output=errors | ||
|
||
# Enable debugging tests with --config=debug | ||
test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results | ||
|
||
# Turn off legacy external runfiles | ||
run --nolegacy_external_runfiles | ||
test --nolegacy_external_runfiles | ||
# Note, this workspace doesn't need --experimental_allow_incremental_repository_updates | ||
# but it's simpler to get all the shared settings anyway. | ||
import %workspace%/../../common.bazelrc |
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,14 +1 @@ | ||
# Print test logs for failed tests | ||
test --test_output=errors | ||
|
||
# Enable debugging tests with --config=debug | ||
test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results | ||
|
||
# Turn off legacy external runfiles | ||
run --nolegacy_external_runfiles | ||
test --nolegacy_external_runfiles | ||
|
||
# Turn on managed_directories | ||
build --experimental_allow_incremental_repository_updates | ||
test --experimental_allow_incremental_repository_updates | ||
run --experimental_allow_incremental_repository_updates | ||
import %workspace%/../../common.bazelrc |
Oops, something went wrong.