Skip to content

Commit

Permalink
build(python): use release-publish app for notifying GitHub of releas… (
Browse files Browse the repository at this point in the history
#758)

* build(python): use release-publish app for notifying GitHub of release status

* fix: re-add pypi password
  • Loading branch information
busunkim96 committed Sep 16, 2020
1 parent fdd03c1 commit 257fda1
Showing 1 changed file with 13 additions and 37 deletions.
50 changes: 13 additions & 37 deletions synthtool/gcp/templates/python_library/.kokoro/release/common.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,42 +23,18 @@ env_vars: {
value: "github/{{ metadata['repo']['repo'].split('/')[1] }}/.kokoro/release.sh"
}

# Fetch the token needed for reporting release status to GitHub
before_action {
fetch_keystore {
keystore_resource {
keystore_config_id: 73713
keyname: "yoshi-automation-github-key"
}
}
}

# Fetch PyPI password
before_action {
fetch_keystore {
keystore_resource {
keystore_config_id: 73713
keyname: "google_cloud_pypi_password"
}
}
}

# Fetch magictoken to use with Magic Github Proxy
before_action {
fetch_keystore {
keystore_resource {
keystore_config_id: 73713
keyname: "releasetool-magictoken"
}
}
# Fetch PyPI password
before_action {
fetch_keystore {
keystore_resource {
keystore_config_id: 73713
keyname: "google_cloud_pypi_password"
}
}
}

# Fetch api key to use with Magic Github Proxy
before_action {
fetch_keystore {
keystore_resource {
keystore_config_id: 73713
keyname: "magic-github-proxy-api-key"
}
}
}
# 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"
}

0 comments on commit 257fda1

Please sign in to comment.