From fbaa2818bc5f5e3d628adfc77fe13105a85fed21 Mon Sep 17 00:00:00 2001 From: Liza Dayoub Date: Mon, 23 Jul 2018 14:13:00 -0600 Subject: [PATCH 1/2] Shell script to run kibana tests on cloud via Jenkins --- test/scripts/jenkins_cloud.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 test/scripts/jenkins_cloud.sh diff --git a/test/scripts/jenkins_cloud.sh b/test/scripts/jenkins_cloud.sh new file mode 100755 index 0000000000000..d6b55f76bf6ae --- /dev/null +++ b/test/scripts/jenkins_cloud.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +set -e + +source "$(dirname $0)/../../src/dev/ci_setup/setup.sh" + +xvfb-run node scripts/functional_test_runner --debug --grep @skipcloud --invert + From 44bcf518b2bc12b39e1c81f05dd5582509641456 Mon Sep 17 00:00:00 2001 From: Liza Dayoub Date: Mon, 23 Jul 2018 15:31:38 -0600 Subject: [PATCH 2/2] Add comment explaining cloud setup --- test/scripts/jenkins_cloud.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/test/scripts/jenkins_cloud.sh b/test/scripts/jenkins_cloud.sh index d6b55f76bf6ae..1020fbe924290 100755 --- a/test/scripts/jenkins_cloud.sh +++ b/test/scripts/jenkins_cloud.sh @@ -1,5 +1,23 @@ #!/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"