Commit Graph

46 Commits

Author SHA1 Message Date
Michael Lumish 28f1453ad5
Use a non-root user in Node interop docker images (#29062)
* Use a non-root user in Node interop docker images

* Make node interop scripts without being root

* Update cwd in Node interop tests

* Update cwd in other Node interop tests

* Update cwd in Node interop tests relative to hardcoded path

* Fix updated Node interop test cwd

* Make service account file location more generic

* Use service account creds directly from mounted directory

* Fixing source path is recursive local submodule clone.

* Move creds file to /root, make /root accessible

Co-authored-by: Nicolas "Pixel" Noble <pixel@nobis-crew.org>
2022-03-15 14:41:21 -07: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 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 420a98f96b
Update docker images (#27109) 2021-08-24 18:03:45 -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
Jan Tattermusch cd53c55269 regenerate dockerfiles 2021-02-11 14:11:42 +01:00
Esun Kim a07345a5e2 Upgrade six 1.15 2020-10-08 12:46:00 -07:00
Stanley Cheung 7d8f295ab0 Fix run_tests pip install error 2020-05-13 10:59:09 -07:00
Lidi Zheng b2f72702c9 Pin virtualenv to 16.7.9 2020-02-11 11:05:23 -08:00
Lidi Zheng fe919dd71e Pin to 19.3.1 2019-12-19 10:53:55 -08:00
Lidi Zheng 0404939ad0 Let our CI use the latest pip version 2019-12-19 10:53:55 -08:00
murgatroid99 a8139b4da1 Fix node interop build scripts 2019-05-09 16:54:22 -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 e1efb43345
Revert "Install pyyaml through pip in docker" 2018-06-18 16:03:59 +02:00
Alex Polcyn f3fb98e75f Install pyyaml through pip in docker 2018-06-14 06:44:56 +00:00
Jan Tattermusch 0c4a3ba63b regenerate dockerfiles 2018-05-23 06:29:19 +02:00
murgatroid99 143c7e1e6d Don't update npm when installing node 2018-05-21 11:56:26 -07: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
murgatroid99 cd1172c9dd Revert recent changes to node interop build script 2018-05-07 10:31:41 -07:00
kpayson64 6abc0aef5d
Merge pull request #15048 from kpayson64/use_c_core_for_interop
Use c core for interop
2018-04-21 15:10:00 -07:00
kpayson64 9d00766d5a Make Node interop tests use c-core changes 2018-04-20 16:13:26 -07:00
Mehrdad Afshari c176917789 Bump Python protobuf to 3.5.2.post1 2018-04-19 15:48:31 -04:00
Mehrdad Afshari d0d8ce8568 Bump pip version to 10.0.1 2018-04-19 15:48:23 -04:00
Matt Kwong 01bd0c6b19 Update pip pin from 9.0.1 to 9.0.2 2018-04-09 14:14:43 -07:00
Matt Kwong 4598eb8a7a Update pip pin from 9.0.1 to 9.0.2 2018-04-06 15:37:37 -07:00
murgatroid99 2c86e064f0 Add Node pure JS interop client 2018-03-09 15:06:33 -08:00
Mehrdad Afshari 0df9c8acdc Update Python dependency to protobuf v3.5.0.post1 2017-11-27 12:52:41 -08:00
murgatroid99 fbc182e125 Switch Node interop tests to use grpc-node repo 2017-10-17 11:42:12 -07:00
Nathaniel Manista 8bba3bfc25 Pin pip at 9.0.1 2017-09-28 17:28:01 +00:00
Alexander Polcyn 27bf05d003 Add tests for c-ares wrapper using a local DNS server. 2017-09-14 14:32:30 -07:00
murgatroid99 a6ce1ff1d6 Fix how npm is upgraded, add npm update line for electron 2017-06-27 18:15:38 -07:00
murgatroid99 7ad758cd84 Make various scripts use the same version of Node 2017-06-27 13:54:22 -07:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Mehrdad Afshari 9b3c73d1cd Updated protobuf dependency for python to 3.2.0 2017-03-07 22:10:15 +00: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
siddharthshukla 0589e533cd Make testing toolchain python 3.x compliant
six is necessary for making these scripts cross compatible
between python 2.x and 3.x

Changes:
Add six to python_deps.include
Include python_deps.include to all Dockerfile templates in test directory
Include python_deps.include to all Dockerfile templates in stress_test directory
Include python_deps.include to all Dockerfile templates in interop_test directory
Replace print statements with print function calls (from futute..)
Replace .iteritems() with .items() wherever necessary
use six.moves to import BaseHTTPServer
Generate new dockerfiles using generate_projects.sh
2016-07-12 01:35:53 +02:00
Craig Tiller eda85c6765 Expunge all references to zookeeper 2016-07-01 12:45:19 -07:00
murgatroid99 9fab438669 Made Node tests support multiple versions and set the Node default version to 4 everywhere possible 2016-04-29 15:05:00 -07:00
Jan Tattermusch 24b68cd62f generate interop test Dockerfiles using templates 2016-04-27 15:31:11 -07:00
Jan Tattermusch c218d05029 move interop test docker files to a subdir 2016-04-27 15:27:55 -07:00