Closes #68055 by detecting the local Kibana version and using that as (#68198)

the stack version for e2e tests.
This commit is contained in:
Oliver Gupte 2020-06-03 23:10:43 -07:00 committed by GitHub
parent c9f71dd717
commit 6db55aaccd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,6 +23,8 @@ APM_IT_DIR="./tmp/apm-integration-testing"
cd ${E2E_DIR}
KIBANA_VERSION=$(node -p "require('../../../package.json').version")
#
# Ask user to start Kibana
##################################################
@ -63,7 +65,8 @@ fi
# Start apm-integration-testing
echo "Starting docker-compose"
${APM_IT_DIR}/scripts/compose.py start master \
echo "Using stack version: ${KIBANA_VERSION}"
${APM_IT_DIR}/scripts/compose.py start $KIBANA_VERSION \
--no-kibana \
--elasticsearch-port $ELASTICSEARCH_PORT \
--apm-server-port=$APM_SERVER_PORT \