Matt Kwong | e7f5df6 | 2017-08-02 13:44:41 -0700 | [diff] [blame] | 1 | #!/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 | |
| 18 | set -ex |
| 19 | |
| 20 | # change to grpc repo root |
| 21 | cd $(dirname $0)/../../.. |
| 22 | |
| 23 | source 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 Kwong | c1df9da | 2017-08-10 18:44:32 -0700 | [diff] [blame] | 27 | tools/buildgen/generate_projects.sh |
Matt Kwong | e7f5df6 | 2017-08-02 13:44:41 -0700 | [diff] [blame] | 28 | git -c user.name='foo' -c user.email='foo@google.com' commit -a -m 'Update submodule' |
| 29 | |
Jan Tattermusch | a511356 | 2017-10-26 15:35:43 +0200 | [diff] [blame^] | 30 | tools/run_tests/run_tests_matrix.py -f linux --inner_jobs 4 -j 4 --internal_ci --build_only |
Matt Kwong | e7f5df6 | 2017-08-02 13:44:41 -0700 | [diff] [blame] | 31 | |