diff options
author | Matt Kwong <mattkwong@google.com> | 2018-02-01 17:04:31 -0800 |
---|---|---|
committer | Matt Kwong <mattkwong@google.com> | 2018-02-02 12:00:16 -0800 |
commit | 4146b2a05d463d74675eb414e09b50c9d2c379a4 (patch) | |
tree | 4eaf8dc08e96aaa16d93ec1c9ab3d337d2333fae /tools/internal_ci | |
parent | ac47595e42036585a9d9465ba28615d3e4626b13 (diff) |
Fix testing submodules at head
Diffstat (limited to 'tools/internal_ci')
-rwxr-xr-x | tools/internal_ci/linux/grpc_build_submodule_at_head.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/internal_ci/linux/grpc_build_submodule_at_head.sh b/tools/internal_ci/linux/grpc_build_submodule_at_head.sh index e203a62b08..e68a2897f6 100755 --- a/tools/internal_ci/linux/grpc_build_submodule_at_head.sh +++ b/tools/internal_ci/linux/grpc_build_submodule_at_head.sh @@ -23,9 +23,8 @@ cd $(dirname $0)/../../.. source tools/internal_ci/helper_scripts/prepare_build_linux_rc # Update submodule and commit it so changes are passed to Docker -(cd third_party/$RUN_TESTS_FLAGS && git pull origin master) +(cd third_party/$RUN_TESTS_FLAGS && git fetch --all && git checkout origin/master) tools/buildgen/generate_projects.sh git -c user.name='foo' -c user.email='foo@google.com' commit -a -m 'Update submodule' tools/run_tests/run_tests_matrix.py -f linux --inner_jobs 4 -j 4 --internal_ci --build_only - |