[CI] Update cxx_* docker images to install twisted (#33857)
This is so that the newly added dns_test (which uses twisted-based server) within the posix_event_engine_test can run on those platforms. <!-- If you know who should review your pull request, please assign it to that person, otherwise the pull request would get assigned randomly. If your pull request is for a specific language, please add the appropriate lang label. -->
This commit is contained in:
parent
498fc99479
commit
4dee8bf3fd
|
|
@ -0,0 +1,2 @@
|
|||
# Some cxx tests depend on the twisted package
|
||||
RUN python3 -m pip install twisted
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
#====================
|
||||
# run_tests.py python dependencies
|
||||
|
||||
# Basic python dependencies to be able to run tools/run_tests python scripts
|
||||
# These dependencies are not sufficient to build gRPC Python, gRPC Python
|
||||
# deps are defined elsewhere (e.g. python_deps.include)
|
||||
RUN apt-get update && apt-get install -y ${'\\'}
|
||||
python3 ${'\\'}
|
||||
python3-pip ${'\\'}
|
||||
python3-setuptools ${'\\'}
|
||||
python3-yaml ${'\\'}
|
||||
&& apt-get clean
|
||||
|
||||
# use pinned version of pip to avoid sudden breakages
|
||||
# Some newer distros that have already implemented PEP 668. Use of
|
||||
# --break-system-packages is to workaround that. We should look into using
|
||||
# virtualenv in Dockerfile though.
|
||||
RUN python3 -m pip install --break-system-packages --upgrade pip==19.3.1
|
||||
|
||||
# TODO(jtattermusch): currently six is needed for tools/run_tests scripts
|
||||
# but since our python2 usage is deprecated, we should get rid of it.
|
||||
RUN python3 -m pip install six==1.16.0
|
||||
|
||||
<%include file="./gcp_api_libraries.include"/>
|
||||
|
|
@ -49,8 +49,9 @@
|
|||
# These are needed for uploading test results to BigQuery (e.g. by tools/run_tests scripts)
|
||||
RUN python3 -m pip install --upgrade google-auth==1.24.0 google-api-python-client==1.12.8 oauth2client==4.1.0
|
||||
|
||||
RUN python3 -m pip install --upgrade --ignore-installed PyYAML==5.4.1 --user
|
||||
RUN python3 -m pip install --upgrade --ignore-installed PyYAML==6.0.1 --user
|
||||
|
||||
<%include file="../../cxx_test_deps.include"/>
|
||||
<%include file="../../ccache.include"/>
|
||||
<%include file="../../run_tests_addons.include"/>
|
||||
<%include file="../../git-jenkins.include"/>
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
|
||||
RUN apt-get update && apt-get install -y build-essential curl git time wget zip && apt-get clean
|
||||
<%include file="../../run_tests_python_deps.include"/>
|
||||
<%include file="../../cxx_test_deps.include"/>
|
||||
<%include file="../../cmake.include"/>
|
||||
<%include file="../../ccache.include"/>
|
||||
<%include file="../../run_tests_addons.include"/>
|
||||
|
|
|
|||
|
|
@ -18,10 +18,12 @@
|
|||
|
||||
RUN apt-get update && apt-get install -y build-essential curl git time wget zip && apt-get clean
|
||||
<%include file="../../run_tests_python_deps.include"/>
|
||||
<%include file="../../cxx_test_deps.include"/>
|
||||
<%include file="../../cxx_deps.include"/>
|
||||
<%include file="../../cmake.include"/>
|
||||
<%include file="../../ccache.include"/>
|
||||
<%include file="../../run_tests_addons.include"/>
|
||||
<%include file="../../git-jenkins.include"/>
|
||||
|
||||
# Define the default command.
|
||||
CMD ["bash"]
|
||||
|
|
|
|||
|
|
@ -18,10 +18,12 @@
|
|||
|
||||
<%include file="../../apt_get_basic.include"/>
|
||||
<%include file="../../run_tests_python_deps.include"/>
|
||||
<%include file="../../cxx_test_deps.include"/>
|
||||
<%include file="../../cxx_deps.include"/>
|
||||
<%include file="../../cmake.include"/>
|
||||
<%include file="../../ccache.include"/>
|
||||
<%include file="../../run_tests_addons.include"/>
|
||||
<%include file="../../git-jenkins.include"/>
|
||||
|
||||
# Install openssl 1.0.2 from source
|
||||
RUN apt-get update && apt-get install -y build-essential zlib1g-dev
|
||||
|
|
|
|||
|
|
@ -18,10 +18,19 @@
|
|||
|
||||
<%include file="../../apt_get_basic.include"/>
|
||||
<%include file="../../run_tests_python_deps.include"/>
|
||||
<%include file="../../cxx_test_deps.include"/>
|
||||
<%include file="../../cxx_deps.include"/>
|
||||
<%include file="../../cmake.include"/>
|
||||
<%include file="../../ccache.include"/>
|
||||
<%include file="../../run_tests_addons.include"/>
|
||||
|
||||
|
||||
#=================
|
||||
# Setup git to access working directory across docker boundary
|
||||
|
||||
RUN git config --global --add safe.directory "*"
|
||||
RUN git config --global protocol.file.allow always
|
||||
|
||||
|
||||
# Define the default command.
|
||||
CMD ["bash"]
|
||||
|
|
|
|||
|
|
@ -18,10 +18,12 @@
|
|||
|
||||
<%include file="../../apt_get_basic.include"/>
|
||||
<%include file="../../run_tests_python_deps.include"/>
|
||||
<%include file="../../cxx_test_deps.include"/>
|
||||
<%include file="../../cxx_deps.include"/>
|
||||
<%include file="../../cmake.include"/>
|
||||
<%include file="../../ccache.include"/>
|
||||
<%include file="../../run_tests_addons.include"/>
|
||||
<%include file="../../git-jenkins.include"/>
|
||||
|
||||
# Define the default command.
|
||||
CMD ["bash"]
|
||||
|
|
|
|||
|
|
@ -17,10 +17,12 @@
|
|||
FROM gcc:12
|
||||
|
||||
RUN apt-get update && apt-get install -y curl git time wget zip && apt-get clean
|
||||
<%include file="../../run_tests_python_deps.include"/>
|
||||
<%include file="../../run_tests_python_deps_pep668.include"/>
|
||||
<%include file="../../cxx_test_deps.include"/>
|
||||
<%include file="../../cmake.include"/>
|
||||
<%include file="../../ccache.include"/>
|
||||
<%include file="../../run_tests_addons.include"/>
|
||||
<%include file="../../git-jenkins.include"/>
|
||||
|
||||
# Define the default command.
|
||||
CMD ["bash"]
|
||||
|
|
|
|||
|
|
@ -18,9 +18,11 @@
|
|||
|
||||
RUN apt-get update && apt-get install -y curl git time wget zip && apt-get clean
|
||||
<%include file="../../run_tests_python_deps.include"/>
|
||||
<%include file="../../cxx_test_deps.include"/>
|
||||
<%include file="../../cmake.include"/>
|
||||
<%include file="../../ccache.include"/>
|
||||
<%include file="../../run_tests_addons.include"/>
|
||||
<%include file="../../git-jenkins.include"/>
|
||||
|
||||
# Define the default command.
|
||||
CMD ["bash"]
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
us-docker.pkg.dev/grpc-testing/testing-images-public/cxx_alpine_x64:946399d3635bc9bcf2f40c026b80213ce30e479c@sha256:a84a6faf639dcf4a3e32eec0f5a08169e9c9866750e5aa53bdf89e8d378d326a
|
||||
us-docker.pkg.dev/grpc-testing/testing-images-public/cxx_alpine_x64:79e6fb5086e7f367b90cf4a418f63b43fbe929e2@sha256:61fc7408e1171d9470bdd6920cc9da34e31fc43115b80f0fb6f7b9669ba6e366
|
||||
|
|
@ -47,7 +47,10 @@ RUN python3 -m pip install six==1.16.0
|
|||
# These are needed for uploading test results to BigQuery (e.g. by tools/run_tests scripts)
|
||||
RUN python3 -m pip install --upgrade google-auth==1.24.0 google-api-python-client==1.12.8 oauth2client==4.1.0
|
||||
|
||||
RUN python3 -m pip install --upgrade --ignore-installed PyYAML==5.4.1 --user
|
||||
RUN python3 -m pip install --upgrade --ignore-installed PyYAML==6.0.1 --user
|
||||
|
||||
# Some cxx tests depend on the twisted package
|
||||
RUN python3 -m pip install twisted
|
||||
|
||||
#=================
|
||||
# Install ccache
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
us-docker.pkg.dev/grpc-testing/testing-images-public/cxx_clang_15_x64:99325d14f5121515b2454bfab9b59c155e182c18@sha256:906c0ca1edcab595fce313636528e6244d8fc914a6e72a22764e96208f465936
|
||||
us-docker.pkg.dev/grpc-testing/testing-images-public/cxx_clang_15_x64:5cbbc7a77c098836dc97cb2d45b06bfba121e93e@sha256:aaac47bdeccfcf43331963a75df6a377923c69d1b57ea076c2072b140e00af65
|
||||
|
|
@ -40,6 +40,9 @@ RUN python3 -m pip install six==1.16.0
|
|||
RUN python3 -m pip install --upgrade google-auth==1.23.0 google-api-python-client==1.12.8 oauth2client==4.1.0
|
||||
|
||||
|
||||
# Some cxx tests depend on the twisted package
|
||||
RUN python3 -m pip install twisted
|
||||
|
||||
#=================
|
||||
# Install cmake
|
||||
# Note that this step should be only used for distributions that have new enough cmake to satisfy gRPC's cmake version requirement.
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
us-docker.pkg.dev/grpc-testing/testing-images-public/cxx_clang_6_x64:78958e51f94dfb5c8c5e0a1fde2cfa4ccf0fee02@sha256:c5cec74947c06174b21188eb9565f322a8543cd4878dc40b34cfcaee9a5fd94a
|
||||
us-docker.pkg.dev/grpc-testing/testing-images-public/cxx_clang_6_x64:6a71e16cb0463e881d2201bc2d1b92f91961f649@sha256:79ecf682702190564c41289ffe00d4e6f80c104807cca324340349e84288ad99
|
||||
|
|
@ -40,6 +40,9 @@ RUN python3 -m pip install six==1.16.0
|
|||
RUN python3 -m pip install --upgrade google-auth==1.23.0 google-api-python-client==1.12.8 oauth2client==4.1.0
|
||||
|
||||
|
||||
# Some cxx tests depend on the twisted package
|
||||
RUN python3 -m pip install twisted
|
||||
|
||||
#=================
|
||||
# C++ dependencies
|
||||
RUN apt-get update && apt-get -y install libc++-dev clang && apt-get clean
|
||||
|
|
@ -67,6 +70,12 @@ RUN curl -sSL -o ccache.tar.gz https://github.com/ccache/ccache/releases/downloa
|
|||
|
||||
RUN mkdir /var/local/jenkins
|
||||
|
||||
#=================
|
||||
# Setup git to access working directory across docker boundary
|
||||
|
||||
RUN git config --global --add safe.directory /var/local/jenkins/grpc
|
||||
RUN git config --global protocol.file.allow always
|
||||
|
||||
|
||||
# Define the default command.
|
||||
CMD ["bash"]
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
us-docker.pkg.dev/grpc-testing/testing-images-public/cxx_debian11_openssl102_x64:af647277e5acb05a89769f23a73a763be7423c53@sha256:15af353947cad7d7bead70ddb1e43a20cfa561de8e894aa7f92e320f55673959
|
||||
us-docker.pkg.dev/grpc-testing/testing-images-public/cxx_debian11_openssl102_x64:aa2bca3103b5c348b196dba01f7bbeb5e878cff9@sha256:8552c41ecca59e32cb3079981cce0b2993a443f1730562a7f19a172ab29f1b2d
|
||||
|
|
@ -78,6 +78,9 @@ RUN python3 -m pip install six==1.16.0
|
|||
RUN python3 -m pip install --upgrade google-auth==1.23.0 google-api-python-client==1.12.8 oauth2client==4.1.0
|
||||
|
||||
|
||||
# Some cxx tests depend on the twisted package
|
||||
RUN python3 -m pip install twisted
|
||||
|
||||
#=================
|
||||
# C++ dependencies
|
||||
RUN apt-get update && apt-get -y install libc++-dev clang && apt-get clean
|
||||
|
|
@ -105,6 +108,12 @@ RUN curl -sSL -o ccache.tar.gz https://github.com/ccache/ccache/releases/downloa
|
|||
|
||||
RUN mkdir /var/local/jenkins
|
||||
|
||||
#=================
|
||||
# Setup git to access working directory across docker boundary
|
||||
|
||||
RUN git config --global --add safe.directory /var/local/jenkins/grpc
|
||||
RUN git config --global protocol.file.allow always
|
||||
|
||||
|
||||
# Install openssl 1.0.2 from source
|
||||
RUN apt-get update && apt-get install -y build-essential zlib1g-dev
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
us-docker.pkg.dev/grpc-testing/testing-images-public/cxx_debian11_x64:47b0a0916781ab659c049d44efb3f1496dae4660@sha256:a69a1ed729137c3ea347f0a3488524573285be7832dd74cec830db57b61a9b8c
|
||||
us-docker.pkg.dev/grpc-testing/testing-images-public/cxx_debian11_x64:5a98939a2d0c3b327619e64dc64de9c2fc109e07@sha256:f4d2b360e8a49d95e8e92971566674a06015427c2488a841b3386feb41d2ff22
|
||||
|
|
@ -78,6 +78,9 @@ RUN python3 -m pip install six==1.16.0
|
|||
RUN python3 -m pip install --upgrade google-auth==1.23.0 google-api-python-client==1.12.8 oauth2client==4.1.0
|
||||
|
||||
|
||||
# Some cxx tests depend on the twisted package
|
||||
RUN python3 -m pip install twisted
|
||||
|
||||
#=================
|
||||
# C++ dependencies
|
||||
RUN apt-get update && apt-get -y install libc++-dev clang && apt-get clean
|
||||
|
|
@ -106,5 +109,13 @@ RUN curl -sSL -o ccache.tar.gz https://github.com/ccache/ccache/releases/downloa
|
|||
RUN mkdir /var/local/jenkins
|
||||
|
||||
|
||||
|
||||
#=================
|
||||
# Setup git to access working directory across docker boundary
|
||||
|
||||
RUN git config --global --add safe.directory "*"
|
||||
RUN git config --global protocol.file.allow always
|
||||
|
||||
|
||||
# Define the default command.
|
||||
CMD ["bash"]
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
us-docker.pkg.dev/grpc-testing/testing-images-public/cxx_debian11_x86:7b84ff94b76bcf1e67126468bcb816cd1badc859@sha256:fcb11fd175ef153f7abddf25d1f71e338d1874a4075287dcf3af765ea6226a98
|
||||
us-docker.pkg.dev/grpc-testing/testing-images-public/cxx_debian11_x86:12152416b01acee79e4d18bcb855692fa11351b5@sha256:77a0be06797567ad9e4924bb5f1a523cd23555af0518a1525fc4a940d60d035c
|
||||
|
|
@ -78,6 +78,9 @@ RUN python3 -m pip install six==1.16.0
|
|||
RUN python3 -m pip install --upgrade google-auth==1.23.0 google-api-python-client==1.12.8 oauth2client==4.1.0
|
||||
|
||||
|
||||
# Some cxx tests depend on the twisted package
|
||||
RUN python3 -m pip install twisted
|
||||
|
||||
#=================
|
||||
# C++ dependencies
|
||||
RUN apt-get update && apt-get -y install libc++-dev clang && apt-get clean
|
||||
|
|
@ -105,6 +108,12 @@ RUN curl -sSL -o ccache.tar.gz https://github.com/ccache/ccache/releases/downloa
|
|||
|
||||
RUN mkdir /var/local/jenkins
|
||||
|
||||
#=================
|
||||
# Setup git to access working directory across docker boundary
|
||||
|
||||
RUN git config --global --add safe.directory /var/local/jenkins/grpc
|
||||
RUN git config --global protocol.file.allow always
|
||||
|
||||
|
||||
# Define the default command.
|
||||
CMD ["bash"]
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
us-docker.pkg.dev/grpc-testing/testing-images-public/cxx_gcc_12_x64:6c0ab4904f3c9aa9a38ba29f14c94dfc3e7901b2@sha256:a6d9f04d8075e697e16245004ab22bf22dd972c9724ecb750919816396186c09
|
||||
us-docker.pkg.dev/grpc-testing/testing-images-public/cxx_gcc_12_x64:bb89a34b51f9b7cdb6d53c1194cb617f42a161d7@sha256:ca86af6cb592b4426585a67c7fe58d9925a6e5413801ab45831cd268102c4211
|
||||
|
|
@ -29,7 +29,10 @@ RUN apt-get update && apt-get install -y \
|
|||
&& apt-get clean
|
||||
|
||||
# use pinned version of pip to avoid sudden breakages
|
||||
RUN python3 -m pip install --upgrade pip==19.3.1
|
||||
# Some newer distros that have already implemented PEP 668. Use of
|
||||
# --break-system-packages is to workaround that. We should look into using
|
||||
# virtualenv in Dockerfile though.
|
||||
RUN python3 -m pip install --break-system-packages --upgrade pip==19.3.1
|
||||
|
||||
# TODO(jtattermusch): currently six is needed for tools/run_tests scripts
|
||||
# but since our python2 usage is deprecated, we should get rid of it.
|
||||
|
|
@ -40,6 +43,9 @@ RUN python3 -m pip install six==1.16.0
|
|||
RUN python3 -m pip install --upgrade google-auth==1.23.0 google-api-python-client==1.12.8 oauth2client==4.1.0
|
||||
|
||||
|
||||
# Some cxx tests depend on the twisted package
|
||||
RUN python3 -m pip install twisted
|
||||
|
||||
#=================
|
||||
# Install cmake
|
||||
# Note that this step should be only used for distributions that have new enough cmake to satisfy gRPC's cmake version requirement.
|
||||
|
|
@ -63,6 +69,12 @@ RUN curl -sSL -o ccache.tar.gz https://github.com/ccache/ccache/releases/downloa
|
|||
|
||||
RUN mkdir /var/local/jenkins
|
||||
|
||||
#=================
|
||||
# Setup git to access working directory across docker boundary
|
||||
|
||||
RUN git config --global --add safe.directory /var/local/jenkins/grpc
|
||||
RUN git config --global protocol.file.allow always
|
||||
|
||||
|
||||
# Define the default command.
|
||||
CMD ["bash"]
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
us-docker.pkg.dev/grpc-testing/testing-images-public/cxx_gcc_7_x64:953aea35378bad8c12f2513c0dc6199bed1ca11d@sha256:7d33f341c7f7a5f358943c1f0b887de756079f406b7c7794e76cb0e42439c95b
|
||||
us-docker.pkg.dev/grpc-testing/testing-images-public/cxx_gcc_7_x64:a0054d259ebb76a5151bec9a1afe0743ab144d2c@sha256:7d1af94c7329b6b09f6266a56380c0690a31e9121abc89cb8a57820e0f6eb3bb
|
||||
|
|
@ -40,6 +40,9 @@ RUN python3 -m pip install six==1.16.0
|
|||
RUN python3 -m pip install --upgrade google-auth==1.23.0 google-api-python-client==1.12.8 oauth2client==4.1.0
|
||||
|
||||
|
||||
# Some cxx tests depend on the twisted package
|
||||
RUN python3 -m pip install twisted
|
||||
|
||||
#=================
|
||||
# Install cmake
|
||||
# Note that this step should be only used for distributions that have new enough cmake to satisfy gRPC's cmake version requirement.
|
||||
|
|
@ -63,6 +66,12 @@ RUN curl -sSL -o ccache.tar.gz https://github.com/ccache/ccache/releases/downloa
|
|||
|
||||
RUN mkdir /var/local/jenkins
|
||||
|
||||
#=================
|
||||
# Setup git to access working directory across docker boundary
|
||||
|
||||
RUN git config --global --add safe.directory /var/local/jenkins/grpc
|
||||
RUN git config --global protocol.file.allow always
|
||||
|
||||
|
||||
# Define the default command.
|
||||
CMD ["bash"]
|
||||
|
|
|
|||
Loading…
Reference in New Issue