Commit Graph

15 Commits

Author SHA1 Message Date
Jan Tattermusch 1bf8414630
build_and_run_docker.sh cleanup and simplification (#29468)
* unify DOCKER_TTY_ARGS in docker scripts

* improvements and cleanup in build_and_run_docker.sh

* fix shellcheck

* make sure python sdist artifact is readable
2022-04-22 06:02:18 +02:00
Jan Tattermusch dd84445074
More cleanup of docker run machinery. (#28734)
* update copyrights as per review comments

* docker run.sh cleanup: unnecessary to set CONFIG

Originally added in as
https://github.com/grpc/grpc/pull/2225/files#diff-156ef223959550cc6280d4747c600c187f275e5bb1a8f73c297e282898bf5a60R34
and no longer needed.

* XML_REPORT env variable is not used anywhere, run_tests_cmd carries the args

* remove unnecessary POST_GIT_STEP setting

It was originally added in gcc4.4 compatibility test and gcc4.4 is no
longer supported
https://github.com/grpc/grpc/pull/5384

* more docker_run.sh cleanup
2022-02-10 19:12:52 +01:00
Jan Tattermusch c8c1774ec4
Revert "Revert "Cleanup run docker machinery in run_tests.py, task_runner.py and elsewhere (#28704)" (#28741)" (#28748)
* Revert "Revert "Cleanup run docker machinery in run_tests.py, task_runner.py and elsewhere (#28704)" (#28741)"

This reverts commit 9a79d44e9b.

* fix python distribtest failure on fedora34
2022-02-01 11:33:56 +01:00
Yash Tibrewal 9a79d44e9b
Revert "Cleanup run docker machinery in run_tests.py, task_runner.py and elsewhere (#28704)" (#28741)
This reverts commit be723121fc.
2022-01-28 11:42:12 -08:00
Jan Tattermusch be723121fc
Cleanup run docker machinery in run_tests.py, task_runner.py and elsewhere (#28704)
* attempt

* slim down build_docker_and_run_tests.sh

* HOST_GIT_ROOT is unused

* config and arch variable no need to propagate to run_tests.py

* unify unused LOCAL_GIT_ROOT to EXTERNAL_GIT_ROOT

* mounting gcloud config seems useless

* reorder docker args

* cleanup

* allow passing args to build_docker_and_run_tests.sh

* converge build_docker_and_run_tests.sh and build_and_run_docker.sh

* more convergence

* convergence of docker runners

* finalize convergence of run_docker scripts

* GRPC_TEST_REPORT_BASE_DIR might not exist

* adjust report copying

* make report_dir and output_dir readable

* alpine linux does not support cp -t
2022-01-28 11:46:36 +01:00
Mehrdad Afshari 5b0685b6c2 Fix submodule handling in dockerized tests 2018-02-22 23:11:31 -08:00
Mehrdad Afshari 2fc4ad1ed9 Fix Linux artifact builds
Change `git submodule` copying mechanism from the host
to the docker container to use `git clone` instead of
`git submodule update --init --reference`, which reaches
out to the network and fails on older docker containers
with deprecated openssl versions that do not support
modern TLS versions required by GitHub, e.g. manylinux1.

This fixes artifact builds for protoc and Python on Linux.
2018-02-22 21:45:03 -08:00
Mehrdad Afshari 827c799304 Make docker_run.sh pass shellcheck (with suppressions) 2018-01-25 09:08:37 -08:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02: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 a436bab47f fixed incorrect directory when using EXTERNAL_GIT_ROOT in Docker cloning var 2016-09-28 16:55:15 -07:00
Matt Kwong befac97048 fixed local cloning of grpc/grpc submodules on docker 2016-09-28 16:55:14 -07:00
Jan Tattermusch 99341e30cf move helper script for dockerization 2016-05-03 15:54:43 -07:00