bradleydyer / capistrano-tasks
Collection of capistrano tasks
Installs: 6 300
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 1
Open Issues: 0
Language:Ruby
Type:project
README
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
- - For capistrano-task enabled projects
- - For projects that are configured to be installed loacly
- - For projects that allow to push files up
- - For projects that allow to pull files down
Setup for Developers
- Write code
- Be awesome