File tree Expand file tree Collapse file tree 10 files changed +18
-18
lines changed Expand file tree Collapse file tree 10 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 17
17
# Tell the trampoline which build file to use.
18
18
env_vars: {
19
19
key: " TRAMPOLINE_BUILD_FILE"
20
- value: " .kokoro/tests/run_tests_diff_master .sh"
20
+ value: " .kokoro/tests/run_tests_diff_main .sh"
21
21
}
Original file line number Diff line number Diff line change 17
17
# Tell the trampoline which build file to use.
18
18
env_vars: {
19
19
key: " TRAMPOLINE_BUILD_FILE"
20
- value: " .kokoro/tests/run_tests_diff_master .sh"
20
+ value: " .kokoro/tests/run_tests_diff_main .sh"
21
21
}
Original file line number Diff line number Diff line change 17
17
# Tell the trampoline which build file to use.
18
18
env_vars: {
19
19
key: " TRAMPOLINE_BUILD_FILE"
20
- value: " .kokoro/tests/run_tests_diff_master .sh"
20
+ value: " .kokoro/tests/run_tests_diff_main .sh"
21
21
}
Original file line number Diff line number Diff line change 17
17
# Tell the trampoline which build file to use.
18
18
env_vars: {
19
19
key: " TRAMPOLINE_BUILD_FILE"
20
- value: " .kokoro/tests/run_tests_diff_master .sh"
20
+ value: " .kokoro/tests/run_tests_diff_main .sh"
21
21
}
Original file line number Diff line number Diff line change 16
16
17
17
env_vars: {
18
18
key: " TRAMPOLINE_BUILD_FILE"
19
- value: " .kokoro/tests/run_tests_diff_master .sh"
19
+ value: " .kokoro/tests/run_tests_diff_main .sh"
20
20
}
Original file line number Diff line number Diff line change 17
17
# Tell the trampoline which build file to use.
18
18
env_vars: {
19
19
key: " TRAMPOLINE_BUILD_FILE"
20
- value: " .kokoro/tests/run_tests_diff_master .sh"
20
+ value: " .kokoro/tests/run_tests_diff_main .sh"
21
21
}
Original file line number Diff line number Diff line change 17
17
# Tell the trampoline which build file to use.
18
18
env_vars: {
19
19
key: " TRAMPOLINE_BUILD_FILE"
20
- value: " .kokoro/tests/run_tests_diff_master .sh"
20
+ value: " .kokoro/tests/run_tests_diff_main .sh"
21
21
}
Original file line number Diff line number Diff line change @@ -21,16 +21,16 @@ shopt -s globstar
21
21
22
22
DIFF_FROM=" "
23
23
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
27
27
set +e
28
- git diff --quiet " origin/master ..." .kokoro/tests .kokoro/docker \
28
+ git diff --quiet " origin/main ..." .kokoro/tests .kokoro/docker \
29
29
.kokoro/trampoline_v2.sh
30
30
CHANGED=$?
31
31
set -e
32
32
if [[ " ${CHANGED} " -eq 0 ]]; then
33
- DIFF_FROM=" origin/master ..."
33
+ DIFF_FROM=" origin/main ..."
34
34
else
35
35
echo " Changes to test driver files detected. Running full tests."
36
36
fi
Original file line number Diff line number Diff line change 13
13
# See the License for the specific language governing permissions and
14
14
# limitations under the License.
15
15
mydir=" ${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
21
21
22
22
DIFF_FROM=" "
23
23
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
27
27
set +e
28
- git diff --quiet " origin/master ..." .kokoro/tests .kokoro/docker \
28
+ git diff --quiet " origin/main ..." .kokoro/tests .kokoro/docker \
29
29
.kokoro/trampoline_v2.sh
30
30
CHANGED=$?
31
31
set -e
32
32
if [[ " ${CHANGED} " -eq 0 ]]; then
33
- DIFF_FROM=" origin/master ..."
33
+ DIFF_FROM=" origin/main ..."
34
34
else
35
35
echo " Changes to test driver files detected. Running full tests."
36
36
fi
You can’t perform that action at this time.
0 commit comments