Skip to content

Commit 7db5b74

Browse files
committed
use bazel 8.x everywhere and bump the CI minimum bazel version to 7.x
1 parent 9800e07 commit 7db5b74

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

.bazelci/presubmit.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ buildifier:
1818
# Use a specific version to avoid skew issues when new versions are released.
1919
version: 6.1.0
2020
warnings: "all"
21-
# NOTE: Minimum supported version is 6.x for workspace; 7.x for bzlmod
21+
# NOTE: Minimum supported version is 7.x
2222
.minimum_supported_version: &minimum_supported_version
2323
# For testing minimum supported version.
2424
# NOTE: Keep in sync with //:version.bzl
25-
bazel: 6.4.0
26-
skip_in_bazel_downstream_pipeline: "Bazel 6 required"
25+
bazel: 7.4.1
26+
skip_in_bazel_downstream_pipeline: "Bazel 7 required"
2727
.reusable_config: &reusable_config
2828
build_targets:
2929
- "--"
@@ -34,7 +34,6 @@ buildifier:
3434
build_flags:
3535
- "--keep_going"
3636
- "--build_tag_filters=-integration-test"
37-
- "--config=bazel7.x"
3837
test_targets:
3938
- "--"
4039
- "..."
@@ -160,7 +159,6 @@ tasks:
160159
- "--enable_workspace"
161160
- "--keep_going"
162161
- "--build_tag_filters=-integration-test"
163-
- "--config=bazel7.x"
164162
test_targets:
165163
- "--"
166164
- "..."

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.x
1+
8.x

version.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
# against.
1818
# This version should be updated together with the version of Bazel
1919
# in .bazelversion.
20-
BAZEL_VERSION = "7.x"
20+
BAZEL_VERSION = "8.x"
2121

2222
# NOTE: Keep in sync with .bazelci/presubmit.yml
2323
# This is the minimum supported bazel version, that we have some tests for.
24-
MINIMUM_BAZEL_VERSION = "6.4.0"
24+
MINIMUM_BAZEL_VERSION = "7.4.1"
2525

2626
# Versions of Bazel which users should be able to use.
2727
# Ensures we don't break backwards-compatibility,

0 commit comments

Comments
 (0)