Commit Graph

26 Commits

Author SHA1 Message Date
Jan Tattermusch d3548a3941
[bazel] Upgrade bazel repo-wide to 6.3.2 (#34088)
- Upgrade bazel
- Reduce the number of places where bazel version needs to be upgraded
in future.
- also make sure the list of bazel versions to test by bazelified tests
is loaded from supported_versions.txt (it was hardcoded before).
- ~~Try upgrading windows RBE build to bazel 6.3.2 as well.~~

The core idea:
- the source of truth for supported bazel versions is in
`bazel/supported_versions.txt`
- the first version listed in `bazel/supported_versions.txt` is
considered to be the "primary" bazel version and is going to be used in
most places thoroughout the repo.
- use templates to include the primary bazel version in testing
dockerfiles and in a newly introduced `.bazelversion` files (which gets
loaded by our existing `tools/bazel` wrapper).


~~Supersedes https://github.com/grpc/grpc/pull/33880~~
2023-08-18 10:11:33 +02:00
Esun Kim 3bd6c38650
[Infra] Use Bazel 6 and drop Bazel 4 (Part 2) (#32910)
Oops I missed important changes from
https://github.com/grpc/grpc/pull/32712. And it turned out that there
are two problems that I couldn't fix at this point.
- Windows Bazel RBE Linker Error: This may be caused by how new Bazel 6
invokes build tools chain but it's not clear. I put workaround to use
Bazel 5 by using `OVERRIDE_BAZEL_VERSION=5.4.1`
- Rule `rules_pods` to fetch CronetFramework from CocoaPod has
incompatibility with sort of built-in apple toolchain.
(https://github.com/bazel-xcode/PodToBUILD/issues/232): I couldn't find
a workaround to fix this so I ended up disabling all tests depending
this target.
2023-04-21 15:53:52 -07:00
Jan Tattermusch 631392f2e7
Upgrade bazel version to bazel 5.3 (repo-wide) (#30844)
* update bazel to 5.3.0

* regenerate dockerfiles

* update bazel distribtest

* update docker image templates

* regenerate dockerfiles 2

* regenerate bazel_support.md

* upgrade rules_apple and apple_support bazel deps

* Revert "upgrade rules_apple and apple_support bazel deps"

This reverts commit eb9a0d2155.

* fix objc bazel 5.3 build on kokoro mojave image
2022-09-08 11:18:54 +02:00
Jan Tattermusch 6d3c45ff7b
Add dockerized ARM64 tests (bazel C/C++, C#, PHP, ruby, python) (#28966)
* C# arm64 docker image

* add ruby arm64 docker image

* add bazel_arm64 docker image

* add python arm64 image

* add php arm64 docker image

* regenerate

* add support for running arm64 tests with run_tests.py

* restrict arm64 testing to python3.9

* first version of bazel arm64 C++ tests

* add arm64 job configs

* add initial checks to push_testing_images.sh
2022-03-14 13:30:52 +01:00
Jan Tattermusch 0042c2b86f
Upgrade bazel to 4.2.1 (LTS), upgrade bazel toolchain to 4.1.0 (#27410)
* update bazel to 4.2.1

* add bazel 4.2.1 to update_mirror.sh

* regenerate dockerfiles

* upgrade bazel toolchains to 4.1.0

* use create_rbe_exec_properties_dict instead of the deprecated create_exec_properties_dict

* RBE ubsan doesnt require the crosstool_top hack anymore

* update rules_apple and build_bazel_apple_support
2021-09-23 16:20:25 +02:00
Jan Tattermusch bf21b2b3a0 update bazel version in other places too 2020-12-15 17:29:49 +01:00
Jan Tattermusch 424d33415c upgrade bazel to 2.2.0 2020-08-20 16:48:56 +02:00
Jan Tattermusch e5e3f70a1a Revert "Revert "Upgrade to bazel 1.0.0"" 2019-10-29 06:31:38 -04:00
Nicolas Noble 04d7e0d11f
Revert "Upgrade to bazel 1.0.0" 2019-10-15 14:26:32 -07:00
Jan Tattermusch 27f1a94aa5 upgrade to bazel 1.0.0 2019-10-14 10:20:59 -04:00
Jan Tattermusch 98d2d32b9e upgrade to bazel 0.29.1 2019-09-10 12:11:19 -04:00
Jan Tattermusch 107db8dab4 upgrade bazel to 0.29 2019-09-10 12:07:45 -04:00
Jan Tattermusch 4e8ecb9fe6
Revert "Upgrade to Bazel 0.29 (including Windows RBE)" 2019-09-06 12:31:45 +02:00
Jan Tattermusch 36574888be upgrade bazel to 0.29 2019-09-04 02:59:50 -04:00
Richard Belleville 1444cd1dd3 Revert "Revert "Merge pull request #20097 from gnossen/dual_version_python_tests""
This reverts commit 24c562dbaa.
2019-08-29 10:51:36 -07:00
Richard Belleville 24c562dbaa Revert "Merge pull request #20097 from gnossen/dual_version_python_tests"
This reverts commit c9c847f334, reversing
changes made to 07ba4de392.
2019-08-29 10:47:44 -07:00
Jan Tattermusch b7667478cf bump bazel version to 0.27 2019-08-27 17:39:15 -07:00
Nicolas "Pixel" Noble 46ed7524f9 Bazel version syncup. 2019-06-14 07:35:27 +02:00
Jan Tattermusch e66fb82495 disable bazel wrapper inside docker containers 2019-06-05 16:53:12 -04:00
Jan Tattermusch ed7e8c53e0 update scripts 2019-06-05 14:21:51 -04:00
Jan Tattermusch b53e707c3c update bazel version in dockerfile 2019-05-23 17:54:40 +02:00
Bill Feng d74e4079c5 upgrade bazel to 0.23.2 for docker legacy bazel builds
excluded Python tests from Bazel legacy C/C++ Kokoro CI jobs
disabled building examples due to existance of python
2019-04-04 17:22:03 -07:00
Lidi Zheng c372768fee Install Bazel using its installation script 2019-01-31 12:10:43 -08:00
Jan Tattermusch 4de6dac703 upgrade bazel in Dockerfile to 0.17.1 2018-10-30 21:09:10 +01:00
Naresh b6518afdd6
Upgrade Bazel to 0.15.0 2018-07-12 19:35:11 +00:00
Jan Tattermusch 629d621a3e upgrade bazel to 0.13.1, introduce template 2018-05-23 22:41:00 +02:00