Permalink
Browse files

notify via irc after deploys

  • Loading branch information...
1 parent 01bab26 commit 59690bf8188446aeb43ac680cb0db06a8d3c6e3f @dwradcliffe dwradcliffe committed Feb 19, 2014
View
@@ -37,6 +37,7 @@ gem 'yajl-ruby', :require => 'yajl'
group :development do
gem 'capistrano', '~> 2.0'
+ gem 'capistrano-notification'
gem 'rails-erd'
gem 'pry'
end
View
@@ -39,6 +39,10 @@ GEM
net-sftp (>= 2.0.0)
net-ssh (>= 2.0.14)
net-ssh-gateway (>= 1.1.0)
+ capistrano-notification (0.1.1)
+ capistrano
+ shout-bot
+ validatable
capybara (2.2.1)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
@@ -203,6 +207,8 @@ GEM
shoulda-context (1.1.6)
shoulda-matchers (2.5.0)
activesupport (>= 3.0.0)
+ shout-bot (0.0.7)
+ addressable
sinatra (1.4.4)
rack (~> 1.4)
rack-protection (~> 1.4)
@@ -224,6 +230,7 @@ GEM
kgio (~> 2.6)
rack
raindrops (~> 0.7)
+ validatable (1.6.7)
validates_formatting_of (0.8.0)
activemodel (~> 3.0)
webmock (1.17.3)
@@ -241,6 +248,7 @@ PLATFORMS
DEPENDENCIES
builder
capistrano (~> 2.0)
+ capistrano-notification
capybara
clearance (~> 1.1)
cucumber-rails
View
@@ -3,6 +3,13 @@
require 'capistrano/ext/multistage'
require 'bundler/capistrano'
+require 'capistrano-notification'
+
+notification.irc do |irc|
+ irc.host 'chat.freenode.net'
+ irc.channel '#rubygems-aws'
+ irc.message { "#{local_user} deployed rubygems.org @ #{fetch(:current_revision)} to #{deploy_target} (#{roles[:app].servers.compact.map(&:host).join(', ')})" }
+end
default_run_options[:pty] = true
set :ssh_options, { :forward_agent => true }
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 59690bf

Please sign in to comment.