capistrano-helpers 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +29 -0
- data/VERSION +1 -1
- data/capistrano-helpers.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e919629f0254d5b38e98dd1079343db96cf0a741
|
4
|
+
data.tar.gz: dc493a9a207622092b848d6d591566664e8edf32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42df7101463fcbfae1cbbc7624e42035cfca5d9a8142b5f3d1675a5af7cf5e9383500bac6dcc8e3b71094712d779463f43b28f8f538f8dbe07b0a75dc395ad56
|
7
|
+
data.tar.gz: db32a7adf116b840d107bc9cf96405f19b0496f020fdca631df926c7f4b3bf89ef3cffcde3f34cf22e0bfe7687c1e8b2b3380a8eb12ef8f0d6f75eec74a8d7b1
|
data/README.md
CHANGED
@@ -202,6 +202,35 @@ This will create two symbolic links on the production server:
|
|
202
202
|
#{release_path}/config/database.yml -> #{shared_path}/private/config/database.yml
|
203
203
|
#{release_path}/config/session_secret.txt -> #{shared_path}/private/config/session_secret.txt
|
204
204
|
|
205
|
+
### slack
|
206
|
+
|
207
|
+
Once the deploy is complete, this helper will post a message to the given
|
208
|
+
Slack room stating the username, the application, the branch/tag and the
|
209
|
+
environment. E.g.:
|
210
|
+
|
211
|
+
Scott Woods just deployed myapp v0.5.4 to staging
|
212
|
+
|
213
|
+
You will need to add the <tt>slack-notifier</tt> gem to your Gemfile.
|
214
|
+
|
215
|
+
This helper also expects to find a configuration file <tt>config/slack.yml</tt>
|
216
|
+
with the following format:
|
217
|
+
|
218
|
+
# This file is used for developer chat room notifications.
|
219
|
+
webhook_url: "https://hooks.slack.com/services/YOUR_SLACK_WEBHOOK_HERE"
|
220
|
+
channel: "#flip-learning"
|
221
|
+
username: "capistrano"
|
222
|
+
icon_emoji: ":bird:"
|
223
|
+
|
224
|
+
You can override the location of the configuration file by setting the
|
225
|
+
:slack_config variable:
|
226
|
+
|
227
|
+
set :slack_config, 'somewhere/else.yml'
|
228
|
+
|
229
|
+
You can disable the notification for a specific deployment stage by setting
|
230
|
+
the :slack_notifications variable to false, e.g. in config/deploy/staging:
|
231
|
+
|
232
|
+
set :slack_notifications, false
|
233
|
+
|
205
234
|
### specs
|
206
235
|
|
207
236
|
Before the app is deployed, this helper checks out the branch/tag that is
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.11.0
|
data/capistrano-helpers.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: capistrano-helpers 0.
|
5
|
+
# stub: capistrano-helpers 0.11.0 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "capistrano-helpers"
|
9
|
-
s.version = "0.
|
9
|
+
s.version = "0.11.0"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|