23 lines
555 B
Bash
Executable file
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
|