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

11 commits

Author SHA1 Message Date
Jamis Buck
61fc449867 Make previous_release return nil if there are no previous releases (closes #4959)
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@4565 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-06 04:36:58 +00:00
Jamis Buck
085cebaf3b Make sure rollbacks occur within the scope of the task that triggered them
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@4562 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-06 03:11:42 +00:00
David Heinemeier Hansson
bcac17e746 Added support for :except on task declarations as the opposite of :only [DHH] Changed setup, update_code, rollback_code, and symlink to work on all servers instead of only those in the :app, :web, and :db roles. A server can opt out of being part of the release deployment by setting :no_release => true [DHH]
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@4041 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-26 07:41:02 +00:00
David Heinemeier Hansson
fa05705d81 Added :hosts option to task definition that allows you to specify cross-cutting tasks [DHH] Added respect for ENV[ROLES] that'll be used instead of the roles specified in the task definition [DHH] Added respect for ENV[HOSTS] that'll be used instead of the roles specified in the task definition [DHH]
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@4018 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-23 20:59:04 +00:00
Jamis Buck
6efd009569 part 2, rename switchtower -> capistrano
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@3786 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-06 03:48:35 +00:00
Jamis Buck
e4f56866aa Add extension mechanism for custom ST operations
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@3604 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-18 22:09:05 +00:00
Jamis Buck
0fcc748bdd Add Actor#current_task and simplify Task#servers
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@3602 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-18 16:57:04 +00:00
Jamis Buck
d04f90dfb2 Add an better error when a task is run and no servers match the required conditions
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@3396 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-12 04:37:08 +00:00
Jamis Buck
3af8352664 Make UPPERCASE variables work
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@3385 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-07 21:02:25 +00:00
Jamis Buck
71e6cc2cb8 When executing multiline commands, escape newlines with a backslash
git-svn-id: http://svn.rubyonrails.org/rails/trunk/switchtower@1975 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-06 19:35:25 +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