diff options
author | Brad Burlage <brb@google.com> | 2020-01-23 10:58:18 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-01-23 11:01:38 -0800 |
commit | 98e83c444fa58669d45ecf162cf4bf48dce790d1 (patch) | |
tree | 99ba663a586576133be1e8b662318a6978b00914 /scripts | |
parent | 04e3d56db1d8dee9f4fae51718dbef33559c4101 (diff) |
Try running kythe build on RBE.
Also add our RBE project/instance to the --config=remote defaults.
PiperOrigin-RevId: 291201426
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/common_bazel.sh | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/scripts/common_bazel.sh b/scripts/common_bazel.sh index bbc1a038e..a473a88a4 100755 --- a/scripts/common_bazel.sh +++ b/scripts/common_bazel.sh @@ -32,18 +32,11 @@ declare -r BAZEL_FLAGS=( "--keep_going" "--verbose_failures=true" ) -if [[ -v KOKORO_BAZEL_AUTH_CREDENTIAL ]] || [[ -v RBE_PROJECT_ID ]]; then - declare -r RBE_PROJECT_ID="${RBE_PROJECT_ID:-gvisor-rbe}" - declare -r BAZEL_RBE_FLAGS=( - "--config=remote" - "--project_id=${RBE_PROJECT_ID}" - "--remote_instance_name=projects/${RBE_PROJECT_ID}/instances/default_instance" - ) -fi if [[ -v KOKORO_BAZEL_AUTH_CREDENTIAL ]]; then declare -r BAZEL_RBE_AUTH_FLAGS=( "--auth_credentials=${KOKORO_BAZEL_AUTH_CREDENTIAL}" ) + declare -r BAZEL_RBE_FLAGS=("--config=remote") fi # Wrap bazel. |