* chore(NA): rebalance cigroup1 into cigroup5 * chore(NA): get list api integration into cigropup1 again * chore(NA): get apm integration basic into cigropup1 again * chore(NA): move back apm_api_integration trial tests into ciGroup1 * chore(NA): move exception operators data types into ciGroup1 again * chore(NA): move detection engine api security and spaces back into ciGroup1 * chore(NA): add a new xpack cigroup11 * chore(NA): correctly create 11 xpack ci groups * chore(NA): try to balance ciGroup2 and 8 * chore(NA): reset number of xpack parallel worker builds to 10 Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> # Conflicts: # vars/kibanaCoverage.groovy
37 lines
1.1 KiB
Bash
Executable file
37 lines
1.1 KiB
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
cd "$KIBANA_DIR"
|
|
source src/dev/ci_setup/setup_env.sh
|
|
|
|
if [[ ! "$TASK_QUEUE_PROCESS_ID" ]]; then
|
|
./test/scripts/jenkins_xpack_build_plugins.sh
|
|
fi
|
|
|
|
# doesn't persist, also set in kibanaPipeline.groovy
|
|
export KBN_NP_PLUGINS_BUILT=true
|
|
|
|
echo " -> Ensuring all functional tests are in a ciGroup"
|
|
cd "$XPACK_DIR"
|
|
node scripts/functional_tests --assert-none-excluded \
|
|
--include-tag ciGroup1 \
|
|
--include-tag ciGroup2 \
|
|
--include-tag ciGroup3 \
|
|
--include-tag ciGroup4 \
|
|
--include-tag ciGroup5 \
|
|
--include-tag ciGroup6 \
|
|
--include-tag ciGroup7 \
|
|
--include-tag ciGroup8 \
|
|
--include-tag ciGroup9 \
|
|
--include-tag ciGroup10 \
|
|
--include-tag ciGroup11
|
|
|
|
echo " -> building and extracting default Kibana distributable for use in functional tests"
|
|
cd "$KIBANA_DIR"
|
|
node scripts/build --debug --no-oss
|
|
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 "$WORKSPACE/kibana-build-xpack"
|
|
cp -pR install/kibana/. $WORKSPACE/kibana-build-xpack/
|