Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

metrics: Update working elasticsearch version. #871

Merged
merged 1 commit into from
Oct 30, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion metrics/report/grabdata.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ SCRIPT_DIR=$(dirname "$(readlink -f "$0")")
source "${SCRIPT_DIR}/../lib/common.bash"
RESULTS_DIR=${SCRIPT_DIR}/../results

# Get working elasticsearch version
VERSIONS_FILE="${SCRIPT_DIR}/../../versions.yaml"
ELASTICSEARCH_VERSION=$("${GOPATH}/bin/yq" read "$VERSIONS_FILE" "docker_images.elasticsearch.version")
ELASTICSEARCH_IMAGE="elasticsearch:$ELASTICSEARCH_VERSION"

# By default we run all the tests
RUN_ALL=1

Expand Down Expand Up @@ -115,7 +120,7 @@ run_density_ksm() {
# elasticsearch - large container
# Need to wait for elasticsearch to boot and settle before we measure
export PAYLOAD_SLEEP="10"
export PAYLOAD="elasticsearch"
export PAYLOAD=$ELASTICSEARCH_IMAGE
PAYLOAD_ARGS=" "
PAYLOAD_RUNTIME_ARGS=" -m 8G"
bash density/footprint_data.sh
Expand Down
5 changes: 5 additions & 0 deletions versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ docker_images:
url: "https://hub.docker.com/_/alpine/"
version: "3.7"

elasticsearch:
description: "RESTful search and analytics engine"
url: "https://hub.docker.com/_/elasticsearch/"
version: "6.4.0"

kibana:
description: "Open source analytics and visualization platform"
url: "https://hub.docker.com/_/kibana/"
Expand Down