From 104abe04badbd23554a0bff6aedeca916da210cb Mon Sep 17 00:00:00 2001 From: Joey Perrott Date: Fri, 12 Jun 2020 14:11:39 -0500 Subject: [PATCH] ci: upload build results to ResultStore for CI linux bazel executions (#37560) Bazel invocations will upload to ResultStore to allow for us to have better viewing of execution/build logs. This is only done on CI as the BES API requires credentials from service accounts, rather than end user accounts. PR Close #37560 --- .circleci/bazel.linux.rc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.circleci/bazel.linux.rc b/.circleci/bazel.linux.rc index afb8fd47f1..9ecef0e1c6 100644 --- a/.circleci/bazel.linux.rc +++ b/.circleci/bazel.linux.rc @@ -19,4 +19,12 @@ build --local_ram_resources=14336 # All build executed remotely should be done using our RBE configuration. build:remote --google_default_credentials + +# Upload to GCP's Build Status viewer to allow for us to have better viewing of execution/build +# logs. This is only done on CI as the BES (GCP's Build Status viewer) API requires credentials +# from service accounts, rather than end user accounts. +build:remote --bes_backend=buildeventservice.googleapis.com +build:remote --bes_timeout=30s +build:remote --bes_results_url="https://source.cloud.google.com/results/invocations/" + build --config=remote