Forked from vlado/bd_upgrade_es_on_semaphoreci.sh
Last active
March 25, 2016 20:36
-
-
Save winglian/e81b078555ec4d858ac0 to your computer and use it in GitHub Desktop.
Revisions
-
winglian revised this gist
Mar 25, 2016 . 1 changed file with 2 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,6 @@ rbenv global 2.2.2 sudo service elasticsearch stop if ! [ -e .semaphore-cache/elasticsearch-2.2.1.deb ]; then (cd .semaphore-cache; curl -OL https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/deb/elasticsearch/2.2.1/elasticsearch-2.2.1.deb); fi echo Y | sudo dpkg -i .semaphore-cache/elasticsearch-2.2.1.deb sudo service elasticsearch start sleep 5 && curl -XGET 'localhost:9200' -
vlado renamed this gist
Apr 22, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
vlado created this gist
Apr 22, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ rbenv global 2.2.2 sudo service elasticsearch stop if ! [ -e .semaphore-cache/elasticsearch-1.5.1.deb ]; then (cd .semaphore-cache; curl -OL https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.5.1.deb); fi echo Y | sudo dpkg -i .semaphore-cache/elasticsearch-1.5.1.deb sudo sh -c "echo 'script.disable_dynamic: false' >> /etc/elasticsearch/elasticsearch.yml" sudo service elasticsearch start sleep 5 && curl -XGET 'localhost:9200'