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

17 commits

Author SHA1 Message Date
Jamis Buck
9fd7fc8f19 Allow Proc-valued variables to be set more conveniently
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@3449 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-21 05:26:10 +00:00
Jamis Buck
16256b075b Use better variable name in cleanup task (closes #3378)
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@3445 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-21 04:30:51 +00:00
Jamis Buck
a324f78020 fix typo in standard recipe file
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@3390 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-10 02:00:03 +00:00
Jamis Buck
391cd04279 Add default spinner and cold_deploy tasks, and spinner_user variable. Changed restart_via variable to (boolean) use_sudo.
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@3387 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-07 22:06:14 +00:00
Jamis Buck
b5780d8f90 Added rails_env variable (defaults to production) for use by tasks that employ the RAILS_ENV environment variable
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@3384 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-07 18:18:33 +00:00
Jamis Buck
c3c3b8ab4a Added a cleanup task to remove unused releases from the deployment directory
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@3372 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-02 04:24:11 +00:00
Jamis Buck
527a881f95 switchtower: add :restart_via variable for specifying whether restart ought to use :sudo (default, use sudo)
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@3355 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-27 01:50:23 +00:00
Jamis Buck
bd5ebf9b3e switchtower: add an "update_current" task that will do an svn up on the current release
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@3340 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-22 21:34:21 +00:00
Jamis Buck
ed079a86d1 switchtower: restart uses process/reaper, not "process reaper"
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2679 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-18 17:31:52 +00:00
Jamis Buck
baabba800e Fix the heredocs to use <<-, so that textmate highlights them correctly
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2566 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-13 20:11:02 +00:00
Jamis Buck
edcb868f72 Use process reaper instead of custom reap script for restarting
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2565 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-13 20:06:27 +00:00
Jamis Buck
8a163ef75e switchtower: add diff_from_last_deploy task (currently only works with subversion)
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2452 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-04 13:06:43 +00:00
Jamis Buck
1929a47e3b switchtower: add deploy_with_migrations task
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2450 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-04 12:29:37 +00:00
Jamis Buck
25a29f7565 switchtower: make the migrate task more configurable
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2449 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-04 11:50:44 +00:00
Jamis Buck
24640dd9a8 Make default tasks work only on app/db/web roles, so that additional roles may be created for boxes with specific needs without needing to (for instance) deploy the app to those boxes
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2132 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-05 10:37:00 +00:00
Jamis Buck
824d22bfb8 Move switchtower to the tools directory, to decouple it from rails
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2074 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-30 20:53:32 +00:00
Jamis Buck
f9da6dbb4c Initial commit of the new switchtower utility
git-svn-id: http://svn.rubyonrails.org/rails/trunk/switchtower@1967 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-03 12:59:03 +00:00