diff --git a/synthtool/gcp/templates/python_library/.kokoro/docs/docs-presubmit.cfg b/synthtool/gcp/templates/python_library/.kokoro/docs/docs-presubmit.cfg deleted file mode 100644 index 4c6fea6a0..000000000 --- a/synthtool/gcp/templates/python_library/.kokoro/docs/docs-presubmit.cfg +++ /dev/null @@ -1,28 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -env_vars: { - key: "STAGING_BUCKET" - value: "gcloud-python-test" -} - -env_vars: { - key: "V2_STAGING_BUCKET" - value: "gcloud-python-test" -} - -# We only upload the image in the main `docs` build. -env_vars: { - key: "TRAMPOLINE_IMAGE_UPLOAD" - value: "false" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/{{ metadata['repo']['repo'].split('/')[1] }}/.kokoro/build.sh" -} - -# Only run this nox session. -env_vars: { - key: "NOX_SESSION" - value: "docs docfx" -} diff --git a/tests/test_python_library.py b/tests/test_python_library.py index b4d50190a..3dad5eb6f 100644 --- a/tests/test_python_library.py +++ b/tests/test_python_library.py @@ -243,7 +243,6 @@ def test_python_library(): common = gcp.CommonTemplates(template_path=template_dir) templated_files = common.py_library() - assert os.path.exists(templated_files / ".kokoro/docs/docs-presubmit.cfg") assert os.path.exists(templated_files / ".kokoro/docker/docs/Dockerfile")