Skip to content

Commit 3e31b09

Browse files
anandoleecopybara-github
authored andcommitted
Drop Bazel 7 tests
PiperOrigin-RevId: 855074337
1 parent 38927bf commit 3e31b09

File tree

4 files changed

+4
-21
lines changed

4 files changed

+4
-21
lines changed

.github/workflows/test_bazel.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
fail-fast: false
2828
matrix:
2929
runner: [ ubuntu, windows, macos ]
30-
bazelversion: [ '7.6.1', '8.0.0' ]
30+
bazelversion: [ '8.0.0' ]
3131
bzlmod: [ true, false ]
3232
toolchain_resolution:
3333
# Default flags, uses from-source protoc
@@ -87,4 +87,4 @@ jobs:
8787
version: ${{ matrix.bazelversion }}
8888
bash: >
8989
cd examples/example_without_cc_toolchain;
90-
bazel build //... $BAZEL_FLAGS --enable_bzlmod=true ${{ matrix.toolchain_resolution }};
90+
bazel build //... $BAZEL_FLAGS --enable_bzlmod=true ${{ matrix.toolchain_resolution }};

.github/workflows/test_cpp.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,6 @@ jobs:
4040
- image: us-docker.pkg.dev/protobuf-build/containers/test/linux/sanitize:8.0.1-b77fdae6d4771789dfc66a56bf8d806354e8011a
4141
- targets: //pkg/... //src/... //third_party/utf8_range/... //conformance:conformance_framework_tests
4242
# Override cases with custom images
43-
- config: { name: "Bazel7", flags: --cxxopt="-Wno-self-assign-overloaded" }
44-
cache_key: Bazel7bzlmod
45-
image: "us-docker.pkg.dev/protobuf-build/containers/common/linux/bazel:7.6.1-e0df73e51131ccaf53451355d22577f377357604"
46-
targets: "//src/... //third_party/utf8_range/..."
47-
- config: { name: "Bazel7 Workspace", flags: --noenable_bzlmod }
48-
cache_key: Bazel7nobzlmod
49-
image: "us-docker.pkg.dev/protobuf-build/containers/common/linux/bazel:7.6.1-e0df73e51131ccaf53451355d22577f377357604"
50-
targets: "//src/... //third_party/utf8_range/..."
5143
- config: { name: "Bazel8", flags: --cxxopt="-Wno-self-assign-overloaded" }
5244
cache_key: Bazel8
5345
image: "us-docker.pkg.dev/protobuf-build/containers/common/linux/bazel:8.0.1-e78301df86b3e4c46ec9ac4d98be00e19305d8f3"

.github/workflows/test_java.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,6 @@ jobs:
4444
cache_key: '17'
4545
image: us-docker.pkg.dev/protobuf-build/containers/test/linux/java:8.0.1-17-168f9c9d015a0fa16611e1e9eede796fe9bfbb69
4646
targets: //java/... //java/internal:java_version //compatibility/...
47-
- name: Bazel7
48-
cache_key: 'bazel7bzlmod'
49-
image: us-docker.pkg.dev/protobuf-build/containers/common/linux/bazel:7.6.1-e0df73e51131ccaf53451355d22577f377357604
50-
targets: //java/... //java/internal:java_version //compatibility/...
51-
- name: Bazel7 Workspace
52-
cache_key: 'bazel7nobzlmod'
53-
image: us-docker.pkg.dev/protobuf-build/containers/common/linux/bazel:7.6.1-e0df73e51131ccaf53451355d22577f377357604
54-
targets: //java/... //java/internal:java_version //compatibility/...
55-
flags: --noenable_bzlmod
5647
# TODO: b/395623141 - restore this test once runtime uses / emulates aarch64.
5748
# - name: aarch64
5849
# cache_key: 'aarch64'

.github/workflows/test_python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
if: ${{ !matrix.continuous-only || inputs.continuous-run }}
6565
uses: protocolbuffers/protobuf-ci/bazel-docker@v5
6666
with:
67-
image: ${{ matrix.image || format('us-docker.pkg.dev/protobuf-build/containers/test/linux/python:7.6.1-{0}-5237f14696e60e4b050edfbf7ba9b374f37f83c6', matrix.version) }}
67+
image: ${{ matrix.image || format('us-docker.pkg.dev/protobuf-build/containers/test/linux/python:8.0.1-{0}-2c23b6d9f15185a1cdfebd6b1317310839a61975', matrix.version) }}
6868
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
6969
bazel-cache: python_linux/${{ matrix.type }}_${{ matrix.version }}
7070
bazel: test ${{ matrix.targets }} ${{ matrix.flags }} ${{ matrix.nobzlmod && '--noenable_bzlmod' || '' }} --test_env=KOKORO_PYTHON_VERSION
@@ -115,7 +115,7 @@ jobs:
115115
env:
116116
KOKORO_PYTHON_VERSION: ${{ matrix.version }}
117117
with:
118-
version: 7.6.1 # Bazel version
118+
version: 8.0.1 # Bazel version
119119
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
120120
bazel-cache: python_macos/${{ matrix.type }}_${{ matrix.version }}
121121
bazel: >-

0 commit comments

Comments
 (0)