Skip to content

Commit

Permalink
Run tests against latest version 5.5.2
Browse files Browse the repository at this point in the history
dieterve committed Aug 18, 2017

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 0f37183 commit b50a340
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ machine:
java:
version: openjdk8
environment:
ES_VERSION: 5.1.2
ES_VERSION: 5.5.2

dependencies:
pre:
3 changes: 1 addition & 2 deletions install-elasticsearch.sh
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
echo ">>> Installing Elasticsearch"

# Set some variables
ELASTICSEARCH_VERSION=5.1.2 # Check http://www.elasticsearch.org/download/ for latest version
ELASTICSEARCH_VERSION=5.5.2 # Check http://www.elasticsearch.org/download/ for latest version

# Install prerequisite: Java8
echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections
@@ -19,7 +19,6 @@ rm elasticsearch-$ELASTICSEARCH_VERSION.deb
# Configure Elasticsearch for development purposes (1 shard/no replicas, don't allow it to swap at all if it can run without swapping)
sudo sed -i "s/#index.number_of_shards: 1/index.number_of_shards: 1/" /etc/elasticsearch/elasticsearch.yml
sudo sed -i "s/#index.number_of_replicas: 0/index.number_of_replicas: 0/" /etc/elasticsearch/elasticsearch.yml
sudo sed -i "s/#bootstrap.memory_lock: true/bootstrap.memory_lock: true/" /etc/elasticsearch/elasticsearch.yml
if [ "$1" != "testing" ] ; then
echo ">>> Binding elasticsearch to all network hosts"
sudo sed -i "s/#network.host: 192.168.0.1/network.host: 0.0.0.0/" /etc/elasticsearch/elasticsearch.yml

0 comments on commit b50a340

Please sign in to comment.