2010-02-08 00:45:42 +00:00
|
|
|
= Hydra TODO
|
2010-01-27 16:38:11 +00:00
|
|
|
|
2010-02-08 00:45:42 +00:00
|
|
|
== Rsync
|
|
|
|
Split SSH into:
|
2010-01-27 16:38:11 +00:00
|
|
|
|
2010-02-08 00:45:42 +00:00
|
|
|
connect: user@site.com
|
|
|
|
ssh_options: -p 3022
|
2010-01-29 20:26:32 +00:00
|
|
|
|
2010-02-08 00:45:42 +00:00
|
|
|
Then make an rsync section:
|
|
|
|
|
|
|
|
rsync:
|
|
|
|
source: /path/to/code/locally
|
|
|
|
exclude:
|
|
|
|
- tmp
|
|
|
|
- log
|
|
|
|
- config/test/database.yml
|
|
|
|
- db/*.sqlite3
|
|
|
|
etc...
|
|
|
|
|
|
|
|
options: -az
|
|
|
|
|
|
|
|
== Setup
|
|
|
|
|
|
|
|
Provide a hydra:setup task to override to be run remotely before testing
|
2010-01-29 16:45:42 +00:00
|
|
|
|
|
|
|
|
2010-01-29 19:59:52 +00:00
|
|
|
|
|
|
|
|
2010-01-29 16:45:42 +00:00
|
|
|
|