mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[ci] define matrix axes in code (#25360)
* [ci] define matrix axes in code
* [ci] add null exclude rule
* [ci] make script executable
* [ci] execute sub-scripts
* [ci] simplify job variable name
(cherry picked from commit 399c50cc5c
)
This commit is contained in:
parent
8d40ce72c8
commit
a0eb33dec7
2 changed files with 29 additions and 0 deletions
7
.ci/jobs.yml
Normal file
7
.ci/jobs.yml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
JOB:
|
||||||
|
- selenium
|
||||||
|
- intake
|
||||||
|
- x-pack
|
||||||
|
|
||||||
|
# `~` is yaml for `null`
|
||||||
|
exclude: ~
|
22
.ci/run.sh
Executable file
22
.ci/run.sh
Executable file
|
@ -0,0 +1,22 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# move to Kibana root
|
||||||
|
cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
|
case "$JOB" in
|
||||||
|
"selenium")
|
||||||
|
./test/scripts/jenkins_selenium.sh
|
||||||
|
;;
|
||||||
|
"intake")
|
||||||
|
./test/scripts/jenkins_unit.sh
|
||||||
|
;;
|
||||||
|
"x-pack")
|
||||||
|
./test/scripts/jenkins_xpack.sh
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "JOB '$JOB' is not implemented."
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
Loading…
Add table
Add a link
Reference in a new issue