diff options
author | Anthonios Partheniou <partheniou@google.com> | 2021-04-23 11:14:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-23 15:14:04 +0000 |
commit | acb04b4bce4fdab3e2f5a8dd7f80fdc347ad2bf4 (patch) | |
tree | df8b11f165d560e83694bd7269199d9d0ea4245a /.kokoro | |
parent | ed092271ab94c7ef53c40ce8e73ca2c48e97159c (diff) | |
download | python-api-core-acb04b4bce4fdab3e2f5a8dd7f80fdc347ad2bf4.tar.gz |
chore: migrate to owl bot (#173)
Diffstat (limited to '.kokoro')
-rwxr-xr-x | .kokoro/release.sh | 4 | ||||
-rw-r--r-- | .kokoro/release/common.cfg | 14 |
2 files changed, 4 insertions, 14 deletions
diff --git a/.kokoro/release.sh b/.kokoro/release.sh index 929c782..0728ce1 100755 --- a/.kokoro/release.sh +++ b/.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-api-core 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/.kokoro/release/common.cfg b/.kokoro/release/common.cfg index 4a949c6..586e764 100644 --- a/.kokoro/release/common.cfg +++ b/.kokoro/release/common.cfg @@ -23,18 +23,8 @@ env_vars: { value: "github/python-api-core/.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" +} |