[6.8] [ci/es] always pull snapshots, break early when they're… (#62069)

* [ci/es] always pull snapshots, break early when they're not available

* move to setup.sh after deps are installed

Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
#	test/scripts/jenkins_build_kibana.sh
#	test/scripts/jenkins_xpack_build_kibana.sh
This commit is contained in:
Spencer 2020-03-31 14:48:54 -07:00 committed by GitHub
parent 7d0e303433
commit 7771f2c4d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 6 deletions

View file

@ -16,6 +16,14 @@ echo " -- KIBANA_PKG_BRANCH='$KIBANA_PKG_BRANCH'"
echo " -- installing node.js dependencies"
yarn kbn bootstrap --prefer-offline
###
### Download es snapshots
###
echo " -- downloading es snapshot"
node scripts/es snapshot --download-only;
node scripts/es snapshot --license=oss --download-only;
###
### verify no git modifications
###

View file

@ -2,9 +2,6 @@
source src/dev/ci_setup/setup_env.sh
echo " -> downloading es snapshot"
node scripts/es snapshot --license=oss --download-only;
echo " -> Ensuring all functional tests are in a ciGroup"
yarn run grunt functionalTests:ensureAllTestsInCiGroup;

View file

@ -3,9 +3,6 @@
cd "$KIBANA_DIR"
source src/dev/ci_setup/setup_env.sh
echo " -> downloading es snapshot"
node scripts/es snapshot --download-only;
echo " -> Ensuring all functional tests are in a ciGroup"
cd "$XPACK_DIR"
node scripts/functional_tests --assert-none-excluded \