1# Format: //devtools/kokoro/config/proto/build.proto 2 3# Build logs will be here 4action { 5 define_artifacts { 6 regex: "**/*sponge_log.xml" 7 } 8} 9 10# Download trampoline resources. 11gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" 12 13# Use the trampoline script to run in docker. 14build_file: "google-auth-library-python/.kokoro/trampoline_v2.sh" 15 16# Configure the docker image for kokoro-trampoline. 17env_vars: { 18 key: "TRAMPOLINE_IMAGE" 19 value: "gcr.io/cloud-devrel-kokoro-resources/python-lib-docs" 20} 21env_vars: { 22 key: "TRAMPOLINE_BUILD_FILE" 23 value: "github/google-auth-library-python/.kokoro/publish-docs.sh" 24} 25 26env_vars: { 27 key: "STAGING_BUCKET" 28 value: "docs-staging" 29} 30 31env_vars: { 32 key: "V2_STAGING_BUCKET" 33 # Push non-cloud library docs to `docs-staging-v2-staging` instead of the 34 # Cloud RAD bucket `docs-staging-v2` 35 value: "docs-staging-v2-staging" 36} 37 38# It will upload the docker image after successful builds. 39env_vars: { 40 key: "TRAMPOLINE_IMAGE_UPLOAD" 41 value: "true" 42} 43 44# It will always build the docker image. 45env_vars: { 46 key: "TRAMPOLINE_DOCKERFILE" 47 value: ".kokoro/docker/docs/Dockerfile" 48} 49 50# Fetch the token needed for reporting release status to GitHub 51before_action { 52 fetch_keystore { 53 keystore_resource { 54 keystore_config_id: 73713 55 keyname: "yoshi-automation-github-key" 56 } 57 } 58} 59 60before_action { 61 fetch_keystore { 62 keystore_resource { 63 keystore_config_id: 73713 64 keyname: "docuploader_service_account" 65 } 66 } 67}