From d3e1a889a15b8c17f89b91fce1867642e95386f9 Mon Sep 17 00:00:00 2001 From: Brian Seeders Date: Tue, 3 May 2022 12:44:37 -0400 Subject: [PATCH] Try gcs bucket --- .buildkite/pipelines/pull_request/base.yml | 19 +++++++++++++------ .buildkite/scripts/bootstrap.sh | 6 ++++-- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/.buildkite/pipelines/pull_request/base.yml b/.buildkite/pipelines/pull_request/base.yml index 3d9711df93677..e623fae6d7cec 100644 --- a/.buildkite/pipelines/pull_request/base.yml +++ b/.buildkite/pipelines/pull_request/base.yml @@ -1,11 +1,18 @@ steps: - # - command: .buildkite/scripts/steps/bazel_cache/test_clean.sh - # label: Initial bootstrap with no local cache - # timeout_in_minutes: 20 - # agents: - # queue: n2-4-spot + - command: .buildkite/scripts/steps/bazel_cache/test_clean.sh + label: Initial bootstrap with no local cache + timeout_in_minutes: 20 + agents: + queue: n2-4-spot + + - wait - # - wait + - command: .buildkite/scripts/steps/bazel_cache/test.sh + label: Bootstrap with disk cache + timeout_in_minutes: 20 + parallelism: 100 + agents: + queue: n2-4-spot - command: .buildkite/scripts/steps/bazel_cache/test_clean.sh label: Bootstrap with no disk cache diff --git a/.buildkite/scripts/bootstrap.sh b/.buildkite/scripts/bootstrap.sh index 24d62c2ed0143..ceb7e623749cd 100755 --- a/.buildkite/scripts/bootstrap.sh +++ b/.buildkite/scripts/bootstrap.sh @@ -9,8 +9,10 @@ REMOTE_CACHE_PASSWORD="$(retry 5 5 vault read -field=password secret/kibana-issu cat << EOF > .bazelrc import %workspace%/.bazelrc.common -build --remote_cache=grpc://test:${REMOTE_CACHE_PASSWORD}@34.121.74.141:9092 -build --experimental_remote_cache_compression +#build --remote_cache=grpc://test:${REMOTE_CACHE_PASSWORD}@34.121.74.141:9092 +#build --experimental_remote_cache_compression +build --remote_cache=https://storage.googleapis.com/kibana_ci_bazel_remote_cache +build --google_default_credentials EOF echo "--- yarn install and bootstrap"