This file contains 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 characters
cd | |
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.0.1.zip | |
unzip elasticsearch*.zip | |
cd elasticsearch* | |
bin/plugin -install elasticsearch/elasticsearch-analysis-phonetic/2.0.0.RC1 | |
# Make sure to use the exact parameters you want for elasticsearch and give it enough sleep time to properly start up | |
nohup bash -c "./bin/elasticsearch 2>&1 &" && sleep 5; cat nohup.out | |
cd ~/clone |
This file contains 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 characters
cd ~/bin | |
wget https://dl.ngrok.com/linux_386/ngrok.zip | |
unzip ngrok* |
This file contains 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 characters
#!/bin/bash | |
echo $COMMIT_BRANCH | grep -E "^(\d\.?)+$" > /dev/null | |
match_result=$? | |
if [ "$match_result" -eq "0" ] | |
then | |
# Exit if any command fails only when the deployment runs | |
set -e |
This file contains 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 characters
#Change the path to the downloaded file here to update the mongo version | |
wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.4.10.tgz | |
tar xvzf mongo* | |
cd mongo* | |
mkdir ~/mongodb | |
# You can change the parameters mongodb starts with here | |
nohup bash -c "./bin/mongod --port 27018 --dbpath ~/mongodb 2>&1 &" && sleep 6; cat nohup.out | |
cd ~/clone |
This file contains 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 characters
Your privacy is critically important to us. At Codeship we have a few fundamental principles: | |
We don’t ask you for personal information unless we truly need it. (We can’t stand services that ask you for things like your gender or income level for no apparent reason.) | |
We don’t share your personal information with anyone except to comply with the law, develop our products, or protect our rights. | |
We don’t store personal information on our servers unless required for the on-going operation of one of our services. | |
In our products, we aim to make it as simple as possible for you to control what’s visible to the public, seen by search engines, kept private, and permanently deleted. | |
Below is our privacy policy which incorporates these goals: |
This file contains 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 characters
#Link to CodeDeploy IAM details: http://docs.aws.amazon.com/codedeploy/latest/userguide/access-permissions.html | |
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"codedeploy:RegisterApplicationRevision", |
This file contains 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 characters
function docker_cleanup { | |
# Find all containers that have exited | |
containers=`docker ps -a -q | xargs` | |
if [[ $containers ]]; then | |
# Remove exited containers | |
docker stop $containers | |
docker rm $containers | |
else | |
echo "No containers to remove" | |
fi |
This file contains 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 characters
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Comment: GPGTools - https://gpgtools.org | |
mQINBFWstgkBEADCEqXKz83rIAK6VLaaqNJ09RNcTxMW0eOJu12/5bthFXnhVOQb | |
B1n4UMFxlHAFK9IOXwfmMsU4z8z8I7oDlfkRRyGRoQAoxuUuxYZTeWnGFktnRtRQ | |
G3SXzXmLkIgajd7jksPzQxySWf4/4CUa2DiyUhm0vhC/63BGRxf6uU9Vn9FwRg+o | |
cqeXHWdffvbcguAJe2aFCHHAg4fS0usiqTPPHhCWaOicmoJ0HjkWmWDJB8Mq/b1C | |
EQL/tsMBBfMo2TsolBWYoYvqEaeGO7N2Dj/leHq0JjN60pLV4Ggnq3RXqHvFX+4r | |
B7bg9tBi5fCSHNYFpF5/9+rya8M5wvJvfZqfS36K0ft4La8orb/8MizQdCveP/xG | |
r8CkpWrxRGNmcUETVZZl8StCnEIW7ONYAdScjDv/SFhzhuz+XvNZuvwFtUsU4LmZ |
This file contains 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 characters
require 'capybara/rails' | |
require 'capybara/session' | |
Capybara.run_server = true | |
Capybara.default_selector = :css | |
Capybara.default_wait_time = 2 | |
Capybara.ignore_hidden_elements = true |
This file contains 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 characters
Counting objects: 7, done. | |
Delta compression using up to 2 threads. | |
Compressing objects: 100% (4/4), done. | |
Writing objects: 100% (4/4), 540 bytes, done. | |
Total 4 (delta 3), reused 0 (delta 0) | |
remote: /data/github/current/lib/github/config/failbot.rb:5: undefined method `setup' for Failbot:Module (NoMethodError) | |
remote: from /data/github/current/config/basic.rb:168:in `require' | |
remote: from /data/github/current/config/basic.rb:168 | |
remote: from hooks/post-receive:13:in `require' | |
remote: from hooks/post-receive:13 |
OlderNewer