File tree Expand file tree Collapse file tree 2 files changed +7
-31
lines changed
Expand file tree Collapse file tree 2 files changed +7
-31
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ python3 -m pip install --upgrade twine wheel setuptools
2626export PYTHONUNBUFFERED=1
2727
2828# Move into the package, build the distribution and upload.
29- TWINE_PASSWORD=$( cat " ${KOKORO_KEYSTORE_DIR} /73713_google_cloud_pypi_password " )
29+ TWINE_PASSWORD=$( cat " ${KOKORO_KEYSTORE_DIR} /73713_google-cloud-pypi-token-keystore-1 " )
3030cd github/python-bigquery
3131python3 setup.py sdist bdist_wheel
32- twine upload --username gcloudpypi --password " ${TWINE_PASSWORD} " dist/*
32+ twine upload --username __token__ --password " ${TWINE_PASSWORD} " dist/*
Original file line number Diff line number Diff line change @@ -23,42 +23,18 @@ env_vars: {
2323 value: " github/python-bigquery/.kokoro/release.sh"
2424}
2525
26- # Fetch the token needed for reporting release status to GitHub
27- before_action {
28- fetch_keystore {
29- keystore_resource {
30- keystore_config_id: 73713
31- keyname: " yoshi-automation-github-key"
32- }
33- }
34- }
35-
3626# Fetch PyPI password
3727before_action {
3828 fetch_keystore {
3929 keystore_resource {
4030 keystore_config_id: 73713
41- keyname: " google_cloud_pypi_password "
31+ keyname: " google-cloud-pypi-token-keystore-1 "
4232 }
4333 }
4434}
4535
46- # Fetch magictoken to use with Magic Github Proxy
47- before_action {
48- fetch_keystore {
49- keystore_resource {
50- keystore_config_id: 73713
51- keyname: " releasetool-magictoken"
52- }
53- }
54- }
55-
56- # Fetch api key to use with Magic Github Proxy
57- before_action {
58- fetch_keystore {
59- keystore_resource {
60- keystore_config_id: 73713
61- keyname: " magic-github-proxy-api-key"
62- }
63- }
36+ # Tokens needed to report release status back to GitHub
37+ env_vars: {
38+ key: " SECRET_MANAGER_KEYS"
39+ value: " releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem"
6440}
You can’t perform that action at this time.
0 commit comments