blob: e203a62b08ab3204c6c12bc9684a84f0a5a7c2ad [file] [log] [blame]
Matt Kwonge7f5df62017-08-02 13:44:41 -07001#!/bin/bash
2# Copyright 2017 gRPC authors.
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16# Build portability tests with an updated submodule
17
18set -ex
19
20# change to grpc repo root
21cd $(dirname $0)/../../..
22
23source tools/internal_ci/helper_scripts/prepare_build_linux_rc
24
25# Update submodule and commit it so changes are passed to Docker
26(cd third_party/$RUN_TESTS_FLAGS && git pull origin master)
Matt Kwongc1df9da2017-08-10 18:44:32 -070027tools/buildgen/generate_projects.sh
Matt Kwonge7f5df62017-08-02 13:44:41 -070028git -c user.name='foo' -c user.email='foo@google.com' commit -a -m 'Update submodule'
29
Jan Tattermuscha5113562017-10-26 15:35:43 +020030tools/run_tests/run_tests_matrix.py -f linux --inner_jobs 4 -j 4 --internal_ci --build_only
Matt Kwonge7f5df62017-08-02 13:44:41 -070031