mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 18:27:59 -04:00
21 lines
746 B
Bash
Executable file
21 lines
746 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
source src/dev/ci_setup/setup_env.sh
|
|
source "$KIBANA_DIR/src/dev/ci_setup/setup_percy.sh"
|
|
|
|
echo " -> building and extracting default Kibana distributable"
|
|
cd "$KIBANA_DIR"
|
|
node scripts/build --debug --no-oss
|
|
linuxBuild="$(find "$KIBANA_DIR/target" -name 'kibana-*-linux-x86_64.tar.gz')"
|
|
installDir="$PARENT_DIR/install/kibana"
|
|
mkdir -p "$installDir"
|
|
tar -xzf "$linuxBuild" -C "$installDir" --strip=1
|
|
|
|
echo " -> running visual regression tests from x-pack directory"
|
|
cd "$XPACK_DIR"
|
|
checks-reporter-with-killswitch "X-Pack visual regression tests" \
|
|
yarn percy exec -t 500 -- -- \
|
|
node scripts/functional_tests \
|
|
--debug --bail \
|
|
--kibana-install-dir "$installDir" \
|
|
--config test/visual_regression/config.ts;
|