d1f4e25e15
**Background:** This is a follow-up to the PR that adds sphinx docs. Googleapis.dev hosts client library documentation for several languages as well as documentation for core packages such as google-api-core. It is owned and maintained by the Cloud DevRel Core team. **About this change:** The `kokoro/docs/publish-python.sh` script builds the docs with sphinx, then uses the [googleapis/docuploader](https://github.com/googleapis/docuploader) tool to publish to googleapis.dev. The publish script is triggered manually with a Kokoro RELEASE type job. Googlers, see go link protobuf-docs-python-design for additional internal references.
45 lines
935 B
INI
45 lines
935 B
INI
# 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: "protobuf/kokoro/docs/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: "STAGING_BUCKET"
|
|
value: "docs-staging"
|
|
}
|
|
|
|
# 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"
|
|
}
|
|
}
|
|
}
|
|
|
|
before_action {
|
|
fetch_keystore {
|
|
keystore_resource {
|
|
keystore_config_id: 73713
|
|
keyname: "docuploader_service_account"
|
|
}
|
|
}
|
|
}
|