File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717# Tell the trampoline which build file to use.
1818env_vars: {
1919 key: " TRAMPOLINE_BUILD_FILE"
20- value: " .kokoro/tests/run_tests_diff_master .sh"
20+ value: " .kokoro/tests/run_tests_diff_main .sh"
2121}
Original file line number Diff line number Diff line change 1717# Tell the trampoline which build file to use.
1818env_vars: {
1919 key: " TRAMPOLINE_BUILD_FILE"
20- value: " .kokoro/tests/run_tests_diff_master .sh"
20+ value: " .kokoro/tests/run_tests_diff_main .sh"
2121}
Original file line number Diff line number Diff line change 1717# Tell the trampoline which build file to use.
1818env_vars: {
1919 key: " TRAMPOLINE_BUILD_FILE"
20- value: " .kokoro/tests/run_tests_diff_master .sh"
20+ value: " .kokoro/tests/run_tests_diff_main .sh"
2121}
Original file line number Diff line number Diff line change 1717# Tell the trampoline which build file to use.
1818env_vars: {
1919 key: " TRAMPOLINE_BUILD_FILE"
20- value: " .kokoro/tests/run_tests_diff_master .sh"
20+ value: " .kokoro/tests/run_tests_diff_main .sh"
2121}
Original file line number Diff line number Diff line change 1616
1717env_vars: {
1818 key: " TRAMPOLINE_BUILD_FILE"
19- value: " .kokoro/tests/run_tests_diff_master .sh"
19+ value: " .kokoro/tests/run_tests_diff_main .sh"
2020}
Original file line number Diff line number Diff line change 1717# Tell the trampoline which build file to use.
1818env_vars: {
1919 key: " TRAMPOLINE_BUILD_FILE"
20- value: " .kokoro/tests/run_tests_diff_master .sh"
20+ value: " .kokoro/tests/run_tests_diff_main .sh"
2121}
Original file line number Diff line number Diff line change 1717# Tell the trampoline which build file to use.
1818env_vars: {
1919 key: " TRAMPOLINE_BUILD_FILE"
20- value: " .kokoro/tests/run_tests_diff_master .sh"
20+ value: " .kokoro/tests/run_tests_diff_main .sh"
2121}
Original file line number Diff line number Diff line change @@ -21,16 +21,16 @@ shopt -s globstar
2121
2222DIFF_FROM=" "
2323
24- # `--only-diff-master ` will only run tests on project changes on the
25- # last common commit from the master branch.
26- if [[ $* == * --only-diff-master * ]]; then
24+ # `--only-diff-main ` will only run tests on project changes on the
25+ # last common commit from the main branch.
26+ if [[ $* == * --only-diff-main * ]]; then
2727 set +e
28- git diff --quiet " origin/master ..." .kokoro/tests .kokoro/docker \
28+ git diff --quiet " origin/main ..." .kokoro/tests .kokoro/docker \
2929 .kokoro/trampoline_v2.sh
3030 CHANGED=$?
3131 set -e
3232 if [[ " ${CHANGED} " -eq 0 ]]; then
33- DIFF_FROM=" origin/master ..."
33+ DIFF_FROM=" origin/main ..."
3434 else
3535 echo " Changes to test driver files detected. Running full tests."
3636 fi
Original file line number Diff line number Diff line change 1313# See the License for the specific language governing permissions and
1414# limitations under the License.
1515mydir=" ${0%/* } "
16- " $mydir " /run_tests.sh --only-diff-master
16+ " $mydir " /run_tests.sh --only-diff-main
Original file line number Diff line number Diff line change @@ -21,16 +21,16 @@ shopt -s globstar
2121
2222DIFF_FROM=" "
2323
24- # `--only-diff-master ` will only run tests on project changes on the
25- # last common commit from the master branch.
26- if [[ $* == * --only-diff-master * ]]; then
24+ # `--only-diff-main ` will only run tests on project changes on the
25+ # last common commit from the main branch.
26+ if [[ $* == * --only-diff-main * ]]; then
2727 set +e
28- git diff --quiet " origin/master ..." .kokoro/tests .kokoro/docker \
28+ git diff --quiet " origin/main ..." .kokoro/tests .kokoro/docker \
2929 .kokoro/trampoline_v2.sh
3030 CHANGED=$?
3131 set -e
3232 if [[ " ${CHANGED} " -eq 0 ]]; then
33- DIFF_FROM=" origin/master ..."
33+ DIFF_FROM=" origin/main ..."
3434 else
3535 echo " Changes to test driver files detected. Running full tests."
3636 fi
You can’t perform that action at this time.
0 commit comments