From d1bb9173100f62c0cfc8f3138b62241e7f47ca6a Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Thu, 28 Jan 2021 22:22:38 -0800 Subject: [PATCH] build: migrate to flakybot (#931) --- synthtool/gcp/templates/java_library/.kokoro/build.sh | 4 ++-- .../gcp/templates/python_library/.kokoro/test-samples.sh | 8 ++++---- .../gcp/templates/python_library/.kokoro/trampoline_v2.sh | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/synthtool/gcp/templates/java_library/.kokoro/build.sh b/synthtool/gcp/templates/java_library/.kokoro/build.sh index 7a2547f4c..458077686 100755 --- a/synthtool/gcp/templates/java_library/.kokoro/build.sh +++ b/synthtool/gcp/templates/java_library/.kokoro/build.sh @@ -110,8 +110,8 @@ bash .kokoro/coerce_logs.sh if [[ "${ENABLE_BUILD_COP}" == "true" ]] then - chmod +x ${KOKORO_GFILE_DIR}/linux_amd64/buildcop - ${KOKORO_GFILE_DIR}/linux_amd64/buildcop -repo={{metadata['repo']['repo']}} + chmod +x ${KOKORO_GFILE_DIR}/linux_amd64/flakybot + ${KOKORO_GFILE_DIR}/linux_amd64/flakybot -repo={{metadata['repo']['repo']}} fi echo "exiting with ${RETURN_CODE}" diff --git a/synthtool/gcp/templates/python_library/.kokoro/test-samples.sh b/synthtool/gcp/templates/python_library/.kokoro/test-samples.sh index a65cd7575..6204569f9 100755 --- a/synthtool/gcp/templates/python_library/.kokoro/test-samples.sh +++ b/synthtool/gcp/templates/python_library/.kokoro/test-samples.sh @@ -87,11 +87,11 @@ for file in samples/**/requirements.txt; do python3.6 -m nox -s "$RUN_TESTS_SESSION" EXIT=$? - # If this is a periodic build, send the test log to the Build Cop Bot. - # See https://github.com/googleapis/repo-automation-bots/tree/master/packages/buildcop. + # If this is a periodic build, send the test log to the FlakyBot. + # See https://github.com/googleapis/repo-automation-bots/tree/master/packages/flakybot. if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"periodic"* ]]; then - chmod +x $KOKORO_GFILE_DIR/linux_amd64/buildcop - $KOKORO_GFILE_DIR/linux_amd64/buildcop + chmod +x $KOKORO_GFILE_DIR/linux_amd64/flakybot + $KOKORO_GFILE_DIR/linux_amd64/flakybot fi if [[ $EXIT -ne 0 ]]; then diff --git a/synthtool/gcp/templates/python_library/.kokoro/trampoline_v2.sh b/synthtool/gcp/templates/python_library/.kokoro/trampoline_v2.sh index 719bcd5ba..4af6cdc26 100755 --- a/synthtool/gcp/templates/python_library/.kokoro/trampoline_v2.sh +++ b/synthtool/gcp/templates/python_library/.kokoro/trampoline_v2.sh @@ -159,7 +159,7 @@ if [[ -n "${KOKORO_BUILD_ID:-}" ]]; then "KOKORO_GITHUB_COMMIT" "KOKORO_GITHUB_PULL_REQUEST_NUMBER" "KOKORO_GITHUB_PULL_REQUEST_COMMIT" - # For Build Cop Bot + # For FlakyBot "KOKORO_GITHUB_COMMIT_URL" "KOKORO_GITHUB_PULL_REQUEST_URL" )