Skip to content
Snippets Groups Projects
Commit e44afe71 authored by Jan Tattermusch's avatar Jan Tattermusch
Browse files

source the linux rc file

parent 598fb573
No related branches found
No related tags found
No related merge requests found
Showing
with 26 additions and 25 deletions
...@@ -28,11 +28,10 @@ ...@@ -28,11 +28,10 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
set -ex # Source this rc script to prepare the environment for linux builds
# Enable IPv6 in Docker # Need to increase open files limit for c tests
sudo sed -i s/DOCKER_OPTS=/DOCKER_OPTS=\"--ipv6\"/g /etc/init.d/docker ulimit -n 32768
sudo /etc/init.d/docker restart
# Download Docker images from DockerHub # Download Docker images from DockerHub
export DOCKERHUB_ORGANIZATION=grpctesting export DOCKERHUB_ORGANIZATION=grpctesting
......
...@@ -35,6 +35,7 @@ export LANG=en_US.UTF-8 ...@@ -35,6 +35,7 @@ export LANG=en_US.UTF-8
# Enter the gRPC repo root # Enter the gRPC repo root
cd $(dirname $0)/../../.. cd $(dirname $0)/../../..
tools/internal_ci/helper_scripts/pre_build_linux.sh source tools/internal_ci/helper_scripts/prepare_build_linux_rc
tools/run_tests/run_interop_tests.py -l java --use_docker --http2_server_interop $@ tools/run_tests/run_interop_tests.py -l java --use_docker --http2_server_interop $@
...@@ -35,6 +35,7 @@ export LANG=en_US.UTF-8 ...@@ -35,6 +35,7 @@ export LANG=en_US.UTF-8
# Enter the gRPC repo root # Enter the gRPC repo root
cd $(dirname $0)/../../.. cd $(dirname $0)/../../..
tools/internal_ci/helper_scripts/pre_build_linux.sh source tools/internal_ci/helper_scripts/prepare_build_linux_rc
tools/run_tests/run_interop_tests.py -l python --use_docker --http2_server_interop $@ tools/run_tests/run_interop_tests.py -l python --use_docker --http2_server_interop $@
...@@ -35,5 +35,6 @@ export LANG=en_US.UTF-8 ...@@ -35,5 +35,6 @@ export LANG=en_US.UTF-8
# Enter the gRPC repo root # Enter the gRPC repo root
cd $(dirname $0)/../../.. cd $(dirname $0)/../../..
tools/internal_ci/helper_scripts/pre_build_linux.sh source tools/internal_ci/helper_scripts/prepare_build_linux_rc
tools/run_tests/run_interop_tests.py -l all -s all --use_docker --http2_interop -t -j 12 $@ tools/run_tests/run_interop_tests.py -l all -s all --use_docker --http2_interop -t -j 12 $@
...@@ -33,15 +33,6 @@ set -ex ...@@ -33,15 +33,6 @@ set -ex
# change to grpc repo root # change to grpc repo root
cd $(dirname $0)/../../.. cd $(dirname $0)/../../..
# TODO(jtattermusch): get rid of the system inspection eventually source tools/internal_ci/helper_scripts/prepare_build_linux_rc
nproc || true
lsb_release -dc || true
gcc --version || true
clang --version || true
docker --version || true
# Need to increase open files limit for c tests
ulimit -n 32768
tools/internal_ci/helper_scripts/pre_build_linux.sh
tools/run_tests/run_tests_matrix.py -f basictests linux --inner_jobs 16 -j 1 --internal_ci tools/run_tests/run_tests_matrix.py -f basictests linux --inner_jobs 16 -j 1 --internal_ci
...@@ -33,5 +33,6 @@ set -ex ...@@ -33,5 +33,6 @@ set -ex
# change to grpc repo root # change to grpc repo root
cd $(dirname $0)/../../.. cd $(dirname $0)/../../..
tools/internal_ci/helper_scripts/pre_build_linux.sh source tools/internal_ci/helper_scripts/prepare_build_linux_rc
tools/run_tests/run_tests_matrix.py -f portability linux --inner_jobs 16 -j 1 --internal_ci tools/run_tests/run_tests_matrix.py -f portability linux --inner_jobs 16 -j 1 --internal_ci
...@@ -33,5 +33,6 @@ set -ex ...@@ -33,5 +33,6 @@ set -ex
# change to grpc repo root # change to grpc repo root
cd $(dirname $0)/../../.. cd $(dirname $0)/../../..
tools/internal_ci/helper_scripts/pre_build_linux.sh source tools/internal_ci/helper_scripts/prepare_build_linux_rc
tools/run_tests/run_tests_matrix.py -f portability linux --internal_ci --build_only tools/run_tests/run_tests_matrix.py -f portability linux --internal_ci --build_only
...@@ -33,5 +33,6 @@ set -ex ...@@ -33,5 +33,6 @@ set -ex
# change to grpc repo root # change to grpc repo root
cd $(dirname $0)/../../.. cd $(dirname $0)/../../..
tools/internal_ci/helper_scripts/pre_build_linux.sh source tools/internal_ci/helper_scripts/prepare_build_linux_rc
tools/run_tests/run_tests.py -l sanity -c opt -t -x sponge_log.xml --use_docker --report_suite_name sanity_linux_opt tools/run_tests/run_tests.py -l sanity -c opt -t -x sponge_log.xml --use_docker --report_suite_name sanity_linux_opt
...@@ -33,5 +33,6 @@ set -ex ...@@ -33,5 +33,6 @@ set -ex
# change to grpc repo root # change to grpc repo root
cd $(dirname $0)/../../../.. cd $(dirname $0)/../../../..
tools/internal_ci/helper_scripts/pre_build_linux.sh source tools/internal_ci/helper_scripts/prepare_build_linux_rc
tools/run_tests/run_tests_matrix.py -f c asan --inner_jobs 16 -j 1 --internal_ci tools/run_tests/run_tests_matrix.py -f c asan --inner_jobs 16 -j 1 --internal_ci
...@@ -33,5 +33,6 @@ set -ex ...@@ -33,5 +33,6 @@ set -ex
# change to grpc repo root # change to grpc repo root
cd $(dirname $0)/../../../.. cd $(dirname $0)/../../../..
tools/internal_ci/helper_scripts/pre_build_linux.sh source tools/internal_ci/helper_scripts/prepare_build_linux_rc
tools/run_tests/run_tests_matrix.py -f c msan --inner_jobs 16 -j 1 --internal_ci tools/run_tests/run_tests_matrix.py -f c msan --inner_jobs 16 -j 1 --internal_ci
...@@ -33,5 +33,6 @@ set -ex ...@@ -33,5 +33,6 @@ set -ex
# change to grpc repo root # change to grpc repo root
cd $(dirname $0)/../../../.. cd $(dirname $0)/../../../..
tools/internal_ci/helper_scripts/pre_build_linux.sh source tools/internal_ci/helper_scripts/prepare_build_linux_rc
tools/run_tests/run_tests_matrix.py -f c tsan --inner_jobs 16 -j 1 --internal_ci tools/run_tests/run_tests_matrix.py -f c tsan --inner_jobs 16 -j 1 --internal_ci
...@@ -33,5 +33,6 @@ set -ex ...@@ -33,5 +33,6 @@ set -ex
# change to grpc repo root # change to grpc repo root
cd $(dirname $0)/../../../.. cd $(dirname $0)/../../../..
tools/internal_ci/helper_scripts/pre_build_linux.sh source tools/internal_ci/helper_scripts/prepare_build_linux_rc
tools/run_tests/run_tests_matrix.py -f c++ asan --inner_jobs 16 -j 1 --internal_ci tools/run_tests/run_tests_matrix.py -f c++ asan --inner_jobs 16 -j 1 --internal_ci
...@@ -33,5 +33,6 @@ set -ex ...@@ -33,5 +33,6 @@ set -ex
# change to grpc repo root # change to grpc repo root
cd $(dirname $0)/../../../.. cd $(dirname $0)/../../../..
tools/internal_ci/helper_scripts/pre_build_linux.sh source tools/internal_ci/helper_scripts/prepare_build_linux_rc
tools/run_tests/run_tests_matrix.py -f c++ tsan --inner_jobs 16 -j 1 --internal_ci tools/run_tests/run_tests_matrix.py -f c++ tsan --inner_jobs 16 -j 1 --internal_ci
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment