Skip to content

Instantly share code, notes, and snippets.

@joakimk
Created April 11, 2011 13:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joakimk/913485 to your computer and use it in GitHub Desktop.
Save joakimk/913485 to your computer and use it in GitHub Desktop.
Example of the deploy config for quickly testing changes to testbot (used by "rake deploy")
upload_gem: scp pkg/GEM_FILE user@public_host:/var/www/testbot
update_server: ssh user@server 'wget -q http://public_host/testbot/GEM_FILE && gem install GEM_FILE --no-ri --no-rdoc && rm GEM_FILE'
restart_server: ssh user@server 'testbot --server stop; testbot --server start'
#### To use development versions the runners should be started like this: ####
testbot --runner --connect ... --auto_update --dev_gem_root http://public_host/testbot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment