diff options
author | Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> | 2020-02-19 17:58:47 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-20 01:58:47 +0000 |
commit | e72202efcad6bce18ef252e57d35e97d622ab5e0 (patch) | |
tree | b50a430fb69280d279e6ceef06f98d876a098002 /.kokoro/release/common.cfg | |
parent | 2b103b60ece16a1e1bc98cfda7ec375191a90f75 (diff) | |
download | python-api-core-e72202efcad6bce18ef252e57d35e97d622ab5e0.tar.gz |
chore: add split repo templates (#2)
* chore: add split repo templates
* chore: remove blacken
Diffstat (limited to '.kokoro/release/common.cfg')
-rw-r--r-- | .kokoro/release/common.cfg | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/.kokoro/release/common.cfg b/.kokoro/release/common.cfg new file mode 100644 index 0000000..dbe45a6 --- /dev/null +++ b/.kokoro/release/common.cfg @@ -0,0 +1,64 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + } +} + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "python-api-core/.kokoro/trampoline.sh" + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/python-multi" +} +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/python-api-core/.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 api key to use with Magic Github Proxy +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "magic-github-proxy-api-key" + } + } +} |