16 lines
463 B
Bash
Executable file
16 lines
463 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
export KBN_NP_PLUGINS_BUILT=true
|
|
|
|
echo "--- Build Kibana Distribution"
|
|
node scripts/build --debug --no-oss
|
|
|
|
echo "--- Archive Kibana Distribution"
|
|
linuxBuild="$(find "$KIBANA_DIR/target" -name 'kibana-*-linux-x86_64.tar.gz')"
|
|
installDir="$KIBANA_DIR/install/kibana"
|
|
mkdir -p "$installDir"
|
|
tar -xzf "$linuxBuild" -C "$installDir" --strip=1
|
|
mkdir -p "$KIBANA_BUILD_LOCATION"
|
|
cp -pR install/kibana/. "$KIBANA_BUILD_LOCATION/"
|