kibana/.ci/run.sh
Spencer ff49a1c674
[ci] load the boostrap_cache baked into CI images (#25841)
We're creating a cache of files that should speed up bootstraping CI jobs and baking it into the CI images with 992daf5fed/.ci/packer_cache.sh.

This PR utilizes that cache (that will start showing up in CI images shortly) by extracting it into the Kibana workspace and failing if it's missing for some reason.
2018-11-20 14:22:44 -08:00

30 lines
515 B
Bash
Executable file

#!/usr/bin/env bash
set -e
# move to Kibana root
cd "$(dirname "$0")/.."
./src/dev/ci_setup/load_bootstrap_cache.sh;
case "$JOB" in
kibana-intake)
./test/scripts/jenkins_unit.sh
;;
kibana-ciGroup*)
export CI_GROUP="${JOB##kibana-ciGroup}"
./test/scripts/jenkins_ci_group.sh
;;
x-pack-intake)
./test/scripts/jenkins_xpack.sh
;;
x-pack-ciGroup*)
export CI_GROUP="${JOB##x-pack-ciGroup}"
./test/scripts/jenkins_xpack_ci_group.sh
;;
*)
echo "JOB '$JOB' is not implemented."
exit 1
;;
esac