Skip to content

Commit 5749bac

Browse files
briandorseyglasnt
andauthored
chore: remove flakybot configuration (long retired) (#13526)
* chore: remove flakybot configuration (long retired) * chore(lint): correct linting on older samples (#13528) --------- Co-authored-by: Katie McLaughlin <[email protected]>
1 parent dfab35e commit 5749bac

File tree

11 files changed

+0
-56
lines changed

11 files changed

+0
-56
lines changed

.kokoro/python2.7/periodic.cfg

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,3 @@ env_vars: {
2020
value: ".kokoro/tests/run_tests.sh"
2121
}
2222

23-
env_vars: {
24-
key: "REPORT_TO_BUILD_COP_BOT"
25-
value: "false"
26-
}

.kokoro/python3.10/periodic.cfg

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ env_vars: {
2020
value: ".kokoro/tests/run_tests.sh"
2121
}
2222

23-
env_vars: {
24-
key: "REPORT_TO_BUILD_COP_BOT"
25-
value: "false"
26-
}
27-
2823
# Tell Trampoline to upload the Docker image after successfull build.
2924
env_vars: {
3025
key: "TRAMPOLINE_IMAGE_UPLOAD"

.kokoro/python3.11/periodic.cfg

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ env_vars: {
2020
value: ".kokoro/tests/run_tests.sh"
2121
}
2222

23-
env_vars: {
24-
key: "REPORT_TO_BUILD_COP_BOT"
25-
value: "false"
26-
}
27-
2823
# Tell Trampoline to upload the Docker image after successfull build.
2924
env_vars: {
3025
key: "TRAMPOLINE_IMAGE_UPLOAD"

.kokoro/python3.12/periodic.cfg

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ env_vars: {
2020
value: ".kokoro/tests/run_tests.sh"
2121
}
2222

23-
env_vars: {
24-
key: "REPORT_TO_BUILD_COP_BOT"
25-
value: "false"
26-
}
27-
2823
# Tell Trampoline to upload the Docker image after successfull build.
2924
env_vars: {
3025
key: "TRAMPOLINE_IMAGE_UPLOAD"

.kokoro/python3.13/periodic.cfg

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ env_vars: {
2020
value: ".kokoro/tests/run_tests.sh"
2121
}
2222

23-
env_vars: {
24-
key: "REPORT_TO_BUILD_COP_BOT"
25-
value: "false"
26-
}
27-
2823
# Tell Trampoline to upload the Docker image after successfull build.
2924
env_vars: {
3025
key: "TRAMPOLINE_IMAGE_UPLOAD"

.kokoro/python3.8/periodic.cfg

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ env_vars: {
2020
value: ".kokoro/tests/run_tests.sh"
2121
}
2222

23-
env_vars: {
24-
key: "REPORT_TO_BUILD_COP_BOT"
25-
value: "false"
26-
}
27-
2823
# Tell Trampoline to upload the Docker image after successfull build.
2924
env_vars: {
3025
key: "TRAMPOLINE_IMAGE_UPLOAD"

.kokoro/python3.9/periodic.cfg

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ env_vars: {
2020
value: ".kokoro/tests/run_tests.sh"
2121
}
2222

23-
env_vars: {
24-
key: "REPORT_TO_BUILD_COP_BOT"
25-
value: "false"
26-
}
27-
2823
# Tell Trampoline to upload the Docker image after successfull build.
2924
env_vars: {
3025
key: "TRAMPOLINE_IMAGE_UPLOAD"

.kokoro/tests/run_single_test.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,6 @@ if [[ "${INJECT_REGION_TAGS:-}" == "true" ]]; then
9090
fi
9191
set -e
9292

93-
# If REPORT_TO_BUILD_COP_BOT is set to "true", send the test log
94-
# to the FlakyBot.
95-
# See:
96-
# https://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot.
97-
if [[ "${REPORT_TO_BUILD_COP_BOT:-}" == "true" ]]; then
98-
chmod +x $KOKORO_GFILE_DIR/linux_amd64/flakybot
99-
$KOKORO_GFILE_DIR/linux_amd64/flakybot
100-
fi
101-
10293
if [[ "${EXIT}" -ne 0 ]]; then
10394
echo -e "\n Testing failed: Nox returned a non-zero exit code. \n"
10495
else

.kokoro/tests/run_tests_orig.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -176,15 +176,6 @@ for file in **/requirements.txt; do
176176
nox -s "$RUN_TESTS_SESSION"
177177
EXIT=$?
178178

179-
# If REPORT_TO_BUILD_COP_BOT is set to "true", send the test log
180-
# to the FlakyBot.
181-
# See:
182-
# https://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot.
183-
if [[ "${REPORT_TO_BUILD_COP_BOT:-}" == "true" ]]; then
184-
chmod +x $KOKORO_GFILE_DIR/linux_amd64/flakybot
185-
$KOKORO_GFILE_DIR/linux_amd64/flakybot
186-
fi
187-
188179
if [[ $EXIT -ne 0 ]]; then
189180
RTN=1
190181
echo -e "\n Testing failed: Nox returned a non-zero exit code. \n"

.kokoro/trampoline_v2.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,6 @@ if [[ -n "${KOKORO_BUILD_ID:-}" ]]; then
159159
"KOKORO_GITHUB_COMMIT"
160160
"KOKORO_GITHUB_PULL_REQUEST_NUMBER"
161161
"KOKORO_GITHUB_PULL_REQUEST_COMMIT"
162-
# For FlakyBot
163-
"KOKORO_GITHUB_COMMIT_URL"
164-
"KOKORO_GITHUB_PULL_REQUEST_URL"
165162
)
166163
elif [[ "${TRAVIS:-}" == "true" ]]; then
167164
RUNNING_IN_CI="true"

0 commit comments

Comments
 (0)