Skip to content

Commit

Permalink
[CI] Updates run-elasticsearch script to run on Buildkite
Browse files Browse the repository at this point in the history
  • Loading branch information
picandocodigo committed Sep 26, 2023
1 parent 0f30f59 commit 6618558
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .buildkite/run-elasticsearch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ cleanup_node $es_node_name
master_node_name=${es_node_name}
cluster_name=${moniker}${suffix}

BUILDKITE=${BUILDKITE-false}
# Set vm.max_map_count kernel setting to 262144 if we're in CI
if [[ "$BUILDKITE" == "true" ]]; then
sudo sysctl -w vm.max_map_count=262144
fi

declare -a volumes
environment=($(cat <<-END
--env ELASTIC_PASSWORD=$elastic_password
Expand Down

0 comments on commit 6618558

Please sign in to comment.