From 5dd0d25c0d2a9f5eb5e0d37fea70da58a18486a1 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 16 Apr 2021 16:26:05 -0700 Subject: [PATCH] chore: update templates (#66) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/e0804924-dc62-46a8-9754-d4c5ab9a96a5/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/043cc620d6a6111816d9e09f2a97208565fde958 Source-Link: https://github.com/googleapis/synthtool/commit/721339ab60a6eb63b889978b3d9b295dcb3be370 --- .../.kokoro/release.sh | 4 ++-- .../.kokoro/release/common.cfg | 14 ++------------ .../docs/_static/custom.css | 13 ++++++++++++- .../google-cloud-access-approval/synth.metadata | 6 +++--- 4 files changed, 19 insertions(+), 18 deletions(-) diff --git a/packages/google-cloud-access-approval/.kokoro/release.sh b/packages/google-cloud-access-approval/.kokoro/release.sh index f5e346dcea3d..b2b9edc9e124 100755 --- a/packages/google-cloud-access-approval/.kokoro/release.sh +++ b/packages/google-cloud-access-approval/.kokoro/release.sh @@ -26,7 +26,7 @@ python3 -m pip install --upgrade twine wheel setuptools export PYTHONUNBUFFERED=1 # Move into the package, build the distribution and upload. -TWINE_PASSWORD=$(cat "${KOKORO_KEYSTORE_DIR}/73713_google_cloud_pypi_password") +TWINE_PASSWORD=$(cat "${KOKORO_GFILE_DIR}/secret_manager/google-cloud-pypi-token") cd github/python-access-approval python3 setup.py sdist bdist_wheel -twine upload --username gcloudpypi --password "${TWINE_PASSWORD}" dist/* +twine upload --username __token__ --password "${TWINE_PASSWORD}" dist/* diff --git a/packages/google-cloud-access-approval/.kokoro/release/common.cfg b/packages/google-cloud-access-approval/.kokoro/release/common.cfg index 925df836b635..d94b7b53f0bd 100644 --- a/packages/google-cloud-access-approval/.kokoro/release/common.cfg +++ b/packages/google-cloud-access-approval/.kokoro/release/common.cfg @@ -23,18 +23,8 @@ env_vars: { value: "github/python-access-approval/.kokoro/release.sh" } -# Fetch PyPI password -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "google_cloud_pypi_password" - } - } -} - # Tokens needed to report release status back to GitHub env_vars: { key: "SECRET_MANAGER_KEYS" - value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem" -} \ No newline at end of file + value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem,google-cloud-pypi-token" +} diff --git a/packages/google-cloud-access-approval/docs/_static/custom.css b/packages/google-cloud-access-approval/docs/_static/custom.css index bcd37bbd3c4a..b0a295464b23 100644 --- a/packages/google-cloud-access-approval/docs/_static/custom.css +++ b/packages/google-cloud-access-approval/docs/_static/custom.css @@ -1,9 +1,20 @@ div#python2-eol { border-color: red; border-width: medium; -} +} /* Ensure minimum width for 'Parameters' / 'Returns' column */ dl.field-list > dt { min-width: 100px } + +/* Insert space between methods for readability */ +dl.method { + padding-top: 10px; + padding-bottom: 10px +} + +/* Insert empty space between classes */ +dl.class { + padding-bottom: 50px +} diff --git a/packages/google-cloud-access-approval/synth.metadata b/packages/google-cloud-access-approval/synth.metadata index a576d911f7a7..a294090f2376 100644 --- a/packages/google-cloud-access-approval/synth.metadata +++ b/packages/google-cloud-access-approval/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/python-access-approval.git", - "sha": "e6c71f9d7f45d7d23eab1d252b757d1454bd33f6" + "sha": "0a9805dab0a528ea8de190bef90f502ac69768a2" } }, { @@ -19,14 +19,14 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "0a071b3460344886297a304253bf924aa68ddb7e" + "sha": "043cc620d6a6111816d9e09f2a97208565fde958" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "0a071b3460344886297a304253bf924aa68ddb7e" + "sha": "043cc620d6a6111816d9e09f2a97208565fde958" } } ],