Skip to content

Commit 5be7314

Browse files
build: migrate to flakybot (#56)
1 parent ba5b1d3 commit 5be7314

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

packages/grafeas/.kokoro/test-samples.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ for file in samples/**/requirements.txt; do
8181
python3.6 -m nox -s "$RUN_TESTS_SESSION"
8282
EXIT=$?
8383

84-
# If this is a periodic build, send the test log to the Build Cop Bot.
85-
# See https://github.com/googleapis/repo-automation-bots/tree/master/packages/buildcop.
84+
# If this is a periodic build, send the test log to the FlakyBot.
85+
# See https://github.com/googleapis/repo-automation-bots/tree/master/packages/flakybot.
8686
if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"periodic"* ]]; then
87-
chmod +x $KOKORO_GFILE_DIR/linux_amd64/buildcop
88-
$KOKORO_GFILE_DIR/linux_amd64/buildcop
87+
chmod +x $KOKORO_GFILE_DIR/linux_amd64/flakybot
88+
$KOKORO_GFILE_DIR/linux_amd64/flakybot
8989
fi
9090

9191
if [[ $EXIT -ne 0 ]]; then

packages/grafeas/.kokoro/trampoline_v2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ if [[ -n "${KOKORO_BUILD_ID:-}" ]]; then
159159
"KOKORO_GITHUB_COMMIT"
160160
"KOKORO_GITHUB_PULL_REQUEST_NUMBER"
161161
"KOKORO_GITHUB_PULL_REQUEST_COMMIT"
162-
# For Build Cop Bot
162+
# For FlakyBot
163163
"KOKORO_GITHUB_COMMIT_URL"
164164
"KOKORO_GITHUB_PULL_REQUEST_URL"
165165
)

packages/grafeas/docs/conf.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# -- General configuration ------------------------------------------------
3030

3131
# If your documentation needs a minimal Sphinx version, state it here.
32-
needs_sphinx = "1.6.3"
32+
needs_sphinx = "1.5.5"
3333

3434
# Add any Sphinx extension module names here, as strings. They can be
3535
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
@@ -39,6 +39,7 @@
3939
"sphinx.ext.autosummary",
4040
"sphinx.ext.intersphinx",
4141
"sphinx.ext.coverage",
42+
"sphinx.ext.doctest",
4243
"sphinx.ext.napoleon",
4344
"sphinx.ext.todo",
4445
"sphinx.ext.viewcode",
@@ -330,10 +331,10 @@
330331

331332
# Example configuration for intersphinx: refer to the Python standard library.
332333
intersphinx_mapping = {
333-
"python": ("http://python.readthedocs.org/en/latest/", None),
334-
"google-auth": ("https://google-auth.readthedocs.io/en/stable", None),
334+
"python": ("https://python.readthedocs.org/en/latest/", None),
335+
"google-auth": ("https://googleapis.dev/python/google-auth/latest/", None),
335336
"google.api_core": ("https://googleapis.dev/python/google-api-core/latest/", None,),
336-
"grpc": ("https://grpc.io/grpc/python/", None),
337+
"grpc": ("https://grpc.github.io/grpc/python/", None),
337338
}
338339

339340

0 commit comments

Comments
 (0)