mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Use the appropriate remote configuration.
PiperOrigin-RevId: 323646156
This commit is contained in:
committed by
gVisor bot
parent
8518800090
commit
7881610a3f
@@ -23,10 +23,16 @@ build --stamp --workspace_status_command tools/workspace_status.sh
|
||||
|
||||
# Enable remote execution so actions are performed on the remote systems.
|
||||
build:remote --remote_executor=grpcs://remotebuildexecution.googleapis.com
|
||||
build:remote --bes_backend=buildeventservice.googleapis.com
|
||||
build:remote --bes_results_url="https://source.cloud.google.com/results/invocations"
|
||||
build:remote --bes_timeout=600s
|
||||
build:remote --project_id=gvisor-rbe
|
||||
build:remote --remote_instance_name=projects/gvisor-rbe/instances/default_instance
|
||||
build:remote3 --remote_executor=grpcs://remotebuildexecution.googleapis.com
|
||||
build:remote3 --project_id=gvisor-rbe
|
||||
build:remote3 --bes_backend=buildeventservice.googleapis.com
|
||||
build:remote3 --bes_results_url="https://source.cloud.google.com/results/invocations"
|
||||
build:remote3 --bes_timeout=600s
|
||||
build:remote3 --remote_instance_name=projects/gvisor-rbe/instances/default_instance
|
||||
|
||||
# Enable authentication. This will pick up application default credentials by
|
||||
|
||||
@@ -31,9 +31,9 @@ declare -a BAZEL_FLAGS=(
|
||||
"--keep_going"
|
||||
"--verbose_failures=true"
|
||||
)
|
||||
if [[ -v KOKORO_BAZEL_AUTH_CREDENTIAL ]]; then
|
||||
# If running via kokoro, use the remote config.
|
||||
if [[ -v KOKORO_ARTIFACTS_DIR ]]; then
|
||||
BAZEL_FLAGS+=(
|
||||
"--auth_credentials=${KOKORO_BAZEL_AUTH_CREDENTIAL}"
|
||||
"--config=remote"
|
||||
)
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user