Slackistrano
Mark the phase of the tickets during releases to staging and production deployments
Requirements
- Capistrano >= 3.1.0
- Ruby >= 2.0
- A Slack account
Installation
Add this line to your application's Gemfile:
gem 'release-tickets', require: false
And then execute:
$ bundle
Configuration
Require the library in your application's Capfile:
require 'slackistrano'
Note that in your ENV you must define your unfuddle account and password, like this:
export UNFUDDLE_USER=fred export UNFUDDLE_PASSWORD=super-duper-secret
This account must have privileges to mark the tickets.
Test your setup by running:
$ cap production release_conductor:deploy:finished
Usage
Deploy your application like normal and the tickets should be marked.
TODO
To publish a new version: (0.0.5 in this example)
- fix the bug
- update version.rb
- git commit -a -m "0.0.5 "
- git tag 0.0.5
- git push --tags
- gem build release-conductor.gemspec
- gem push release-conductor-0.0.5.gem
To upgrade CODE to use the new version of the gem
- git checkout code-dev
- bundle update release-conductor
- git commit -a -m "@wip upgrading release-conductor gem"
- git woe minor (OR, merge the new Gemfile.lock into all the branches that need it)
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request