aboutsummaryrefslogtreecommitdiff
path: root/.kokoro/release/common.cfg
blob: 4a949c6925d3ea25c9e12fc9aa65e4860c1fd80f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# 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 PyPI password	
before_action {	
  fetch_keystore {	
    keystore_resource {	
      keystore_config_id: 73713	
      keyname: "google_cloud_pypi_password"	
    }	
  }	
}

# 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"
}