cee33b004c
* chore(NA): moving @kbn/io-ts-utils into bazel
* chore(NA): moving @kbn/ui-shared-deps into bazel
* chore(NA): compelte working build for @kbn/ui-shared-deps
* chore(NA): solve eslint problems
* chore(NA): solve typechecking
* chore(NA): debugger changes
* chore(NA): update optimizer basic integration tests
* chore(NA): ship kbn/ui-shared-deps metrics.json from new location at shared_built_assets
* chore(NA): use correct ui-shared-deps metrics file location
* chore(NA): remove webpack bazel config
* chore(NA): implement improvements on webpack config
* chore(NA): remove extra comment
* chore(NA): try esbuild-loader minimizer
* Revert "chore(NA): try esbuild-loader minimizer"
This reverts commit bffc49aaae
.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
18 lines
653 B
Bash
Executable file
18 lines
653 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 node_modules/@kbn/ui-shared-deps/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 -
|