Commit Graph

90 Commits

Author SHA1 Message Date
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
Esun Kim faa80eaa10
Updated clang 15 images (#32317)
This is to get the latest version of clang 15 (15.0.7) for our docker
images based on that. By doing so, I had to address this new git
security enforcement so I added a new file to tame it. In a nutshell,
this PR is about polishing docker images based on clang 15.
2023-02-13 13:06:07 -08:00
Esun Kim 25b0aff1e7
Update a sanity docker image to run iwyu (#31956)
* Added missing iwyu deps

* Docker image pushed
2022-12-21 14:54:38 -08:00
Esun Kim 530b702259
Update Clang 15 (#31518)
* clang-15

* iwyu

* run clang_format_code

* Clang-Tidy config

* Fix misc-unused-using-decls

* Fixed performance-inefficient-vector-operation

* Sanity
2022-11-04 09:08:03 -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 d15711d2bb
Docker image cleanup (prepare for ARM64 tests) (#29051)
* remove gcc-multilib from base image

* remove useless "apt-get --allow-releaseinfo-change update" from docker images

* get rid of no-longer-useful python_debian11_base.include

* regenerate dockerfiles
2022-03-08 20:31:32 +01:00
Esun Kim 2057bfd182
Upgrade clang to 13 for clang-format, clang-tidy, and sanity (#28763) 2022-02-02 11:03:26 -08:00
Jan Tattermusch 1cf6b085f2
Enable ccache in more builds (#28665)
* upgrade ruby docker images to debian 11

* upgrade C# docker images to debian11

* update sanity dockerimage to debian11

* upgrade cxx interop to debian11

* add ccache to python interop images

* enable use of ccache for interop tests

* adjust run_tests.py to new docker images

* add ccache to rake-compiler-dock docker images

* improve prepare_ccache_symlinks_rc

* enable use of ccache in rake-compiler-dock docker containers

* add ccache support for python_manylinux2014_aarch64

* add ccache support for python_linux_armv7

* deduplicate python3.9 install

* ccache for crosscompiled darwin gems is broken

* fix bash -l resetting of PATH in grpc_artifact_python_linux_armv7
2022-01-25 20:37:04 +01:00
Jan Tattermusch 205d7569ea
Big dockerimage cleanup (#28010)
* use python3 for running run_tests.py

* update dockerimage templates

* update dockerfiles

* fix bazel build in the bazel docker image

* adjust run_tests.py to renamed php docker image

* add previously forgotten new templates

* add missing images

* php dockerfile remove whitespaces

* restore accidentally deleted binder_transport_apk image

* add back cxx_buster_x64 image

* add back php zts stretch image

* add back binder_transport_apk image

* fix bazel builds by temporarily adding back python2-dev

* check_redundant_namespace_qualifiers.py to python3

* fix clang-tidy

* make run_tests_matrix.py use python3

* fixup cxx_debian9 templates

* regenerate

* stop running dummy grpc-node tests for protobuf-at-head and boringssl-at-head jobs

* remove cxx_buster image (replaced by cxx_debian9)

* add back python_alpine_x64 image

* run_tests_in_workspace using python3

* unbreak python macos basictests by partially reverting run_tests_matrix to python2

* fix cxx_gcc_X docker images
2021-12-01 12:56:26 +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
Lidi Zheng 25a849baf3
Fix pytype missing bz2 lib error (#26638) 2021-07-08 13:39:40 -07:00
Richard Belleville 1437dc9816
Fix pypa link (#25647)
* Fix pypa link

* And 3.5 as well
2021-03-08 17:26:52 -08:00
Esun Kim 377fe6095a
Upgrade clang-tidy and clang-format to 11 (#25590)
* Upgrade clang-tidy and clang-format to 11
* Reformat code
* Fix abseil-string-find-str-contains
* Fix modernize-make-unique
2021-03-04 11:54:30 -08:00
Lidi Zheng a6c5d6c43e
[xDS Proto] Pin PyPI dependencies in Dockerfiles (#25510) 2021-02-22 10:10:56 -08:00
Jan Tattermusch cd53c55269 regenerate dockerfiles 2021-02-11 14:11:42 +01:00
Jan Tattermusch caddd2f3e9 regenerate dockerfiles 2020-12-15 17:34:46 +01:00
Esun Kim ab44f737ec py2to3 sanity scripts 2020-12-11 13:37:36 -08:00
Esun Kim 024cd29fdb Upgrade clang-format-8 2020-10-16 11:37:14 -07:00
Esun Kim 994c2047e9 Bump to clang-tidy-8 2020-10-15 21:15:50 -07:00
Esun Kim b8f1b71a05 Use clang-tidy 7 2020-10-15 15:48:24 -07:00
Esun Kim 0e0e12aa22 Using comp_db for clang-tidy 2020-10-13 09:51:31 -07:00
Jan Tattermusch bc4d478a21 regenerate dockerfiles 2020-08-20 16:49:58 +02:00
Hannah Shi d3c1cbf4cb replace gawk with awk, so as not to introduce an extra dependency 2020-07-24 19:02:46 +00:00
Hannah Shi c69c06b8d6 generate api reference documents by doxygen 2020-07-19 17:52:59 +00:00
Stanley Cheung 7d8f295ab0 Fix run_tests pip install error 2020-05-13 10:59:09 -07:00
Esun Kim 128c8eaacf Upgrade sanity docker 2020-03-03 10:46:52 -08:00
Lidi Zheng b2f72702c9 Pin virtualenv to 16.7.9 2020-02-11 11:05:23 -08:00
Lidi Zheng 9a05fb3573 Add buildifier sanity check 2019-11-05 14:03:52 -08: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 11729aeaa7
Merge pull request #20222 from jtattermusch/bazel_upgrade_0_29_1
Upgrade bazel to 0.29.1
2019-09-16 14:36:17 +02:00
Lidi Zheng b1767c1936
Merge pull request #20181 from lidizheng/add-3.6
Add Python 3.6 to default gRPC Python test environments
2019-09-13 10:30:03 -07: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
Lidi Zheng 3e2171ed61 Adopt reviewer's advice 2019-09-06 11:15:00 -07: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
Richard Belleville c9c847f334
Merge pull request #20097 from gnossen/dual_version_python_tests
Upgrade to Bazel 0.28.1
2019-08-28 18:17:57 -05:00
Jan Tattermusch b7667478cf bump bazel version to 0.27 2019-08-27 17:39:15 -07:00
Jan Tattermusch 905f52852e make python dockerfiles buildable again 2019-08-27 18:09:13 -04: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