Skip to content

Commit

Permalink
Merge pull request grpc#7265 from thunderboltsid/issue-7094-retry
Browse files Browse the repository at this point in the history
Retrying: Make the testing scripts executable on Python 3.x
  • Loading branch information
nicolasnoble authored Jul 13, 2016
2 parents 7704137 + 0589e53 commit 7a70bb5
Show file tree
Hide file tree
Showing 71 changed files with 537 additions and 92 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
FROM debian:jessie

<%include file="../../apt_get_basic.include"/>
<%include file="../../python_deps.include"/>
<%include file="../../csharp_deps.include"/>
<%include file="../../run_tests_addons.include"/>
# Define the default command.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
FROM debian:jessie

<%include file="../../apt_get_basic.include"/>
<%include file="../../python_deps.include"/>
<%include file="../../cxx_deps.include"/>
<%include file="../../run_tests_addons.include"/>
# Define the default command.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
FROM golang:1.5

<%include file="../../go_path.include"/>
<%include file="../../python_deps.include"/>
# Define the default command.
CMD ["bash"]

Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
FROM golang:1.5

<%include file="../../go_path.include"/>
<%include file="../../python_deps.include"/>
# Define the default command.
CMD ["bash"]

Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
FROM debian:jessie

<%include file="../../java_deps.include"/>

<%include file="../../python_deps.include"/>

# Trigger download of as many Gradle artifacts as possible.
RUN git clone --recursive --depth 1 https://github.com/grpc/grpc-java.git && ${'\\'}
cd grpc-java && ${'\\'}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
FROM debian:jessie

<%include file="../../apt_get_basic.include"/>
<%include file="../../python_deps.include"/>
<%include file="../../node_deps.include"/>
<%include file="../../run_tests_addons.include"/>
# Define the default command.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
FROM debian:jessie

<%include file="../../apt_get_basic.include"/>
<%include file="../../python_deps.include"/>
<%include file="../../ruby_deps.include"/>
<%include file="../../php_deps.include"/>
<%include file="../../run_tests_addons.include"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
FROM debian:jessie

<%include file="../../apt_get_basic.include"/>
<%include file="../../python_deps.include"/>
<%include file="../../ruby_deps.include"/>
<%include file="../../run_tests_addons.include"/>
# Define the default command.
Expand Down
2 changes: 1 addition & 1 deletion templates/tools/dockerfile/python_deps.include
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ RUN apt-get update && apt-get install -y ${'\\'}
# Install Python packages from PyPI
RUN pip install pip --upgrade
RUN pip install virtualenv
RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.0.0a2
RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.0.0a2 six==1.10.0
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
FROM debian:jessie

<%include file="../../apt_get_basic.include"/>
<%include file="../../python_deps.include"/>
<%include file="../../ccache_setup.include"/>
<%include file="../../cxx_deps.include"/>
<%include file="../../gcp_api_libraries.include"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
FROM debian:jessie

<%include file="../../apt_get_basic.include"/>
<%include file="../../python_deps.include"/>
<%include file="../../ccache_setup.include"/>
<%include file="../../cxx_deps.include"/>
<%include file="../../gcp_api_libraries.include"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
FROM golang:1.5

<%include file="../../gcp_api_libraries.include"/>
<%include file="../../python_deps.include"/>
<%include file="../../go_path.include"/>
# Define the default command.
CMD ["bash"]
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
FROM debian:jessie

<%include file="../../apt_get_basic.include"/>
<%include file="../../python_deps.include"/>
<%include file="../../ccache_setup.include"/>
<%include file="../../cxx_deps.include"/>
<%include file="../../gcp_api_libraries.include"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
FROM debian:jessie

<%include file="../../apt_get_basic.include"/>
<%include file="../../python_deps.include"/>
<%include file="../../node_deps.include"/>
<%include file="../../gcp_api_libraries.include"/>
<%include file="../../run_tests_addons.include"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
FROM debian:jessie

<%include file="../../apt_get_basic.include"/>
<%include file="../../python_deps.include"/>
<%include file="../../ruby_deps.include"/>
<%include file="../../gcp_api_libraries.include"/>
<%include file="../../php_deps.include"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
FROM debian:jessie

<%include file="../../apt_get_basic.include"/>
<%include file="../../python_deps.include"/>
<%include file="../../ccache_setup.include"/>
<%include file="../../cxx_deps.include"/>
<%include file="../../gcp_api_libraries.include"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
FROM debian:jessie

<%include file="../../apt_get_basic.include"/>
<%include file="../../python_deps.include"/>
<%include file="../../csharp_deps.include"/>

# Install dotnet SDK based on https://www.microsoft.com/net/core#debian
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
FROM debian:jessie

<%include file="../../apt_get_basic.include"/>
<%include file="../../python_deps.include"/>
<%include file="../../csharp_deps.include"/>
<%include file="../../run_tests_addons.include"/>
# Define the default command.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
FROM debian:jessie

<%include file="../../apt_get_basic.include"/>
<%include file="../../python_deps.include"/>
<%include file="../../cxx_deps.include"/>
<%include file="../../clang_update.include"/>
<%include file="../../run_tests_addons.include"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
FROM 32bit/debian:jessie

<%include file="../../apt_get_basic.include"/>
<%include file="../../python_deps.include"/>
<%include file="../../cxx_deps.include"/>
<%include file="../../run_tests_addons.include"/>
# Define the default command.
CMD ["bash"]

Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
FROM ubuntu:14.04

<%include file="../../apt_get_basic.include"/>
<%include file="../../python_deps.include"/>
<%include file="../../cxx_deps.include"/>
<%include file="../../run_tests_addons_nocache.include"/>
# Define the default command.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
FROM ubuntu:16.04

<%include file="../../apt_get_basic.include"/>
<%include file="../../python_deps.include"/>
<%include file="../../cxx_deps.include"/>
<%include file="../../run_tests_addons.include"/>

Expand All @@ -42,4 +43,3 @@

# Define the default command.
CMD ["bash"]

Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
FROM debian:wheezy

<%include file="../../apt_get_basic.include"/>
<%include file="../../python_deps.include"/>
<%include file="../../cxx_deps.include"/>

RUN apt-get update && apt-get install -y ${'\\'}
Expand Down
1 change: 1 addition & 0 deletions templates/tools/dockerfile/test/fuzzer/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
FROM debian:jessie

<%include file="../../apt_get_basic.include"/>
<%include file="../../python_deps.include"/>
<%include file="../../cxx_deps.include"/>
<%include file="../../clang_update.include"/>
<%include file="../../run_tests_addons.include"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
FROM debian:jessie

<%include file="../../apt_get_basic.include"/>
<%include file="../../python_deps.include"/>
<%include file="../../node_deps.include"/>
<%include file="../../run_tests_addons.include"/>
# Define the default command.
CMD ["bash"]

Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
FROM debian:jessie

<%include file="../../apt_get_basic.include"/>
<%include file="../../python_deps.include"/>
<%include file="../../php_deps.include"/>
<%include file="../../run_tests_addons.include"/>
# Define the default command.
CMD ["bash"]

Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
FROM debian:jessie

<%include file="../../apt_get_basic.include"/>
<%include file="../../python_deps.include"/>
<%include file="../../ruby_deps.include"/>
<%include file="../../run_tests_addons.include"/>
# Define the default command.
CMD ["bash"]

1 change: 1 addition & 0 deletions templates/tools/dockerfile/test/sanity/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
FROM ubuntu:15.10

<%include file="../../apt_get_basic.include"/>
<%include file="../../python_deps.include"/>
#========================
# Sanity test dependencies
RUN apt-get update && apt-get install -y ${"\\"}
Expand Down
15 changes: 15 additions & 0 deletions tools/dockerfile/interoptest/grpc_interop_csharp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,21 @@ RUN apt-get update && apt-get install -y \
# Build profiling
RUN apt-get update && apt-get install -y time && apt-get clean

#====================
# Python dependencies

# Install dependencies

RUN apt-get update && apt-get install -y \
python-all-dev \
python3-all-dev \
python-pip

# Install Python packages from PyPI
RUN pip install pip --upgrade
RUN pip install virtualenv
RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.0.0a2 six==1.10.0

#================
# C# dependencies

Expand Down
15 changes: 15 additions & 0 deletions tools/dockerfile/interoptest/grpc_interop_cxx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,21 @@ RUN apt-get update && apt-get install -y \
# Build profiling
RUN apt-get update && apt-get install -y time && apt-get clean

#====================
# Python dependencies

# Install dependencies

RUN apt-get update && apt-get install -y \
python-all-dev \
python3-all-dev \
python-pip

# Install Python packages from PyPI
RUN pip install pip --upgrade
RUN pip install virtualenv
RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.0.0a2 six==1.10.0

#=================
# C++ dependencies
RUN apt-get update && apt-get -y install libgflags-dev libgtest-dev libc++-dev clang && apt-get clean
Expand Down
15 changes: 15 additions & 0 deletions tools/dockerfile/interoptest/grpc_interop_go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,20 @@ FROM golang:1.5
# Using login shell removes Go from path, so we add it.
RUN ln -s /usr/local/go/bin/go /usr/local/bin

#====================
# Python dependencies

# Install dependencies

RUN apt-get update && apt-get install -y \
python-all-dev \
python3-all-dev \
python-pip

# Install Python packages from PyPI
RUN pip install pip --upgrade
RUN pip install virtualenv
RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.0.0a2 six==1.10.0

# Define the default command.
CMD ["bash"]
15 changes: 15 additions & 0 deletions tools/dockerfile/interoptest/grpc_interop_http2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,20 @@ FROM golang:1.5
# Using login shell removes Go from path, so we add it.
RUN ln -s /usr/local/go/bin/go /usr/local/bin

#====================
# Python dependencies

# Install dependencies

RUN apt-get update && apt-get install -y \
python-all-dev \
python3-all-dev \
python-pip

# Install Python packages from PyPI
RUN pip install pip --upgrade
RUN pip install virtualenv
RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.0.0a2 six==1.10.0

# Define the default command.
CMD ["bash"]
15 changes: 15 additions & 0 deletions tools/dockerfile/interoptest/grpc_interop_java/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,21 @@ ENV JAVA_HOME /usr/lib/jvm/java-8-oracle
ENV PATH $PATH:$JAVA_HOME/bin


#====================
# Python dependencies

# Install dependencies

RUN apt-get update && apt-get install -y \
python-all-dev \
python3-all-dev \
python-pip

# Install Python packages from PyPI
RUN pip install pip --upgrade
RUN pip install virtualenv
RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.0.0a2 six==1.10.0


# Trigger download of as many Gradle artifacts as possible.
RUN git clone --recursive --depth 1 https://github.com/grpc/grpc-java.git && \
Expand Down
15 changes: 15 additions & 0 deletions tools/dockerfile/interoptest/grpc_interop_node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,21 @@ RUN apt-get update && apt-get install -y \
# Build profiling
RUN apt-get update && apt-get install -y time && apt-get clean

#====================
# Python dependencies

# Install dependencies

RUN apt-get update && apt-get install -y \
python-all-dev \
python3-all-dev \
python-pip

# Install Python packages from PyPI
RUN pip install pip --upgrade
RUN pip install virtualenv
RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.0.0a2 six==1.10.0

#==================
# Node dependencies

Expand Down
15 changes: 15 additions & 0 deletions tools/dockerfile/interoptest/grpc_interop_php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,21 @@ RUN apt-get update && apt-get install -y \
# Build profiling
RUN apt-get update && apt-get install -y time && apt-get clean

#====================
# Python dependencies

# Install dependencies

RUN apt-get update && apt-get install -y \
python-all-dev \
python3-all-dev \
python-pip

# Install Python packages from PyPI
RUN pip install pip --upgrade
RUN pip install virtualenv
RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.0.0a2 six==1.10.0

#==================
# Ruby dependencies

Expand Down
Loading

0 comments on commit 7a70bb5

Please sign in to comment.