File tree 2 files changed +11
-7
lines changed
2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ python3 -m pip install --upgrade twine wheel setuptools
22
22
export PYTHONUNBUFFERED=1
23
23
24
24
# Move into the package, build the distribution and upload.
25
- TWINE_PASSWORD=$( cat " ${KOKORO_GFILE_DIR} /secret_manager/google -cloud-pypi-token" )
25
+ TWINE_PASSWORD=$( cat " ${KOKORO_KEYSTORE_DIR} /73713_google -cloud-pypi-token-keystore-1 " )
26
26
cd github/cloud-sql-python-connector
27
27
python3 setup.py sdist bdist_wheel
28
- twine upload --username __token__ --password " ${TWINE_PASSWORD} " dist/*
28
+ twine upload --username __token__ --password " ${TWINE_PASSWORD} " dist/*
Original file line number Diff line number Diff line change @@ -36,8 +36,12 @@ env_vars: {
36
36
value: " github/cloud-sql-python-connector/.kokoro/release.sh"
37
37
}
38
38
39
- # Tokens needed to report release status back to GitHub
40
- env_vars: {
41
- key: " SECRET_MANAGER_KEYS"
42
- value: " google-cloud-pypi-token"
43
- }
39
+ # Fetch PyPI password
40
+ before_action {
41
+ fetch_keystore {
42
+ keystore_resource {
43
+ keystore_config_id: 73713
44
+ keyname: " google-cloud-pypi-token-keystore-1"
45
+ }
46
+ }
47
+ }
You can’t perform that action at this time.
0 commit comments