diff options
author | Jamis Buck <jamis@37signals.com> | 2005-08-30 20:47:09 +0000 |
---|---|---|
committer | Jamis Buck <jamis@37signals.com> | 2005-08-30 20:47:09 +0000 |
commit | bb7f60ca1cd191fd775fef261b4d2bc7af223604 (patch) | |
tree | a95b8249660655d6b7e91f8736aad29d8bb6755f /railties/fresh_rakefile | |
parent | a8b9fc9f2ab47e0a853ca3997ae34aee2865dec6 (diff) | |
download | rails-bb7f60ca1cd191fd775fef261b4d2bc7af223604.tar.gz rails-bb7f60ca1cd191fd775fef261b4d2bc7af223604.tar.bz2 rails-bb7f60ca1cd191fd775fef261b4d2bc7af223604.zip |
Remove switchtower integration from rails
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2073 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/fresh_rakefile')
-rwxr-xr-x | railties/fresh_rakefile | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/railties/fresh_rakefile b/railties/fresh_rakefile index 766a10237c..34b0d24c4d 100755 --- a/railties/fresh_rakefile +++ b/railties/fresh_rakefile @@ -219,28 +219,3 @@ task :load_fixtures => :environment do Fixtures.create_fixtures('test/fixtures', File.basename(fixture_file, '.*')) end end - -desc "Push the latest revision into production using the release manager" -task :deploy do - system "script/switchtower -vvvv -r config/deploy -a deploy" -end - -desc "Rollback to the release before the current release in production" -task :rollback do - system "script/switchtower -vvvv -r config/deploy -a rollback" -end - -desc "Enumerate all available deployment tasks" -task :show_deploy_tasks do - system "script/switchtower -r config/deploy -a show_tasks" -end - -desc "Execute a specific action using the release manager" -task :remote_exec do - unless ENV['ACTION'] - raise "Please specify an action (or comma separated list of actions) via the ACTION environment variable" - end - - actions = ENV['ACTION'].split(",").map { |a| "-a #{a}" }.join(" ") - system "script/switchtower -vvvv -r config/deploy #{actions}" -end |