slackistrano 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -3
- data/lib/slackistrano/tasks/slack.rake +4 -3
- data/lib/slackistrano/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6fb6dcaaae9129fe0614c9e805dba9884a27a0de
|
4
|
+
data.tar.gz: 46198dbaa6c0090c7a7f8b62b7cc32d5e14a0eec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c7ea8caf9d43271715a592765bc1c02ab793d5d565292ff17a928adad7eda6b391ae7be4b14616af921341b1f66bb4cd1b8fe6c7152de65c38592b7500b4b9a
|
7
|
+
data.tar.gz: afcc7d71105b280eb26a02d43eae8b05e92d9b2d7eb129a954714acf2653e3fdff366a0240bd3eff2991cbbfa258b5c01c6df45c95b20344a41966159b891bec
|
data/README.md
CHANGED
@@ -60,9 +60,10 @@ Optionally, override the other slack settings:
|
|
60
60
|
set :slack_run_starting, -> { true }
|
61
61
|
set :slack_run_finished, -> { true }
|
62
62
|
set :slack_run_failed, -> { true }
|
63
|
-
set :
|
64
|
-
set :
|
65
|
-
set :
|
63
|
+
set :slack_deploy_user, -> { ENV['USER'] || ENV['USERNAME'] }
|
64
|
+
set :slack_msg_starting, -> { "#{fetch :slack_deploy_user} has started deploying branch #{fetch :branch} of #{fetch :application} to #{fetch :rails_env, 'production'}" }
|
65
|
+
set :slack_msg_finished, -> { "#{fetch :slack_deploy_user} has finished deploying branch #{fetch :branch} of #{fetch :application} to #{fetch :rails_env, 'production'}" }
|
66
|
+
set :slack_msg_failed, -> { "#{fetch :slack_deploy_user} failed to deploy branch #{fetch :branch} of #{fetch :application} to #{fetch :rails_env, 'production'}" }
|
66
67
|
set :slack_title_starting, -> { nil }
|
67
68
|
set :slack_title_finished, -> { nil }
|
68
69
|
set :slack_title_failed, -> { nil }
|
@@ -95,9 +95,10 @@ namespace :load do
|
|
95
95
|
set :slack_run_starting, -> { true } # Set to false to disable starting message.
|
96
96
|
set :slack_run_finished, -> { true } # Set to false to disable finished message.
|
97
97
|
set :slack_run_failed, -> { true } # Set to false to disable failure message.
|
98
|
-
set :
|
99
|
-
set :
|
100
|
-
set :
|
98
|
+
set :slack_deploy_user, -> { ENV['USER'] || ENV['USERNAME'] }
|
99
|
+
set :slack_msg_starting, -> { "#{fetch :slack_deploy_user} has started deploying branch #{fetch :branch} of #{fetch :application} to #{fetch :stage, 'an unknown stage'}" }
|
100
|
+
set :slack_msg_finished, -> { "#{fetch :slack_deploy_user} has finished deploying branch #{fetch :branch} of #{fetch :application} to #{fetch :stage, 'an unknown stage'}" }
|
101
|
+
set :slack_msg_failed, -> { "#{fetch :slack_deploy_user} failed to deploy branch #{fetch :branch} of #{fetch :application} to #{fetch :stage, 'an unknown stage'}" }
|
101
102
|
set :slack_title_starting, -> { nil }
|
102
103
|
set :slack_title_finished, -> { nil }
|
103
104
|
set :slack_title_failed, -> { nil }
|
data/lib/slackistrano/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slackistrano
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Philip Hallstrom
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|