bradleydyer/capistrano-tasks

Collection of capistrano tasks


License
MIT

Documentation

capistrano-tasks

List of capistrano tasks used on BradleyDyer infrastructure.

Usage and Installation

  • Add to your composer.json dependencies:
...
    "require-dev": {
        ...,
        "bradleydyer/capistrano-tasks": "^1.5",
    }
  • run composer update
  • load tasks in your Capfile
Dir.glob('vendor/bradleydyer/capistrano-tasks/tasks/*/*.rake').each { |r| import r }
Dir.glob('vendor/bradleydyer/capistrano-tasks/tasks/*/*/*.rake').each { |r| import r }

Tag based deployment

If you wish to deploy specific tag you can enable that by adding before :deploy, "git:tag:check" for a given stage (typically production.rb). This can also be enabled globally. Once enabled, you will be asked during deployment to specify tag you wish to deploy. Specifying invalid tag will re-fetch tags trigger the prompt once again.

Badges

  • cap-deploy.png - For capistrano-task enabled projects
  • cap-install.png - For projects that are configured to be installed loacly
  • cap-upload.png - For projects that allow to push files up
  • cap-download.png - For projects that allow to pull files down

Setup for Developers

CONTRIBUTING.md

  • Write code
  • Be awesome