summaryrefslogtreecommitdiffhomepage
path: root/kokoro/common.cfg
blob: f6776ae8483b6a5df370889732091463c1c21110 (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
# Give Kokoro access to Remote Build Executor (RBE) service account key.
before_action {
  fetch_keystore {
    keystore_resource {
      keystore_config_id: 73898
      keyname: "kokoro-rbe-service-account"
    }
  }
}

# Configure bazel to access RBE.
bazel_setting {
  # Our GCP project name
  project_id: "copybara-shentu"

  # Use RBE for execution as well as caching.
  local_execution: false

  # This must match the values in the job config.
  auth_credential: {
    keystore_config_id: 73898
    keyname: "kokoro-rbe-service-account"
  }

  # Do not change unless you know what you are doing.
  bes_backend_address: "buildeventservice.googleapis.com"
  foundry_backend_address: "remotebuildexecution.googleapis.com"
  upsalite_frontend_address: "https://source.cloud.google.com"
}