rebuy_deployment 0.7.4 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rebuy_deployment/deploy.rb +0 -10
- metadata +5 -22
@@ -1,7 +1,6 @@
|
|
1
1
|
Encoding.default_internal = "UTF-8"
|
2
2
|
Encoding.default_external = "UTF-8"
|
3
3
|
require 'mail'
|
4
|
-
require 'capistrano/campfire'
|
5
4
|
require 'zk'
|
6
5
|
|
7
6
|
def prompt_if_unset(name, default = '')
|
@@ -202,14 +201,6 @@ namespace :deploy do
|
|
202
201
|
end
|
203
202
|
end
|
204
203
|
|
205
|
-
task :notify_campfire, :on_error => :continue, :except => { :no_release => true } do
|
206
|
-
if campfire_options[:account] && campfire_options[:room] && campfire_options[:token]
|
207
|
-
campfire_room.paste get_git_log
|
208
|
-
else
|
209
|
-
logger.info "Skipping message to campfire because insufficient options given."
|
210
|
-
end
|
211
|
-
end
|
212
|
-
|
213
204
|
# Mail.defaults has to be configured in order for this task to work properly
|
214
205
|
task :notify, :on_error => :continue, :except => { :no_release => true } do
|
215
206
|
if stage == :production
|
@@ -262,5 +253,4 @@ after 'deploy:finalize_update', 'deploy:change_owner'
|
|
262
253
|
after 'deploy:create_symlink', 'deploy:restart'
|
263
254
|
after 'deploy:create_symlink', 'deploy:new_relic'
|
264
255
|
after 'deploy:create_symlink', 'deploy:notify'
|
265
|
-
after 'deploy:create_symlink', 'deploy:notify_campfire'
|
266
256
|
after 'deploy:setup', 'deploy:prepare_directory_structure'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rebuy_deployment
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-08-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|
@@ -75,22 +75,6 @@ dependencies:
|
|
75
75
|
- - ! '>='
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: 2.4.4
|
78
|
-
- !ruby/object:Gem::Dependency
|
79
|
-
name: capistrano-campfire
|
80
|
-
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
|
-
requirements:
|
83
|
-
- - ! '>='
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version: 0.2.0
|
86
|
-
type: :runtime
|
87
|
-
prerelease: false
|
88
|
-
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
|
-
requirements:
|
91
|
-
- - ! '>='
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
version: 0.2.0
|
94
78
|
- !ruby/object:Gem::Dependency
|
95
79
|
name: zookeeper
|
96
80
|
requirement: !ruby/object:Gem::Requirement
|
@@ -141,10 +125,9 @@ dependencies:
|
|
141
125
|
version: '0'
|
142
126
|
description: This gem offers deployment for all rebuy.de projects
|
143
127
|
email:
|
144
|
-
- df@rebuy.
|
145
|
-
- u.pfefferlein@rebuy.
|
146
|
-
- b.haeuser@rebuy.
|
147
|
-
- a.kleiber@rebuy.de
|
128
|
+
- df@rebuy.com
|
129
|
+
- u.pfefferlein@rebuy.com
|
130
|
+
- b.haeuser@rebuy.com
|
148
131
|
- it@rebuy.de
|
149
132
|
executables: []
|
150
133
|
extensions: []
|