17 Commits

Author SHA1 Message Date
Sreenithi Sridharan
17251ed9a2 Update ccache version in all referencing Dockerfiles (#40264)
CCache version was last updated in Dockerfiles around [3 years ago](https://github.com/grpc/grpc/commits/master/templates/tools/dockerfile/ccache.include) in #34035.

Hence, updating it to a more recent version.

Closes #40264

PiperOrigin-RevId: 785871258
2025-07-22 08:54:02 -07:00
Craig Tiller
e68f172a18 [build] Fix template (#39348)
Closes #39348

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/39348 from ctiller:abs 75d39e3235f1dca0941dad437b074c687f8dd58d
PiperOrigin-RevId: 753024272
2025-04-29 22:59:02 -07:00
Craig Tiller
3afc5d692a [build] Convert more templates to inja (#39304)
This should complete the templates that /do not/ have embedded Python

Closes #39304

PiperOrigin-RevId: 750384033
2025-04-22 17:33:19 -07:00
Craig Tiller
5fb754aeb5 [build] Convert dockerfiles to new template system (#38812)
Closes #38812

PiperOrigin-RevId: 743803131
2025-04-03 21:26:45 -07:00
Jan Tattermusch
a526a091ae [docker images] Consolidate git directory ownership workaround and upgrade ccache (#34035)
Based on https://github.com/grpc/grpc/pull/34033

Bunch of cleanup and rebuilding many docker images from scratch
- consolidate the workaround for "dubious ownership" issue reported by
git. Other team members have run into this recently and used similar but
not identical workarounds so some cleanup is due.
- rebuilding many images increases the chance that we fix the "dubious
ownership" git issue early on rather than later on in the one-at-a-time
fashion in the future (and the former will prevent many teammembers from
wasting time on this weird issue).
- Newer version of ccache is needed for some portability tests to be
able to benefit from caching (e.g. the GCC 12 portability test to get
benefits of local disk caching) - this is a prerequisite for reenabling
the bazelified gcc12 portability test.
- upgrade node interop images to debian:11 (since debian jessie is long
past EOL).
2023-08-17 00:28:21 +02: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
Jan Tattermusch
b0cdd3cba2 Cleanup (followup for ccache addition) (#28702)
* nit in python interop dockerfile

* address TODO in prepare_ccache_symlinks_rc

* enable ccache for C# and ruby distribtest jobs

* use debian11 instead of bullseye consistently
2022-01-26 18:56:46 +01: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
Richard Belleville
179a7c7459 Fix Python Interop (#27620) (#27703) (#27749)
* WIP. Attempt to fix interop

* Yapf
2021-10-15 18:22:29 -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
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
Stanley Cheung
7d8f295ab0 Fix run_tests pip install error 2020-05-13 10:59:09 -07:00
Lidi Zheng
13e1965b38 Let the template spit out the backslashes 2020-01-31 13:19:09 -08:00
Lidi Zheng
3e2d5da7a2 Use as much template as possible & fix some wording 2020-01-31 13:19:09 -08:00
Lidi Zheng
dc202bdf1f Adding gRPC Python AsyncIO interop client and server 2020-01-31 13:19:09 -08:00