* [kbn/ui-shared-deps] split into two packages * fix asset categorizer * update snapshots * reference npm dll from optimizer Co-authored-by: spalger <spalger@users.noreply.github.com> # Conflicts: # .github/CODEOWNERS # src/plugins/interactive_setup/public/single_chars_field.tsx # test/scripts/jenkins_build_kibana.sh
19 lines
670 B
Bash
Executable file
19 lines
670 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
if [[ ! "${DISABLE_CI_STATS_SHIPPING:-}" ]]; then
|
|
echo "--- Ship Kibana Distribution Metrics to CI Stats"
|
|
node scripts/ship_ci_stats \
|
|
--metrics target/optimizer_bundle_metrics.json \
|
|
--metrics build/kibana/node_modules/@kbn/ui-shared-deps-src/shared_built_assets/metrics.json
|
|
fi
|
|
|
|
echo "--- Upload Build Artifacts"
|
|
# Moving to `target/` first will keep `buildkite-agent` from including directories in the artifact name
|
|
cd "$KIBANA_DIR/target"
|
|
mv kibana-*-linux-x86_64.tar.gz kibana-default.tar.gz
|
|
buildkite-agent artifact upload kibana-default.tar.gz
|
|
buildkite-agent artifact upload kibana-default-plugins.tar.gz
|
|
cd -
|