Rafał Lisowski
e49733f3ef
user can provide global ssh settings
...
for example in deploy.rb:
{
keys: %w(/home/user/.ssh/id_rsa),
forward_agent: false,
auth_methods: %w(publickey password)
}
2013-07-11 17:38:55 +02:00
Lee Hambley
682ed3b2d0
Fix #542 . Also revert issues introduced in c18029e
.
2013-07-05 16:21:53 +02:00
Huiming Teo
a95058dfa9
fix repo_url in deploy.rb template
2013-07-03 22:01:39 +08:00
seenmyfate
f5a585b3a4
Add integration tests for deploy task
...
This commit adds the outlines of a testing framework for Cap tasks.
Currently just the `cap install` and `cap deploy` tasks are covered. For
now, these tests can only be run if it is `ssh localhost` will work for
you and are currently excluded from the suite. It is my intention to
eventually replace the `sshkit` backend with a test backend, but for now
this is good enough to prevent simple regressions.
2013-06-16 13:08:15 +01:00
seenmyfate
a8e00045df
Renamed integration spec
2013-06-15 07:30:16 +01:00
seenmyfate
dd4c99e04b
refactor integration test
2013-06-14 17:09:32 +01:00
seenmyfate
f50945673a
Integration test cap install
...
This spec creates new 'app', bundles a local copy of capistrano and
asserts against the results of `cap install`
2013-06-14 16:52:37 +01:00
seenmyfate
50e27d8906
allow setting of Configuration backend
2013-06-14 14:35:26 +01:00
seenmyfate
2d4506a389
test sshkit is correctly configured
2013-06-14 10:02:59 +01:00
seenmyfate
9f3c95cc21
ensure role/server syntax examples are identical
2013-06-14 09:41:40 +01:00
seenmyfate
dbbf6d4b03
Add integration tests for DSL
...
These tests now document how to use the Capistrano DSL to set and fetch
hosts and variables using both `role` and `server` syntax
2013-06-02 12:30:11 +01:00