Shell script to run kibana tests on cloud via Jenkins (#21107) (#21120)

* Shell script to run kibana tests on cloud via Jenkins

* Add comment explaining cloud setup
This commit is contained in:
liza-mae 2018-07-24 11:51:47 -06:00 committed by GitHub
parent 942d2b28df
commit 67addab4eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

26
test/scripts/jenkins_cloud.sh Executable file
View file

@ -0,0 +1,26 @@
#!/usr/bin/env bash
# This script runs kibana tests compatible with cloud.
#
# The cloud instance setup is done in the elastic/elastic-stack-testing framework,
# where the following environment variables are set pointing to the cloud instance.
#
# export TEST_KIBANA_HOSTNAME
# export TEST_KIBANA_PROTOCOL=
# export TEST_KIBANA_PORT=
# export TEST_KIBANA_USER=
# export TEST_KIBANA_PASS=
#
# export TEST_ES_HOSTNAME=
# export TEST_ES_PROTOCOL=
# export TEST_ES_PORT=
# export TEST_ES_USER=
# export TEST_ES_PASS=
#
set -e
source "$(dirname $0)/../../src/dev/ci_setup/setup.sh"
xvfb-run node scripts/functional_test_runner --debug --grep @skipcloud --invert