commit
b0f6035fd4
67 changed files with 1120 additions and 209 deletions
@ -1,108 +1,9 @@ |
||||
#!/bin/bash |
||||
# |
||||
# Change to repo root |
||||
|
||||
cd $(dirname $0)/../../.. |
||||
|
||||
export DOCKERFILE_DIR=kokoro/linux/64-bit |
||||
export DOCKER_RUN_SCRIPT=kokoro/linux/pull_request_in_docker.sh |
||||
export OUTPUT_DIR=testoutput |
||||
oldpwd=`pwd` |
||||
|
||||
# tcmalloc |
||||
if [ ! -f gperftools/.libs/libtcmalloc.so ]; then |
||||
git clone https://github.com/gperftools/gperftools.git |
||||
cd gperftools |
||||
./autogen.sh |
||||
./configure |
||||
make -j8 |
||||
cd .. |
||||
fi |
||||
|
||||
# download datasets for benchmark |
||||
cd benchmarks |
||||
./download_data.sh |
||||
datasets=$(for file in $(find . -type f -name "dataset.*.pb" -not -path "./tmp/*"); do echo "$(pwd)/$file"; done | xargs) |
||||
echo $datasets |
||||
cd $oldpwd |
||||
|
||||
# build Python protobuf |
||||
./autogen.sh |
||||
./configure CXXFLAGS="-fPIC -O2" |
||||
make -j8 |
||||
cd python |
||||
python setup.py build --cpp_implementation |
||||
pip install . --user |
||||
|
||||
|
||||
# build and run Python benchmark |
||||
cd ../benchmarks |
||||
make python-pure-python-benchmark |
||||
make python-cpp-reflection-benchmark |
||||
make -j8 python-cpp-generated-code-benchmark |
||||
echo "[" > tmp/python_result.json |
||||
echo "benchmarking pure python..." |
||||
./python-pure-python-benchmark --json --behavior_prefix="pure-python-benchmark" $datasets >> tmp/python_result.json |
||||
echo "," >> "tmp/python_result.json" |
||||
echo "benchmarking python cpp reflection..." |
||||
env LD_PRELOAD="$oldpwd/gperftools/.libs/libtcmalloc.so" LD_LIBRARY_PATH="$oldpwd/src/.libs" ./python-cpp-reflection-benchmark --json --behavior_prefix="cpp-reflection-benchmark" $datasets >> tmp/python_result.json |
||||
echo "," >> "tmp/python_result.json" |
||||
echo "benchmarking python cpp generated code..." |
||||
env LD_PRELOAD="$oldpwd/gperftools/.libs/libtcmalloc.so" LD_LIBRARY_PATH="$oldpwd/src/.libs" ./python-cpp-generated-code-benchmark --json --behavior_prefix="cpp-generated-code-benchmark" $datasets >> tmp/python_result.json |
||||
echo "]" >> "tmp/python_result.json" |
||||
cd $oldpwd |
||||
|
||||
# build CPP protobuf |
||||
./configure |
||||
make clean && make -j8 |
||||
|
||||
# build Java protobuf |
||||
cd java |
||||
mvn package |
||||
cd .. |
||||
|
||||
# build CPP benchmark |
||||
cd benchmarks |
||||
mv tmp/python_result.json . && make clean && make -j8 cpp-benchmark && mv python_result.json tmp |
||||
echo "benchmarking cpp..." |
||||
env LD_PRELOAD="$oldpwd/gperftools/.libs/libtcmalloc.so" ./cpp-benchmark --benchmark_min_time=5.0 --benchmark_out_format=json --benchmark_out="tmp/cpp_result.json" $datasets |
||||
cd $oldpwd |
||||
|
||||
# build go protobuf |
||||
export PATH="`pwd`/src:$PATH" |
||||
export GOPATH="$HOME/gocode" |
||||
mkdir -p "$GOPATH/src/github.com/google" |
||||
rm -f "$GOPATH/src/github.com/protocolbuffers/protobuf" |
||||
ln -s "`pwd`" "$GOPATH/src/github.com/protocolbuffers/protobuf" |
||||
export PATH="$GOPATH/bin:$PATH" |
||||
go get github.com/golang/protobuf/protoc-gen-go |
||||
|
||||
# build go benchmark |
||||
cd benchmarks |
||||
make go-benchmark |
||||
echo "benchmarking go..." |
||||
./go-benchmark $datasets > tmp/go_result.txt |
||||
|
||||
# build java benchmark |
||||
make java-benchmark |
||||
echo "benchmarking java..." |
||||
./java-benchmark -Cresults.file.options.file="tmp/java_result.json" $datasets |
||||
|
||||
make js-benchmark |
||||
echo "benchmarking js..." |
||||
./js-benchmark $datasets --json_output=$(pwd)/tmp/node_result.json |
||||
|
||||
make -j8 generate_proto3_data |
||||
proto3_datasets=$(for file in $datasets; do echo $(pwd)/tmp/proto3_data/${file#$(pwd)}; done | xargs) |
||||
echo $proto3_datasets |
||||
|
||||
# build php benchmark |
||||
make -j8 php-benchmark |
||||
echo "benchmarking php..." |
||||
./php-benchmark $proto3_datasets --json --behavior_prefix="php" > tmp/php_result.json |
||||
make -j8 php-c-benchmark |
||||
echo "benchmarking php_c..." |
||||
./php-c-benchmark $proto3_datasets --json --behavior_prefix="php_c" > tmp/php_c_result.json |
||||
|
||||
# upload result to bq |
||||
make python_add_init |
||||
env LD_LIBRARY_PATH="$oldpwd/src/.libs" python -m util.result_uploader -php="../tmp/php_result.json" -php_c="../tmp/php_c_result.json" \ |
||||
-cpp="../tmp/cpp_result.json" -java="../tmp/java_result.json" -go="../tmp/go_result.txt" -python="../tmp/python_result.json" -node="../tmp/node_result.json" |
||||
cd $oldpwd |
||||
export TEST_SET="benchmark" |
||||
./kokoro/linux/build_and_run_docker.sh |
||||
|
@ -0,0 +1,105 @@ |
||||
#!/bin/bash |
||||
# |
||||
# Change to repo root |
||||
cd $(dirname $0)/../../.. |
||||
|
||||
export OUTPUT_DIR=testoutput |
||||
oldpwd=`pwd` |
||||
|
||||
# tcmalloc |
||||
if [ ! -f gperftools/.libs/libtcmalloc.so ]; then |
||||
git clone https://github.com/gperftools/gperftools.git |
||||
cd gperftools |
||||
./autogen.sh |
||||
./configure |
||||
make -j8 |
||||
cd .. |
||||
fi |
||||
|
||||
# download datasets for benchmark |
||||
cd benchmarks |
||||
./download_data.sh |
||||
datasets=$(for file in $(find . -type f -name "dataset.*.pb" -not -path "./tmp/*"); do echo "$(pwd)/$file"; done | xargs) |
||||
echo $datasets |
||||
cd $oldpwd |
||||
|
||||
# build Python protobuf |
||||
./autogen.sh |
||||
./configure CXXFLAGS="-fPIC -O2" |
||||
make -j8 |
||||
cd python |
||||
python setup.py build --cpp_implementation |
||||
pip install . --user |
||||
|
||||
|
||||
# build and run Python benchmark |
||||
cd ../benchmarks |
||||
make python-pure-python-benchmark |
||||
make python-cpp-reflection-benchmark |
||||
make -j8 python-cpp-generated-code-benchmark |
||||
echo "[" > tmp/python_result.json |
||||
echo "benchmarking pure python..." |
||||
./python-pure-python-benchmark --json --behavior_prefix="pure-python-benchmark" $datasets >> tmp/python_result.json |
||||
echo "," >> "tmp/python_result.json" |
||||
echo "benchmarking python cpp reflection..." |
||||
env LD_PRELOAD="$oldpwd/gperftools/.libs/libtcmalloc.so" LD_LIBRARY_PATH="$oldpwd/src/.libs" ./python-cpp-reflection-benchmark --json --behavior_prefix="cpp-reflection-benchmark" $datasets >> tmp/python_result.json |
||||
echo "," >> "tmp/python_result.json" |
||||
echo "benchmarking python cpp generated code..." |
||||
env LD_PRELOAD="$oldpwd/gperftools/.libs/libtcmalloc.so" LD_LIBRARY_PATH="$oldpwd/src/.libs" ./python-cpp-generated-code-benchmark --json --behavior_prefix="cpp-generated-code-benchmark" $datasets >> tmp/python_result.json |
||||
echo "]" >> "tmp/python_result.json" |
||||
cd $oldpwd |
||||
|
||||
# build CPP protobuf |
||||
./configure |
||||
make clean && make -j8 |
||||
|
||||
# build Java protobuf |
||||
cd java |
||||
mvn package |
||||
cd .. |
||||
|
||||
# build CPP benchmark |
||||
cd benchmarks |
||||
mv tmp/python_result.json . && make clean && make -j8 cpp-benchmark && mv python_result.json tmp |
||||
echo "benchmarking cpp..." |
||||
env LD_PRELOAD="$oldpwd/gperftools/.libs/libtcmalloc.so" ./cpp-benchmark --benchmark_min_time=5.0 --benchmark_out_format=json --benchmark_out="tmp/cpp_result.json" $datasets |
||||
cd $oldpwd |
||||
|
||||
# build go protobuf |
||||
export PATH="`pwd`/src:$PATH" |
||||
export GOPATH="$HOME/gocode" |
||||
mkdir -p "$GOPATH/src/github.com/google" |
||||
rm -f "$GOPATH/src/github.com/protocolbuffers/protobuf" |
||||
ln -s "`pwd`" "$GOPATH/src/github.com/protocolbuffers/protobuf" |
||||
export PATH="$GOPATH/bin:$PATH" |
||||
go get github.com/golang/protobuf/protoc-gen-go |
||||
|
||||
# build go benchmark |
||||
cd benchmarks |
||||
make go-benchmark |
||||
echo "benchmarking go..." |
||||
./go-benchmark $datasets > tmp/go_result.txt |
||||
|
||||
# build java benchmark |
||||
make java-benchmark |
||||
echo "benchmarking java..." |
||||
./java-benchmark -Cresults.file.options.file="tmp/java_result.json" $datasets |
||||
|
||||
make js-benchmark |
||||
echo "benchmarking js..." |
||||
./js-benchmark $datasets --json_output=$(pwd)/tmp/node_result.json |
||||
|
||||
make -j8 generate_proto3_data |
||||
proto3_datasets=$(for file in $datasets; do echo $(pwd)/tmp/proto3_data/${file#$(pwd)}; done | xargs) |
||||
echo $proto3_datasets |
||||
|
||||
# build php benchmark |
||||
make -j8 php-c-benchmark |
||||
echo "benchmarking php_c..." |
||||
./php-c-benchmark $proto3_datasets --json --behavior_prefix="php_c" > tmp/php_c_result.json |
||||
|
||||
# upload result to bq |
||||
make python_add_init |
||||
env LD_LIBRARY_PATH="$oldpwd/src/.libs" python -m util.result_uploader -php_c="../tmp/php_c_result.json" \ |
||||
-cpp="../tmp/cpp_result.json" -java="../tmp/java_result.json" -go="../tmp/go_result.txt" -python="../tmp/python_result.json" -node="../tmp/node_result.json" |
||||
cd $oldpwd |
@ -0,0 +1,224 @@ |
||||
FROM 32bit/debian:jessie |
||||
|
||||
# Install dependencies. We start with the basic ones require to build protoc |
||||
# and the C++ build |
||||
RUN apt-get update && apt-get install -y \ |
||||
autoconf \ |
||||
autotools-dev \ |
||||
build-essential \ |
||||
bzip2 \ |
||||
ccache \ |
||||
curl \ |
||||
gcc \ |
||||
git \ |
||||
libc6 \ |
||||
libc6-dbg \ |
||||
libc6-dev \ |
||||
libgtest-dev \ |
||||
libtool \ |
||||
make \ |
||||
parallel \ |
||||
time \ |
||||
wget \ |
||||
&& apt-get clean |
||||
|
||||
# Install php dependencies |
||||
RUN apt-get clean && apt-get update && apt-get install -y --force-yes \ |
||||
bison \ |
||||
php5 \ |
||||
libcurl4-openssl-dev \ |
||||
libssl-dev \ |
||||
libxml2-dev \ |
||||
unzip \ |
||||
zlib1g-dev \ |
||||
pkg-config \ |
||||
&& apt-get clean |
||||
|
||||
# Install other dependencies |
||||
RUN wget http://ftp.gnu.org/gnu/bison/bison-2.6.4.tar.gz -O /var/local/bison-2.6.4.tar.gz |
||||
RUN cd /var/local \ |
||||
&& tar -zxvf bison-2.6.4.tar.gz \ |
||||
&& cd /var/local/bison-2.6.4 \ |
||||
&& ./configure \ |
||||
&& make \ |
||||
&& make install |
||||
|
||||
# Install composer |
||||
RUN curl -sS https://getcomposer.org/installer | php |
||||
RUN mv composer.phar /usr/local/bin/composer |
||||
|
||||
# Download php source code |
||||
RUN git clone https://github.com/php/php-src |
||||
|
||||
# php 5.5 |
||||
RUN cd php-src \ |
||||
&& git checkout PHP-5.5.38 \ |
||||
&& ./buildconf --force |
||||
RUN cd php-src \ |
||||
&& ./configure \ |
||||
--enable-bcmath \ |
||||
--with-openssl \ |
||||
--with-zlib \ |
||||
--prefix=/usr/local/php-5.5 \ |
||||
&& make \ |
||||
&& make install \ |
||||
&& make clean |
||||
RUN cd php-src \ |
||||
&& ./configure \ |
||||
--enable-maintainer-zts \ |
||||
--with-openssl \ |
||||
--with-zlib \ |
||||
--prefix=/usr/local/php-5.5-zts \ |
||||
&& make \ |
||||
&& make install \ |
||||
&& make clean |
||||
|
||||
RUN wget -O phpunit https://phar.phpunit.de/phpunit-4.phar \ |
||||
&& chmod +x phpunit \ |
||||
&& cp phpunit /usr/local/php-5.5/bin \ |
||||
&& mv phpunit /usr/local/php-5.5-zts/bin |
||||
|
||||
# php 5.6 |
||||
RUN cd php-src \ |
||||
&& git checkout PHP-5.6.39 \ |
||||
&& ./buildconf --force |
||||
RUN cd php-src \ |
||||
&& ./configure \ |
||||
--enable-bcmath \ |
||||
--with-openssl \ |
||||
--with-zlib \ |
||||
--prefix=/usr/local/php-5.6 \ |
||||
&& make \ |
||||
&& make install \ |
||||
&& make clean |
||||
RUN cd php-src \ |
||||
&& ./configure \ |
||||
--enable-maintainer-zts \ |
||||
--with-openssl \ |
||||
--with-zlib \ |
||||
--prefix=/usr/local/php-5.6-zts \ |
||||
&& make \ |
||||
&& make install \ |
||||
&& make clean |
||||
|
||||
RUN wget -O phpunit https://phar.phpunit.de/phpunit-5.phar \ |
||||
&& chmod +x phpunit \ |
||||
&& cp phpunit /usr/local/php-5.6/bin \ |
||||
&& mv phpunit /usr/local/php-5.6-zts/bin |
||||
|
||||
# php 7.0 |
||||
RUN cd php-src \ |
||||
&& git checkout PHP-7.0.33 \ |
||||
&& ./buildconf --force |
||||
RUN cd php-src \ |
||||
&& ./configure \ |
||||
--enable-bcmath \ |
||||
--with-openssl \ |
||||
--with-zlib \ |
||||
--prefix=/usr/local/php-7.0 \ |
||||
&& make \ |
||||
&& make install \ |
||||
&& make clean |
||||
RUN cd php-src \ |
||||
&& ./configure \ |
||||
--enable-maintainer-zts \ |
||||
--with-openssl \ |
||||
--with-zlib \ |
||||
--prefix=/usr/local/php-7.0-zts \ |
||||
&& make \ |
||||
&& make install \ |
||||
&& make clean |
||||
|
||||
RUN wget -O phpunit https://phar.phpunit.de/phpunit-6.phar \ |
||||
&& chmod +x phpunit \ |
||||
&& cp phpunit /usr/local/php-7.0/bin \ |
||||
&& mv phpunit /usr/local/php-7.0-zts/bin |
||||
|
||||
# php 7.1 |
||||
RUN cd php-src \ |
||||
&& git checkout PHP-7.1.25 \ |
||||
&& ./buildconf --force |
||||
RUN cd php-src \ |
||||
&& ./configure \ |
||||
--enable-bcmath \ |
||||
--with-openssl \ |
||||
--with-zlib \ |
||||
--prefix=/usr/local/php-7.1 \ |
||||
&& make \ |
||||
&& make install \ |
||||
&& make clean |
||||
RUN cd php-src \ |
||||
&& ./configure \ |
||||
--enable-maintainer-zts \ |
||||
--with-openssl \ |
||||
--with-zlib \ |
||||
--prefix=/usr/local/php-7.1-zts \ |
||||
&& make \ |
||||
&& make install \ |
||||
&& make clean |
||||
|
||||
RUN wget -O phpunit https://phar.phpunit.de/phpunit-7.phar \ |
||||
&& chmod +x phpunit \ |
||||
&& cp phpunit /usr/local/php-7.1/bin \ |
||||
&& mv phpunit /usr/local/php-7.1-zts/bin |
||||
|
||||
# php 7.2 |
||||
RUN cd php-src \ |
||||
&& git checkout PHP-7.2.13 \ |
||||
&& ./buildconf --force |
||||
RUN cd php-src \ |
||||
&& ./configure \ |
||||
--enable-bcmath \ |
||||
--with-openssl \ |
||||
--with-zlib \ |
||||
--prefix=/usr/local/php-7.2 \ |
||||
&& make \ |
||||
&& make install \ |
||||
&& make clean |
||||
RUN cd php-src \ |
||||
&& ./configure \ |
||||
--enable-maintainer-zts \ |
||||
--with-openssl \ |
||||
--with-zlib \ |
||||
--prefix=/usr/local/php-7.2-zts \ |
||||
&& make \ |
||||
&& make install \ |
||||
&& make clean |
||||
|
||||
RUN wget -O phpunit https://phar.phpunit.de/phpunit-7.phar \ |
||||
&& chmod +x phpunit \ |
||||
&& cp phpunit /usr/local/php-7.2/bin \ |
||||
&& mv phpunit /usr/local/php-7.2-zts/bin |
||||
|
||||
# php 7.3 |
||||
RUN cd php-src \ |
||||
&& git checkout PHP-7.3.0 \ |
||||
&& ./buildconf --force |
||||
RUN cd php-src \ |
||||
&& ./configure \ |
||||
--enable-bcmath \ |
||||
--with-openssl \ |
||||
--with-zlib \ |
||||
--prefix=/usr/local/php-7.3 \ |
||||
&& make \ |
||||
&& make install \ |
||||
&& make clean |
||||
RUN cd php-src \ |
||||
&& ./configure \ |
||||
--enable-maintainer-zts \ |
||||
--with-openssl \ |
||||
--with-zlib \ |
||||
--prefix=/usr/local/php-7.3-zts \ |
||||
&& make \ |
||||
&& make install \ |
||||
&& make clean |
||||
|
||||
RUN wget -O phpunit https://phar.phpunit.de/phpunit-7.phar \ |
||||
&& chmod +x phpunit \ |
||||
&& cp phpunit /usr/local/php-7.3/bin \ |
||||
&& mv phpunit /usr/local/php-7.3-zts/bin |
||||
|
||||
# Install php dependencies |
||||
RUN apt-get clean && apt-get update && apt-get install -y --force-yes \ |
||||
valgrind \ |
||||
&& apt-get clean |
@ -0,0 +1,39 @@ |
||||
FROM debian:jessie |
||||
|
||||
# Install dependencies. We start with the basic ones require to build protoc |
||||
# and the C++ build |
||||
RUN apt-get update && apt-get install -y \ |
||||
autoconf \ |
||||
autotools-dev \ |
||||
build-essential \ |
||||
bzip2 \ |
||||
ccache \ |
||||
curl \ |
||||
gcc \ |
||||
git \ |
||||
libc6 \ |
||||
libc6-dbg \ |
||||
libc6-dev \ |
||||
libgtest-dev \ |
||||
libtool \ |
||||
make \ |
||||
parallel \ |
||||
time \ |
||||
wget \ |
||||
&& apt-get clean |
||||
|
||||
# Install python dependencies |
||||
RUN apt-get update && apt-get install -y \ |
||||
python-setuptools \ |
||||
python-all-dev \ |
||||
python3-all-dev \ |
||||
python-pip |
||||
|
||||
# Install Python packages from PyPI |
||||
RUN pip install --upgrade pip==10.0.1 |
||||
RUN pip install virtualenv |
||||
RUN pip install six==1.10.0 twisted==17.5.0 |
||||
|
||||
# Install pip and virtualenv for Python 3.4 |
||||
RUN curl https://bootstrap.pypa.io/get-pip.py | python3.4 |
||||
RUN python3.4 -m pip install virtualenv |
@ -0,0 +1,47 @@ |
||||
FROM debian:stretch |
||||
|
||||
# Install dependencies. We start with the basic ones require to build protoc |
||||
# and the C++ build |
||||
RUN apt-get update && apt-get install -y \ |
||||
autoconf \ |
||||
autotools-dev \ |
||||
build-essential \ |
||||
bzip2 \ |
||||
ccache \ |
||||
curl \ |
||||
gcc \ |
||||
git \ |
||||
libc6 \ |
||||
libc6-dbg \ |
||||
libc6-dev \ |
||||
libgtest-dev \ |
||||
libtool \ |
||||
make \ |
||||
parallel \ |
||||
time \ |
||||
wget \ |
||||
&& apt-get clean |
||||
|
||||
# Install Python 2.7 |
||||
RUN apt-get update && apt-get install -y python2.7 python-all-dev |
||||
RUN curl https://bootstrap.pypa.io/get-pip.py | python2.7 |
||||
|
||||
# Install python dependencies |
||||
RUN apt-get update && apt-get install -y \ |
||||
python-setuptools \ |
||||
python-pip |
||||
|
||||
# Add Debian 'testing' repository |
||||
RUN echo 'deb http://ftp.de.debian.org/debian testing main' >> /etc/apt/sources.list |
||||
RUN echo 'APT::Default-Release "stable";' | tee -a /etc/apt/apt.conf.d/00local |
||||
|
||||
# Install Python3 |
||||
RUN apt-get update && apt-get -t testing install -y \ |
||||
python3.5 \ |
||||
python3.6 \ |
||||
python3.7 \ |
||||
python3-all-dev |
||||
|
||||
RUN curl https://bootstrap.pypa.io/get-pip.py | python3.5 |
||||
RUN curl https://bootstrap.pypa.io/get-pip.py | python3.6 |
||||
RUN curl https://bootstrap.pypa.io/get-pip.py | python3.7 |
@ -1,7 +1,7 @@ |
||||
# Config file for running tests in Kokoro |
||||
|
||||
# Location of the build script in repository |
||||
build_file: "protobuf/kokoro/linux/64-bit/build.sh" |
||||
build_file: "protobuf/kokoro/linux/python/build.sh" |
||||
timeout_mins: 120 |
||||
|
||||
action { |
@ -1,7 +1,7 @@ |
||||
# Config file for running tests in Kokoro |
||||
|
||||
# Location of the build script in repository |
||||
build_file: "protobuf/kokoro/linux/64-bit/build.sh" |
||||
build_file: "protobuf/kokoro/linux/python/build.sh" |
||||
timeout_mins: 120 |
||||
|
||||
action { |
@ -0,0 +1,18 @@ |
||||
#!/bin/bash |
||||
# |
||||
# This is the top-level script we give to Kokoro as the entry point for |
||||
# running the "pull request" project: |
||||
# |
||||
# This script selects a specific Dockerfile (for building a Docker image) and |
||||
# a script to run inside that image. Then we delegate to the general |
||||
# build_and_run_docker.sh script. |
||||
|
||||
# Change to repo root |
||||
cd $(dirname $0)/../../.. |
||||
|
||||
export DOCKERHUB_ORGANIZATION=protobuftesting |
||||
export DOCKERFILE_DIR=kokoro/linux/dockerfile/test/python_jessie |
||||
export DOCKER_RUN_SCRIPT=kokoro/linux/pull_request_in_docker.sh |
||||
export OUTPUT_DIR=testoutput |
||||
export TEST_SET="python27_cpp" |
||||
./kokoro/linux/build_and_run_docker.sh |
@ -0,0 +1,11 @@ |
||||
# Config file for running tests in Kokoro |
||||
|
||||
# Location of the build script in repository |
||||
build_file: "protobuf/kokoro/linux/python_cpp/build.sh" |
||||
timeout_mins: 120 |
||||
|
||||
action { |
||||
define_artifacts { |
||||
regex: "**/sponge_log.xml" |
||||
} |
||||
} |
@ -0,0 +1,11 @@ |
||||
# Config file for running tests in Kokoro |
||||
|
||||
# Location of the build script in repository |
||||
build_file: "protobuf/kokoro/linux/python_cpp/build.sh" |
||||
timeout_mins: 120 |
||||
|
||||
action { |
||||
define_artifacts { |
||||
regex: "**/sponge_log.xml" |
||||
} |
||||
} |
@ -0,0 +1,18 @@ |
||||
#!/bin/bash |
||||
# |
||||
# This is the top-level script we give to Kokoro as the entry point for |
||||
# running the "pull request" project: |
||||
# |
||||
# This script selects a specific Dockerfile (for building a Docker image) and |
||||
# a script to run inside that image. Then we delegate to the general |
||||
# build_and_run_docker.sh script. |
||||
|
||||
# Change to repo root |
||||
cd $(dirname $0)/../../.. |
||||
|
||||
export DOCKERHUB_ORGANIZATION=protobuftesting |
||||
export DOCKERFILE_DIR=kokoro/linux/dockerfile/test/python_jessie |
||||
export DOCKER_RUN_SCRIPT=kokoro/linux/pull_request_in_docker.sh |
||||
export OUTPUT_DIR=testoutput |
||||
export TEST_SET="python33" |
||||
./kokoro/linux/build_and_run_docker.sh |
@ -0,0 +1,11 @@ |
||||
# Config file for running tests in Kokoro |
||||
|
||||
# Location of the build script in repository |
||||
build_file: "protobuf/kokoro/linux/python/build.sh" |
||||
timeout_mins: 120 |
||||
|
||||
action { |
||||
define_artifacts { |
||||
regex: "**/sponge_log.xml" |
||||
} |
||||
} |
@ -0,0 +1,11 @@ |
||||
# Config file for running tests in Kokoro |
||||
|
||||
# Location of the build script in repository |
||||
build_file: "protobuf/kokoro/linux/python/build.sh" |
||||
timeout_mins: 120 |
||||
|
||||
action { |
||||
define_artifacts { |
||||
regex: "**/sponge_log.xml" |
||||
} |
||||
} |
@ -0,0 +1,18 @@ |
||||
#!/bin/bash |
||||
# |
||||
# This is the top-level script we give to Kokoro as the entry point for |
||||
# running the "pull request" project: |
||||
# |
||||
# This script selects a specific Dockerfile (for building a Docker image) and |
||||
# a script to run inside that image. Then we delegate to the general |
||||
# build_and_run_docker.sh script. |
||||
|
||||
# Change to repo root |
||||
cd $(dirname $0)/../../.. |
||||
|
||||
export DOCKERHUB_ORGANIZATION=protobuftesting |
||||
export DOCKERFILE_DIR=kokoro/linux/dockerfile/test/python_jessie |
||||
export DOCKER_RUN_SCRIPT=kokoro/linux/pull_request_in_docker.sh |
||||
export OUTPUT_DIR=testoutput |
||||
export TEST_SET="python33_cpp" |
||||
./kokoro/linux/build_and_run_docker.sh |
@ -0,0 +1,11 @@ |
||||
# Config file for running tests in Kokoro |
||||
|
||||
# Location of the build script in repository |
||||
build_file: "protobuf/kokoro/linux/python_cpp/build.sh" |
||||
timeout_mins: 120 |
||||
|
||||
action { |
||||
define_artifacts { |
||||
regex: "**/sponge_log.xml" |
||||
} |
||||
} |
@ -0,0 +1,11 @@ |
||||
# Config file for running tests in Kokoro |
||||
|
||||
# Location of the build script in repository |
||||
build_file: "protobuf/kokoro/linux/python_cpp/build.sh" |
||||
timeout_mins: 120 |
||||
|
||||
action { |
||||
define_artifacts { |
||||
regex: "**/sponge_log.xml" |
||||
} |
||||
} |
@ -0,0 +1,18 @@ |
||||
#!/bin/bash |
||||
# |
||||
# This is the top-level script we give to Kokoro as the entry point for |
||||
# running the "pull request" project: |
||||
# |
||||
# This script selects a specific Dockerfile (for building a Docker image) and |
||||
# a script to run inside that image. Then we delegate to the general |
||||
# build_and_run_docker.sh script. |
||||
|
||||
# Change to repo root |
||||
cd $(dirname $0)/../../.. |
||||
|
||||
export DOCKERHUB_ORGANIZATION=protobuftesting |
||||
export DOCKERFILE_DIR=kokoro/linux/dockerfile/test/python_jessie |
||||
export DOCKER_RUN_SCRIPT=kokoro/linux/pull_request_in_docker.sh |
||||
export OUTPUT_DIR=testoutput |
||||
export TEST_SET="python34" |
||||
./kokoro/linux/build_and_run_docker.sh |
@ -0,0 +1,11 @@ |
||||
# Config file for running tests in Kokoro |
||||
|
||||
# Location of the build script in repository |
||||
build_file: "protobuf/kokoro/linux/python/build.sh" |
||||
timeout_mins: 120 |
||||
|
||||
action { |
||||
define_artifacts { |
||||
regex: "**/sponge_log.xml" |
||||
} |
||||
} |
@ -0,0 +1,11 @@ |
||||
# Config file for running tests in Kokoro |
||||
|
||||
# Location of the build script in repository |
||||
build_file: "protobuf/kokoro/linux/python/build.sh" |
||||
timeout_mins: 120 |
||||
|
||||
action { |
||||
define_artifacts { |
||||
regex: "**/sponge_log.xml" |
||||
} |
||||
} |
@ -0,0 +1,18 @@ |
||||
#!/bin/bash |
||||
# |
||||
# This is the top-level script we give to Kokoro as the entry point for |
||||
# running the "pull request" project: |
||||
# |
||||
# This script selects a specific Dockerfile (for building a Docker image) and |
||||
# a script to run inside that image. Then we delegate to the general |
||||
# build_and_run_docker.sh script. |
||||
|
||||
# Change to repo root |
||||
cd $(dirname $0)/../../.. |
||||
|
||||
export DOCKERHUB_ORGANIZATION=protobuftesting |
||||
export DOCKERFILE_DIR=kokoro/linux/dockerfile/test/python_jessie |
||||
export DOCKER_RUN_SCRIPT=kokoro/linux/pull_request_in_docker.sh |
||||
export OUTPUT_DIR=testoutput |
||||
export TEST_SET="python34_cpp" |
||||
./kokoro/linux/build_and_run_docker.sh |
@ -0,0 +1,11 @@ |
||||
# Config file for running tests in Kokoro |
||||
|
||||
# Location of the build script in repository |
||||
build_file: "protobuf/kokoro/linux/python_cpp/build.sh" |
||||
timeout_mins: 120 |
||||
|
||||
action { |
||||
define_artifacts { |
||||
regex: "**/sponge_log.xml" |
||||
} |
||||
} |
@ -0,0 +1,11 @@ |
||||
# Config file for running tests in Kokoro |
||||
|
||||
# Location of the build script in repository |
||||
build_file: "protobuf/kokoro/linux/python_cpp/build.sh" |
||||
timeout_mins: 120 |
||||
|
||||
action { |
||||
define_artifacts { |
||||
regex: "**/sponge_log.xml" |
||||
} |
||||
} |
@ -0,0 +1,18 @@ |
||||
#!/bin/bash |
||||
# |
||||
# This is the top-level script we give to Kokoro as the entry point for |
||||
# running the "pull request" project: |
||||
# |
||||
# This script selects a specific Dockerfile (for building a Docker image) and |
||||
# a script to run inside that image. Then we delegate to the general |
||||
# build_and_run_docker.sh script. |
||||
|
||||
# Change to repo root |
||||
cd $(dirname $0)/../../.. |
||||
|
||||
export DOCKERHUB_ORGANIZATION=protobuftesting |
||||
export DOCKERFILE_DIR=kokoro/linux/dockerfile/test/python_stretch |
||||
export DOCKER_RUN_SCRIPT=kokoro/linux/pull_request_in_docker.sh |
||||
export OUTPUT_DIR=testoutput |
||||
export TEST_SET="python35" |
||||
./kokoro/linux/build_and_run_docker.sh |
@ -0,0 +1,11 @@ |
||||
# Config file for running tests in Kokoro |
||||
|
||||
# Location of the build script in repository |
||||
build_file: "protobuf/kokoro/linux/python/build.sh" |
||||
timeout_mins: 120 |
||||
|
||||
action { |
||||
define_artifacts { |
||||
regex: "**/sponge_log.xml" |
||||
} |
||||
} |
@ -0,0 +1,11 @@ |
||||
# Config file for running tests in Kokoro |
||||
|
||||
# Location of the build script in repository |
||||
build_file: "protobuf/kokoro/linux/python/build.sh" |
||||
timeout_mins: 120 |
||||
|
||||
action { |
||||
define_artifacts { |
||||
regex: "**/sponge_log.xml" |
||||
} |
||||
} |
@ -0,0 +1,18 @@ |
||||
#!/bin/bash |
||||
# |
||||
# This is the top-level script we give to Kokoro as the entry point for |
||||
# running the "pull request" project: |
||||
# |
||||
# This script selects a specific Dockerfile (for building a Docker image) and |
||||
# a script to run inside that image. Then we delegate to the general |
||||
# build_and_run_docker.sh script. |
||||
|
||||
# Change to repo root |
||||
cd $(dirname $0)/../../.. |
||||
|
||||
export DOCKERHUB_ORGANIZATION=protobuftesting |
||||
export DOCKERFILE_DIR=kokoro/linux/dockerfile/test/python_stretch |
||||
export DOCKER_RUN_SCRIPT=kokoro/linux/pull_request_in_docker.sh |
||||
export OUTPUT_DIR=testoutput |
||||
export TEST_SET="python35_cpp" |
||||
./kokoro/linux/build_and_run_docker.sh |
@ -0,0 +1,11 @@ |
||||
# Config file for running tests in Kokoro |
||||
|
||||
# Location of the build script in repository |
||||
build_file: "protobuf/kokoro/linux/python_cpp/build.sh" |
||||
timeout_mins: 120 |
||||
|
||||
action { |
||||
define_artifacts { |
||||
regex: "**/sponge_log.xml" |
||||
} |
||||
} |
@ -0,0 +1,11 @@ |
||||
# Config file for running tests in Kokoro |
||||
|
||||
# Location of the build script in repository |
||||
build_file: "protobuf/kokoro/linux/python_cpp/build.sh" |
||||
timeout_mins: 120 |
||||
|
||||
action { |
||||
define_artifacts { |
||||
regex: "**/sponge_log.xml" |
||||
} |
||||
} |
@ -0,0 +1,18 @@ |
||||
#!/bin/bash |
||||
# |
||||
# This is the top-level script we give to Kokoro as the entry point for |
||||
# running the "pull request" project: |
||||
# |
||||
# This script selects a specific Dockerfile (for building a Docker image) and |
||||
# a script to run inside that image. Then we delegate to the general |
||||
# build_and_run_docker.sh script. |
||||
|
||||
# Change to repo root |
||||
cd $(dirname $0)/../../.. |
||||
|
||||
export DOCKERHUB_ORGANIZATION=protobuftesting |
||||
export DOCKERFILE_DIR=kokoro/linux/dockerfile/test/python_stretch |
||||
export DOCKER_RUN_SCRIPT=kokoro/linux/pull_request_in_docker.sh |
||||
export OUTPUT_DIR=testoutput |
||||
export TEST_SET="python36" |
||||
./kokoro/linux/build_and_run_docker.sh |
@ -0,0 +1,11 @@ |
||||
# Config file for running tests in Kokoro |
||||
|
||||
# Location of the build script in repository |
||||
build_file: "protobuf/kokoro/linux/python/build.sh" |
||||
timeout_mins: 120 |
||||
|
||||
action { |
||||
define_artifacts { |
||||
regex: "**/sponge_log.xml" |
||||
} |
||||
} |
@ -0,0 +1,11 @@ |
||||
# Config file for running tests in Kokoro |
||||
|
||||
# Location of the build script in repository |
||||
build_file: "protobuf/kokoro/linux/python/build.sh" |
||||
timeout_mins: 120 |
||||
|
||||
action { |
||||
define_artifacts { |
||||
regex: "**/sponge_log.xml" |
||||
} |
||||
} |
@ -0,0 +1,18 @@ |
||||
#!/bin/bash |
||||
# |
||||
# This is the top-level script we give to Kokoro as the entry point for |
||||
# running the "pull request" project: |
||||
# |
||||
# This script selects a specific Dockerfile (for building a Docker image) and |
||||
# a script to run inside that image. Then we delegate to the general |
||||
# build_and_run_docker.sh script. |
||||
|
||||
# Change to repo root |
||||
cd $(dirname $0)/../../.. |
||||
|
||||
export DOCKERHUB_ORGANIZATION=protobuftesting |
||||
export DOCKERFILE_DIR=kokoro/linux/dockerfile/test/python_stretch |
||||
export DOCKER_RUN_SCRIPT=kokoro/linux/pull_request_in_docker.sh |
||||
export OUTPUT_DIR=testoutput |
||||
export TEST_SET="python36_cpp" |
||||
./kokoro/linux/build_and_run_docker.sh |
@ -0,0 +1,11 @@ |
||||
# Config file for running tests in Kokoro |
||||
|
||||
# Location of the build script in repository |
||||
build_file: "protobuf/kokoro/linux/python_cpp/build.sh" |
||||
timeout_mins: 120 |
||||
|
||||
action { |
||||
define_artifacts { |
||||
regex: "**/sponge_log.xml" |
||||
} |
||||
} |
@ -0,0 +1,11 @@ |
||||
# Config file for running tests in Kokoro |
||||
|
||||
# Location of the build script in repository |
||||
build_file: "protobuf/kokoro/linux/python_cpp/build.sh" |
||||
timeout_mins: 120 |
||||
|
||||
action { |
||||
define_artifacts { |
||||
regex: "**/sponge_log.xml" |
||||
} |
||||
} |
@ -0,0 +1,18 @@ |
||||
#!/bin/bash |
||||
# |
||||
# This is the top-level script we give to Kokoro as the entry point for |
||||
# running the "pull request" project: |
||||
# |
||||
# This script selects a specific Dockerfile (for building a Docker image) and |
||||
# a script to run inside that image. Then we delegate to the general |
||||
# build_and_run_docker.sh script. |
||||
|
||||
# Change to repo root |
||||
cd $(dirname $0)/../../.. |
||||
|
||||
export DOCKERHUB_ORGANIZATION=protobuftesting |
||||
export DOCKERFILE_DIR=kokoro/linux/dockerfile/test/python_stretch |
||||
export DOCKER_RUN_SCRIPT=kokoro/linux/pull_request_in_docker.sh |
||||
export OUTPUT_DIR=testoutput |
||||
export TEST_SET="python37" |
||||
./kokoro/linux/build_and_run_docker.sh |
@ -0,0 +1,11 @@ |
||||
# Config file for running tests in Kokoro |
||||
|
||||
# Location of the build script in repository |
||||
build_file: "protobuf/kokoro/linux/python/build.sh" |
||||
timeout_mins: 120 |
||||
|
||||
action { |
||||
define_artifacts { |
||||
regex: "**/sponge_log.xml" |
||||
} |
||||
} |
@ -0,0 +1,11 @@ |
||||
# Config file for running tests in Kokoro |
||||
|
||||
# Location of the build script in repository |
||||
build_file: "protobuf/kokoro/linux/python/build.sh" |
||||
timeout_mins: 120 |
||||
|
||||
action { |
||||
define_artifacts { |
||||
regex: "**/sponge_log.xml" |
||||
} |
||||
} |
@ -0,0 +1,18 @@ |
||||
#!/bin/bash |
||||
# |
||||
# This is the top-level script we give to Kokoro as the entry point for |
||||
# running the "pull request" project: |
||||
# |
||||
# This script selects a specific Dockerfile (for building a Docker image) and |
||||
# a script to run inside that image. Then we delegate to the general |
||||
# build_and_run_docker.sh script. |
||||
|
||||
# Change to repo root |
||||
cd $(dirname $0)/../../.. |
||||
|
||||
export DOCKERHUB_ORGANIZATION=protobuftesting |
||||
export DOCKERFILE_DIR=kokoro/linux/dockerfile/test/python_stretch |
||||
export DOCKER_RUN_SCRIPT=kokoro/linux/pull_request_in_docker.sh |
||||
export OUTPUT_DIR=testoutput |
||||
export TEST_SET="python37_cpp" |
||||
./kokoro/linux/build_and_run_docker.sh |
@ -0,0 +1,11 @@ |
||||
# Config file for running tests in Kokoro |
||||
|
||||
# Location of the build script in repository |
||||
build_file: "protobuf/kokoro/linux/python_cpp/build.sh" |
||||
timeout_mins: 120 |
||||
|
||||
action { |
||||
define_artifacts { |
||||
regex: "**/sponge_log.xml" |
||||
} |
||||
} |
@ -0,0 +1,11 @@ |
||||
# Config file for running tests in Kokoro |
||||
|
||||
# Location of the build script in repository |
||||
build_file: "protobuf/kokoro/linux/python_cpp/build.sh" |
||||
timeout_mins: 120 |
||||
|
||||
action { |
||||
define_artifacts { |
||||
regex: "**/sponge_log.xml" |
||||
} |
||||
} |
Loading…
Reference in new issue