From 849a6dd870491de8eeb99f22dad1690c3d12361e Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 4 Mar 2021 12:16:41 -0800 Subject: [PATCH] test: install pyopenssl for mtls testing (#117) Source-Author: arithmetic1728 <58957152+arithmetic1728@users.noreply.github.com> Source-Date: Tue Mar 2 12:27:56 2021 -0800 Source-Repo: googleapis/synthtool Source-Sha: 0780323da96d5a53925fe0547757181fe76e8f1e Source-Link: https://github.com/googleapis/synthtool/commit/0780323da96d5a53925fe0547757181fe76e8f1e --- .../google-cloud-python-speech/noxfile.py | 3 + .../google-cloud-python-speech/synth.metadata | 135 +++++++++++++++++- 2 files changed, 134 insertions(+), 4 deletions(-) diff --git a/packages/google-cloud-python-speech/noxfile.py b/packages/google-cloud-python-speech/noxfile.py index 6e69bfe0be16..72b38757056a 100644 --- a/packages/google-cloud-python-speech/noxfile.py +++ b/packages/google-cloud-python-speech/noxfile.py @@ -123,6 +123,9 @@ def system(session): # Sanity check: Only run tests if the environment variable is set. if not os.environ.get("GOOGLE_APPLICATION_CREDENTIALS", ""): session.skip("Credentials must be set via environment variable") + # Install pyopenssl for mTLS testing. + if os.environ.get("GOOGLE_API_USE_CLIENT_CERTIFICATE", "false") == "true": + session.install("pyopenssl") system_test_exists = os.path.exists(system_test_path) system_test_folder_exists = os.path.exists(system_test_folder_path) diff --git a/packages/google-cloud-python-speech/synth.metadata b/packages/google-cloud-python-speech/synth.metadata index 0f42177c71e4..55dc8f50a90b 100644 --- a/packages/google-cloud-python-speech/synth.metadata +++ b/packages/google-cloud-python-speech/synth.metadata @@ -3,8 +3,8 @@ { "git": { "name": ".", - "remote": "git@github.com:googleapis/python-speech", - "sha": "d06460152ea96b33006c0441227647f03b688862" + "remote": "https://github.com/googleapis/python-speech.git", + "sha": "6d7ea1e8869e3d800220f1261b8be1d0c91c66d8" } }, { @@ -19,14 +19,14 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "8c5628b86cfa8386de7b8fc1675e6b528b552d57" + "sha": "0780323da96d5a53925fe0547757181fe76e8f1e" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "8c5628b86cfa8386de7b8fc1675e6b528b552d57" + "sha": "0780323da96d5a53925fe0547757181fe76e8f1e" } } ], @@ -49,5 +49,132 @@ "generator": "bazel" } } + ], + "generatedFiles": [ + ".coveragerc", + ".flake8", + ".github/CONTRIBUTING.md", + ".github/ISSUE_TEMPLATE/bug_report.md", + ".github/ISSUE_TEMPLATE/feature_request.md", + ".github/ISSUE_TEMPLATE/support_request.md", + ".github/PULL_REQUEST_TEMPLATE.md", + ".github/header-checker-lint.yml", + ".github/release-please.yml", + ".github/snippet-bot.yml", + ".gitignore", + ".kokoro/build.sh", + ".kokoro/continuous/common.cfg", + ".kokoro/continuous/continuous.cfg", + ".kokoro/docker/docs/Dockerfile", + ".kokoro/docker/docs/fetch_gpg_keys.sh", + ".kokoro/docs/common.cfg", + ".kokoro/docs/docs-presubmit.cfg", + ".kokoro/docs/docs.cfg", + ".kokoro/populate-secrets.sh", + ".kokoro/presubmit/common.cfg", + ".kokoro/presubmit/presubmit.cfg", + ".kokoro/publish-docs.sh", + ".kokoro/release.sh", + ".kokoro/release/common.cfg", + ".kokoro/release/release.cfg", + ".kokoro/samples/lint/common.cfg", + ".kokoro/samples/lint/continuous.cfg", + ".kokoro/samples/lint/periodic.cfg", + ".kokoro/samples/lint/presubmit.cfg", + ".kokoro/samples/python3.6/common.cfg", + ".kokoro/samples/python3.6/continuous.cfg", + ".kokoro/samples/python3.6/periodic.cfg", + ".kokoro/samples/python3.6/presubmit.cfg", + ".kokoro/samples/python3.7/common.cfg", + ".kokoro/samples/python3.7/continuous.cfg", + ".kokoro/samples/python3.7/periodic.cfg", + ".kokoro/samples/python3.7/presubmit.cfg", + ".kokoro/samples/python3.8/common.cfg", + ".kokoro/samples/python3.8/continuous.cfg", + ".kokoro/samples/python3.8/periodic.cfg", + ".kokoro/samples/python3.8/presubmit.cfg", + ".kokoro/test-samples.sh", + ".kokoro/trampoline.sh", + ".kokoro/trampoline_v2.sh", + ".pre-commit-config.yaml", + ".trampolinerc", + "CODE_OF_CONDUCT.md", + "CONTRIBUTING.rst", + "LICENSE", + "MANIFEST.in", + "docs/_static/custom.css", + "docs/_templates/layout.html", + "docs/conf.py", + "docs/multiprocessing.rst", + "docs/speech_v1/services.rst", + "docs/speech_v1/speech.rst", + "docs/speech_v1/types.rst", + "docs/speech_v1p1beta1/adaptation.rst", + "docs/speech_v1p1beta1/services.rst", + "docs/speech_v1p1beta1/speech.rst", + "docs/speech_v1p1beta1/types.rst", + "google/cloud/speech/__init__.py", + "google/cloud/speech/py.typed", + "google/cloud/speech_v1/__init__.py", + "google/cloud/speech_v1/proto/cloud_speech.proto", + "google/cloud/speech_v1/py.typed", + "google/cloud/speech_v1/services/__init__.py", + "google/cloud/speech_v1/services/speech/__init__.py", + "google/cloud/speech_v1/services/speech/async_client.py", + "google/cloud/speech_v1/services/speech/client.py", + "google/cloud/speech_v1/services/speech/transports/__init__.py", + "google/cloud/speech_v1/services/speech/transports/base.py", + "google/cloud/speech_v1/services/speech/transports/grpc.py", + "google/cloud/speech_v1/services/speech/transports/grpc_asyncio.py", + "google/cloud/speech_v1/types/__init__.py", + "google/cloud/speech_v1/types/cloud_speech.py", + "google/cloud/speech_v1p1beta1/__init__.py", + "google/cloud/speech_v1p1beta1/proto/cloud_speech.proto", + "google/cloud/speech_v1p1beta1/proto/cloud_speech_adaptation.proto", + "google/cloud/speech_v1p1beta1/proto/resource.proto", + "google/cloud/speech_v1p1beta1/py.typed", + "google/cloud/speech_v1p1beta1/services/__init__.py", + "google/cloud/speech_v1p1beta1/services/adaptation/__init__.py", + "google/cloud/speech_v1p1beta1/services/adaptation/async_client.py", + "google/cloud/speech_v1p1beta1/services/adaptation/client.py", + "google/cloud/speech_v1p1beta1/services/adaptation/pagers.py", + "google/cloud/speech_v1p1beta1/services/adaptation/transports/__init__.py", + "google/cloud/speech_v1p1beta1/services/adaptation/transports/base.py", + "google/cloud/speech_v1p1beta1/services/adaptation/transports/grpc.py", + "google/cloud/speech_v1p1beta1/services/adaptation/transports/grpc_asyncio.py", + "google/cloud/speech_v1p1beta1/services/speech/__init__.py", + "google/cloud/speech_v1p1beta1/services/speech/async_client.py", + "google/cloud/speech_v1p1beta1/services/speech/client.py", + "google/cloud/speech_v1p1beta1/services/speech/transports/__init__.py", + "google/cloud/speech_v1p1beta1/services/speech/transports/base.py", + "google/cloud/speech_v1p1beta1/services/speech/transports/grpc.py", + "google/cloud/speech_v1p1beta1/services/speech/transports/grpc_asyncio.py", + "google/cloud/speech_v1p1beta1/types/__init__.py", + "google/cloud/speech_v1p1beta1/types/cloud_speech.py", + "google/cloud/speech_v1p1beta1/types/cloud_speech_adaptation.py", + "google/cloud/speech_v1p1beta1/types/resource.py", + "mypy.ini", + "noxfile.py", + "renovate.json", + "samples/AUTHORING_GUIDE.md", + "samples/CONTRIBUTING.md", + "samples/microphone/noxfile.py", + "samples/snippets/noxfile.py", + "scripts/decrypt-secrets.sh", + "scripts/fixup_speech_v1_keywords.py", + "scripts/fixup_speech_v1p1beta1_keywords.py", + "scripts/readme-gen/readme_gen.py", + "scripts/readme-gen/templates/README.tmpl.rst", + "scripts/readme-gen/templates/auth.tmpl.rst", + "scripts/readme-gen/templates/auth_api_key.tmpl.rst", + "scripts/readme-gen/templates/install_deps.tmpl.rst", + "scripts/readme-gen/templates/install_portaudio.tmpl.rst", + "setup.cfg", + "testing/.gitignore", + "tests/unit/gapic/speech_v1/__init__.py", + "tests/unit/gapic/speech_v1/test_speech.py", + "tests/unit/gapic/speech_v1p1beta1/__init__.py", + "tests/unit/gapic/speech_v1p1beta1/test_adaptation.py", + "tests/unit/gapic/speech_v1p1beta1/test_speech.py" ] } \ No newline at end of file