diff options
author | Tres Seaver <tseaver@palladion.com> | 2020-10-06 15:47:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-06 15:47:28 -0400 |
commit | 000d0a04b6c539aa6a6aae0a487665341be484c4 (patch) | |
tree | 78211580b2db2eb2192c2d8380dd6171175603af /.kokoro/docs/common.cfg | |
parent | db8e636f545a8872f959e3f403cfec30ffed6c34 (diff) | |
download | python-api-core-000d0a04b6c539aa6a6aae0a487665341be484c4.tar.gz |
chore: preserve 'pytype' artifacts during synth (#90)
* chore: use '.pytype' vs. 'pytype_output' for pytype cache
* chore: add snippet-bot to CI (via synth)
* chore: drop obsolete warning about editable installs
* chore: add secrets manager, docs-presubmit to CI (via synth)
* chore: manual synth
Closes: #66.
Closes: #56.
Diffstat (limited to '.kokoro/docs/common.cfg')
-rw-r--r-- | .kokoro/docs/common.cfg | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/.kokoro/docs/common.cfg b/.kokoro/docs/common.cfg index 3a5cabd..1aca89f 100644 --- a/.kokoro/docs/common.cfg +++ b/.kokoro/docs/common.cfg @@ -11,12 +11,12 @@ action { gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" # Use the trampoline script to run in docker. -build_file: "python-api-core/.kokoro/trampoline.sh" +build_file: "python-api-core/.kokoro/trampoline_v2.sh" # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/python-multi" + value: "gcr.io/cloud-devrel-kokoro-resources/python-lib-docs" } env_vars: { key: "TRAMPOLINE_BUILD_FILE" @@ -28,6 +28,23 @@ env_vars: { value: "docs-staging" } +env_vars: { + key: "V2_STAGING_BUCKET" + value: "docs-staging-v2-staging" +} + +# It will upload the docker image after successful builds. +env_vars: { + key: "TRAMPOLINE_IMAGE_UPLOAD" + value: "true" +} + +# It will always build the docker image. +env_vars: { + key: "TRAMPOLINE_DOCKERFILE" + value: ".kokoro/docker/docs/Dockerfile" +} + # Fetch the token needed for reporting release status to GitHub before_action { fetch_keystore { |