Created
December 13, 2012 18:38
-
-
Save rickrussell/4278571 to your computer and use it in GitHub Desktop.
Jenkins Build Scripts
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 | |
mkdir -p log | |
rm -f log/deploy.log | |
source ~/.bash_profile | |
rvm install ree-1.8.7-2011.12 | |
cp .rvmrc.template .rvmrc | |
rvm rvmrc trust | |
cd . | |
cp ~/secrets.rb config/secrets.rb | |
#Show the user which keys are being used. | |
ssh-add -l | |
set -e | |
set -x | |
bundle install --binstubs --quiet --path vendor/bundle | |
bin/cap testing deploy:cleanup | |
bin/cap testing deploy:migrations scalr:snapshot:app scalr:snapshot:worker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment