1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00
Commit graph

26 commits

Author SHA1 Message Date
Jamis Buck
50942285c9 Allow roles to be declared empty
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6953 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-06-06 13:20:25 +00:00
Jamis Buck
7b2458ec46 Invoke all commands via sh (customizable via :default_shell)
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6947 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-06-05 16:10:01 +00:00
Jamis Buck
e581f83310 Add :default_environment variable, which is applied to every command
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6917 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-06-01 02:56:42 +00:00
Jamis Buck
14378caa67 Added support for load and exit callbacks, which get invoked when all recipes have been loaded and when all requested tasks have been executed
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6709 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-05-09 05:24:21 +00:00
Jamis Buck
90e9dc1880 Added support for start and finish callbacks, which get invoked when any task is called via the command-line
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6708 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-05-09 05:14:37 +00:00
Jamis Buck
9047a756fe Make the server definition itself available to SSH channels, rather that just the host name. Identify servers by their complete credentials in logs, rather than simply by hostname.
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6706 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-05-09 04:45:54 +00:00
Jamis Buck
f2ae562833 Uniquely identify servers based on hostname, port, and username, instead of merely on hostname
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6704 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-05-09 04:02:50 +00:00
Jamis Buck
845f0d2ca6 Make sure 'desc' applies to the next defined task, in any namespace.
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6697 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-05-08 04:31:43 +00:00
Jamis Buck
74090e6efc Added before(), after(), and on() callback creation methods
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6695 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-05-08 04:12:29 +00:00
Jamis Buck
f7cd2a1836 and commit the test for that, too
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6503 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-04-05 05:19:54 +00:00
Jamis Buck
dae044f572 Pull the server selection code out of the task definition and into the configuration
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6497 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-04-01 04:20:33 +00:00
Jamis Buck
9a6d2fb7b6 make the compat script more general. Add some missing deploy tasks. Make sure on_rollback is safely ignored outside of a transaction
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6468 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-27 06:10:05 +00:00
Jamis Buck
530dfe6a06 before/after hooks for a namespace's default task can be named after the namespace, instead of "before_default", etc.
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6461 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-25 20:02:29 +00:00
Jamis Buck
8cca3f8b77 search parent namespaces for before/after hooks (for real, this time)
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6459 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-24 22:28:38 +00:00
Jamis Buck
0af400a9b8 Search for the before/after hooks in all parent namespaces, if not found in the current namespace
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6458 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-24 22:12:40 +00:00
Jamis Buck
c0e2ee20f9 more integration tests
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6325 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-04 22:05:31 +00:00
Jamis Buck
3b79481659 Make sure the CLI components integrate nicely. Make sure the Configuration components integrate nicely.
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6321 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-04 21:34:35 +00:00
Jamis Buck
b8a1698d39 add some more tests to bring code coverage up
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6319 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-04 21:09:37 +00:00
Jamis Buck
bdef53cbfd Refactored CLI stuff. Improved help system.
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6313 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-04 18:19:26 +00:00
Jamis Buck
b5daf9f58b refactor capistrano errors into a single module, with a single superclass. Add #invoke helper action for programmatically selecting between run and sudo. Refactor the #stream and #capture helper actions.
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6289 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-02 21:33:27 +00:00
Jamis Buck
472431004c start refactoring the task helper actions
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6288 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-02 17:15:11 +00:00
Jamis Buck
4789f87bf9 replace obsolete configuration tests with a failing one. Fix misnamed execution test class. Remove SCM and generator code (which will find its way into a separate package eventually)
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6273 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-01 06:39:14 +00:00
Jamis Buck
4c5597282d actor tests are obsolete now. add test to ensure tasks are added as methods
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6272 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-01 06:27:21 +00:00
Jamis Buck
46ef78d2d8 make sure the logger gets passed to the gateway, and log the server.host, instead of the server record
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6269 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-02-28 19:22:51 +00:00
Jamis Buck
3d1bdb06bf connections module, and some refactoring and bolstering of other tests
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6268 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-02-28 19:13:13 +00:00
Jamis Buck
8e33fdc46b getting started on cap 2.0
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6243 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-02-26 23:59:33 +00:00