Sha256: 1a3de846e2eef19c50aae5214feef86a210a0f810117cf1b75ff9e24e75d5bdb

Contents?: true

Size: 1.17 KB

Versions: 37

Compression:

Stored size: 1.17 KB

Contents

namespace :deploy do
  desc "Start a deployment, make sure server(s) ready."
  task :starting do
  end

  desc "Started"
  task :started do
  end

  desc "Update server(s) by setting up a new release."
  task :updating do
  end

  desc "Updated"
  task :updated do
  end

  desc "Revert server(s) to previous release."
  task :reverting do
  end

  desc "Reverted"
  task :reverted do
  end

  desc "Publish the release."
  task :publishing do
  end

  desc "Published"
  task :published do
  end

  desc "Finish the deployment, clean up server(s)."
  task :finishing do
  end

  desc "Finish the rollback, clean up server(s)."
  task :finishing_rollback do
  end

  desc "Finished"
  task :finished do
  end

  desc "Rollback to previous release."
  task :rollback do
    %w{ starting started
        reverting reverted
        publishing published
        finishing_rollback finished }.each do |task|
      invoke "deploy:#{task}"
    end
  end
end

desc "Deploy a new release."
task :deploy do
  set(:deploying, true)
  %w{ starting started
      updating updated
      publishing published
      finishing finished }.each do |task|
    invoke "deploy:#{task}"
  end
end
task default: :deploy

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
capistrano-3.19.2 lib/capistrano/tasks/framework.rake
capistrano-3.19.1 lib/capistrano/tasks/framework.rake
capistrano-3.19.0 lib/capistrano/tasks/framework.rake
capistrano-3.18.1 lib/capistrano/tasks/framework.rake
honeybadger-5.4.0 vendor/bundle/ruby/3.2.0/gems/capistrano-3.18.0/lib/capistrano/tasks/framework.rake
honeybadger-5.3.0 vendor/bundle/ruby/3.2.0/gems/capistrano-3.18.0/lib/capistrano/tasks/framework.rake
capistrano-3.18.0 lib/capistrano/tasks/framework.rake
capistrano-3.17.3 lib/capistrano/tasks/framework.rake
capistrano-3.17.2 lib/capistrano/tasks/framework.rake
capistrano-3.17.1 lib/capistrano/tasks/framework.rake
capistrano-3.17.0 lib/capistrano/tasks/framework.rake
capistrano-3.16.0 lib/capistrano/tasks/framework.rake
capistrano-3.15.0 lib/capistrano/tasks/framework.rake
capistrano-3.14.1 lib/capistrano/tasks/framework.rake
capistrano-3.14.0 lib/capistrano/tasks/framework.rake
capistrano-3.13.0 lib/capistrano/tasks/framework.rake
capistrano-3.12.1 lib/capistrano/tasks/framework.rake
capistrano-3.12.0 lib/capistrano/tasks/framework.rake
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/capistrano-3.11.0/lib/capistrano/tasks/framework.rake
capistrano-3.11.2 lib/capistrano/tasks/framework.rake