Commit Graph

30 Commits

Author SHA1 Message Date
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 1289cdae2e
Upgrade PHP docker images to debian11 (#28701)
* upgrade PHP docker images to debian11

* regenerate dockerfiles

* adjust testrunners to php debian11 images
2022-01-27 06:45:52 +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
Esun Kim 11d2f86e5e
Upgrade PHP7 docker image to use Debian 9 (#27537)
* Upgrade PHP7 docker image to use Debian 9

* update
2021-10-01 08:33:19 -07:00
Esun Kim 420a98f96b
Update docker images (#27109) 2021-08-24 18:03:45 -07:00
Jan Tattermusch 91f36feac8 fix PHP interop tests build 2020-07-15 08:56:46 +02:00
Jan Tattermusch cfbeb3edd7 Fix wrong error handling logic in php's build_interop.sh
If [[ "$DONE" != 1 ]] && echo "Failed to do composer install" && exit 1
is at the end of a shell script, even if DONE is 1, this will return with error
exit status. That's because [[ $DONE != 1 ]] has exitcode 1 and thus anything after && doesn't get executed
and the entire scripts exits the last exit code it seen (which is 1).
2020-04-23 16:18:22 +02:00
Jan Tattermusch 710be13856 refactor generate_proto_php.sh 2020-04-22 16:35:13 +02:00
Stanley Cheung e43f925983 PHP: update docker image PHP 7 version 2019-10-28 23:44:17 -07:00
Stanley Cheung e4081cca32 Limit retries to 5 times 2019-10-28 19:49:31 -07:00
Stanley Cheung 40427b1fc7 PHP: composer install could be flaky 2019-10-28 19:49:31 -07:00
Eric Anderson 1f84f8950c Remove vestigial sed for /etc/apt/sources.list in Dockerfiles
Jessie has a line that looks like this, now-a-days, so the regex is no
longer matching:
deb http://security.debian.org/debian-security jessie/updates main

But because that line was changed, downloads are also working correctly
out-of-the-box. The sed was originally added in #18530.
2019-04-04 17:45:00 -07:00
murgatroid99 2a12b47f0b Fix other docker build issues 2019-03-28 15:56:08 -07:00
Jan Tattermusch a8d960bbd2 speedup php7 interop build 2018-11-06 19:11:39 +01:00
Jan Tattermusch 0c4a3ba63b regenerate dockerfiles 2018-05-23 06:29:19 +02:00
Jan Tattermusch 2e679e664d
Revert "Remove ccache from all docker images" 2018-05-19 06:25:35 -07:00
Jan Tattermusch 80095a046c regenerate dockerfiles 2018-05-18 00:29:31 +02:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Jan Tattermusch 53cba4a153 Merge pull request #8182 from matt-kwong/fix_docker_local_clone
Fixed local cloning of grpc/grpc submodules on docker
2016-10-12 12:09:37 +02:00
Stanley Cheung 619c034fef php: require grpc extension to be installed before composer package 2016-10-06 12:22:02 -07:00
Matt Kwong 8bed8c853f Merge remote-tracking branch 'upstream/master' into fix_docker_local_clone 2016-10-04 17:34:35 -07:00
Stanley Cheung 39b2e5bec6 PHP Proto3: update tests and README 2016-09-29 17:26:40 -07:00
Stanley Cheung 857a130493 PHP Proto3: run generate_projects.sh 2016-09-29 17:26:29 -07:00
Matt Kwong 10dcccadfb fixed whitespacing and docker_run_tests.sh now clones submodule via network 2016-09-28 16:55:15 -07:00
Matt Kwong 5d0f24600e changed method to local clone submodules to using git submodule foreach from the local copy 2016-09-28 16:55:15 -07:00
Matt Kwong 46c7f574bd submodule clone comments changed to be more descriptive 2016-09-28 16:55:15 -07:00
Matt Kwong ce9471c962 fixed wrong directory in git clone commands 2016-09-28 16:55:14 -07:00
Matt Kwong befac97048 fixed local cloning of grpc/grpc submodules on docker 2016-09-28 16:55:14 -07:00
Stanley Cheung 2e2cdffe9d php: add php7 to jenkins basic and interop tests 2016-07-23 19:07:36 -07:00