mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
This commit is contained in:
parent
28bf592e6c
commit
7c25f33b5e
2 changed files with 7 additions and 4 deletions
|
@ -5,7 +5,11 @@ set -euo pipefail
|
|||
export KBN_NP_PLUGINS_BUILT=true
|
||||
|
||||
echo "--- Build Kibana Distribution"
|
||||
node scripts/build --debug
|
||||
if [[ "${GITHUB_PR_LABELS:-}" == *"ci:build-all-platforms"* ]]; then
|
||||
node scripts/build --all-platforms --skip-os-packages
|
||||
else
|
||||
node scripts/build
|
||||
fi
|
||||
|
||||
echo "--- Archive Kibana Distribution"
|
||||
linuxBuild="$(find "$KIBANA_DIR/target" -name 'kibana-*-linux-x86_64.tar.gz')"
|
||||
|
|
|
@ -12,7 +12,6 @@ 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
|
||||
cp kibana-*-linux-x86_64.tar.gz kibana-default.tar.gz
|
||||
buildkite-agent artifact upload "./*.tar.gz;./*.zip"
|
||||
cd -
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue