mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
* Remove buildbuddy cache * Update .buildkite/scripts/steps/on_merge_ts_refs_api_docs.sh * Update .buildkite/scripts/common/setup_bazel.sh
This commit is contained in:
parent
3baf89990e
commit
c0986fc04e
4 changed files with 2 additions and 20 deletions
|
@ -33,18 +33,7 @@ cat <<EOF >> $KIBANA_DIR/.bazelrc
|
|||
EOF
|
||||
fi
|
||||
|
||||
if [[ "$BAZEL_CACHE_MODE" == "buildbuddy" ]]; then
|
||||
echo "[bazel] enabling caching with Buildbuddy"
|
||||
cat <<EOF >> $KIBANA_DIR/.bazelrc
|
||||
build --bes_results_url=https://app.buildbuddy.io/invocation/
|
||||
build --bes_backend=grpcs://remote.buildbuddy.io
|
||||
build --remote_cache=grpcs://remote.buildbuddy.io
|
||||
build --remote_timeout=3600
|
||||
build --remote_header=x-buildbuddy-api-key=$KIBANA_BUILDBUDDY_CI_API_KEY
|
||||
EOF
|
||||
fi
|
||||
|
||||
if [[ "$BAZEL_CACHE_MODE" != @(gcs|buildbuddy|none|) ]]; then
|
||||
echo "invalid value for BAZEL_CACHE_MODE received ($BAZEL_CACHE_MODE), expected one of [gcs,buildbuddy,none]"
|
||||
if [[ "$BAZEL_CACHE_MODE" != @(gcs|none|) ]]; then
|
||||
echo "invalid value for BAZEL_CACHE_MODE received ($BAZEL_CACHE_MODE), expected one of [gcs,none]"
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
@ -108,9 +108,6 @@ export KIBANA_CI_REPORTER_KEY
|
|||
export TEST_FAILURES_ES_PASSWORD
|
||||
}
|
||||
|
||||
KIBANA_BUILDBUDDY_CI_API_KEY=$(retry 5 5 vault read -field=value secret/kibana-issues/dev/kibana-buildbuddy-ci-api-key)
|
||||
export KIBANA_BUILDBUDDY_CI_API_KEY
|
||||
|
||||
# By default, all steps should set up these things to get a full environment before running
|
||||
# It can be skipped for pipeline upload steps though, to make job start time a little faster
|
||||
if [[ "${SKIP_CI_SETUP:-}" != "true" ]]; then
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
set -euo pipefail
|
||||
|
||||
export BAZEL_CACHE_MODE=buildbuddy # Populate Buildbuddy bazel remote cache for linux
|
||||
export BUILD_TS_REFS_CACHE_ENABLE=true
|
||||
export BUILD_TS_REFS_CACHE_CAPTURE=true
|
||||
export DISABLE_BOOTSTRAP_VALIDATION=true
|
||||
|
|
|
@ -34,9 +34,6 @@ else
|
|||
PERCY_TOKEN=$(retry 5 vault read -field=value secret/kibana-issues/dev/percy)
|
||||
export PERCY_TOKEN
|
||||
|
||||
KIBANA_BUILDBUDDY_CI_API_KEY=$(retry 5 vault read -field=value secret/kibana-issues/dev/kibana-buildbuddy-ci-api-key)
|
||||
export KIBANA_BUILDBUDDY_CI_API_KEY
|
||||
|
||||
# remove vault related secrets
|
||||
unset VAULT_ROLE_ID VAULT_SECRET_ID VAULT_TOKEN VAULT_ADDR
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue