summaryrefslogtreecommitdiffhomepage
path: root/scripts/common_bazel.sh
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2020-01-24 10:42:43 -0800
committerKevin Krakauer <krakauer@google.com>2020-01-24 10:42:43 -0800
commit7636478a316692328097c9e70d38ff878539afb3 (patch)
tree637787744e7f6a10bb4a5acb926447d451cb500f /scripts/common_bazel.sh
parentb7853f688b4bcd3465c0c3087fcbd8d53bdf26ae (diff)
parent3db317390b5cc491d680fc4a5fc7b8372890b4da (diff)
Merge branch 'master' into ipt-udp-matchers
Diffstat (limited to 'scripts/common_bazel.sh')
-rwxr-xr-xscripts/common_bazel.sh9
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.