kibana/.buildkite/scripts/bootstrap.sh
Tyler Smalley 9850414b92
[ci] Removes all verbose flags (#110842)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-01 12:05:28 -07:00

23 lines
555 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
source .buildkite/scripts/common/util.sh
echo "--- yarn install and bootstrap"
yarn kbn bootstrap
###
### upload ts-refs-cache artifacts as quickly as possible so they are available for download
###
if [[ "${BUILD_TS_REFS_CACHE_CAPTURE:-}" == "true" ]]; then
echo "--- Upload ts-refs-cache"
cd "$KIBANA_DIR/target/ts_refs_cache"
gsutil cp "*.zip" 'gs://kibana-ci-ts-refs-cache/'
cd "$KIBANA_DIR"
fi
if [[ "$DISABLE_BOOTSTRAP_VALIDATION" != "true" ]]; then
verify_no_git_changes 'yarn kbn bootstrap'
fi