2018-11-20 23:02:06 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2018-11-29 12:08:10 +01:00
|
|
|
set -e
|
2019-06-10 16:04:32 +02:00
|
|
|
trap 'node "$KIBANA_DIR/src/dev/failed_tests/cli"' EXIT
|
2019-01-09 00:13:12 +01:00
|
|
|
|
2019-06-14 18:35:23 +02:00
|
|
|
yarn run grunt functionalTests:ensureAllTestsInCiGroup;
|
2018-11-20 23:02:06 +01:00
|
|
|
|
|
|
|
node scripts/build --debug --oss;
|
|
|
|
|
|
|
|
export TEST_BROWSER_HEADLESS=1
|
|
|
|
|
2019-05-01 23:02:33 +02:00
|
|
|
checks-reporter-with-killswitch "Functional tests / Group ${CI_GROUP}" yarn run grunt "run:functionalTests_ciGroup${CI_GROUP}";
|
2018-11-20 23:02:06 +01:00
|
|
|
|
|
|
|
if [ "$CI_GROUP" == "1" ]; then
|
2019-03-26 17:31:10 +01:00
|
|
|
# build kbn_tp_sample_panel_action
|
|
|
|
cd test/plugin_functional/plugins/kbn_tp_sample_panel_action;
|
2019-05-01 23:02:33 +02:00
|
|
|
checks-reporter-with-killswitch "Build kbn_tp_sample_panel_action" yarn build;
|
2019-03-26 17:31:10 +01:00
|
|
|
cd -;
|
2019-05-01 23:02:33 +02:00
|
|
|
yarn run grunt run:pluginFunctionalTestsRelease --from=source;
|
|
|
|
yarn run grunt run:interpreterFunctionalTestsRelease;
|
2019-06-17 18:31:41 +02:00
|
|
|
fi
|