* [ci/es] base default es version on pkg.branch value * [ci/env] initialize $TEST_ES_FROM in checkout_sibling_es.sh * [UA] remove TEST_ES_SNAPSHOT_VERSION override * [ci/es] call checkout_sibling_es.sh from one location * [ci] remove unused `--from` param * [ci/env] always default to snapshots, switch to source when necessary * [kbn/test] default esFrom to $TEST_ES_FROM * [ci/setup] fix define order * [ci/grunt] don't pass --esFrom let env pass through * [ci/env] use branch, not version * [ci] use same indent style as following lines * [kbn/test] apply default values when processing args * [kbn/test] simplify defaults, read default on each process
31 lines
602 B
Bash
Executable file
31 lines
602 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
# move to Kibana root
|
|
cd "$(dirname "$0")/.."
|
|
|
|
source src/dev/ci_setup/extract_bootstrap_cache.sh
|
|
source src/dev/ci_setup/setup.sh
|
|
source src/dev/ci_setup/checkout_sibling_es.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
|