Skip to content

Commit ac136e7

Browse files
authored
Update Java runtime version to remotejdk_17 in .bazelrc (#1390)
1 parent 944b15a commit ac136e7

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.bazelci/presubmit.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ matrix:
77
- ubuntu2404
88
- ubuntu2204
99
integration_shard_flags:
10-
- ["--test_tag_filters=shard_0", "--config=rbe"]
11-
- ["--test_tag_filters=shard_1", "--config=rbe"]
12-
- ["--test_tag_filters=shard_2", "--config=rbe"]
10+
- ["--test_tag_filters=shard_0"]
11+
- ["--test_tag_filters=shard_1"]
12+
- ["--test_tag_filters=shard_2"]
1313
# - macos
1414
# - windows re-enable when rules_bazel_integration_test can support custom test runner on windows.
1515
test_flags:
@@ -48,7 +48,6 @@ tasks:
4848
test_flags:
4949
# Override the default worker strategy for remote builds (worker strategy
5050
# cannot be used with remote builds)
51-
- "--config=rbe"
5251
- "--strategy=KotlinCompile=remote"
5352
stardoc:
5453
name: Stardoc api documentation

.bazelrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ common --enable_bzlmod=true
22
common --incompatible_use_plus_in_repo_names
33
common --incompatible_disallow_empty_glob=false
44

5-
common:rbe --java_runtime_version=11
6-
common:rbe --tool_java_runtime_version=11
5+
common --java_runtime_version=remotejdk_17
6+
common --tool_java_runtime_version=remotejdk_17
77

88
build --strategy=KotlinCompile=worker
99
build --test_output=all

0 commit comments

Comments
 (0)