capistrano-hivequeen 5.0.0 → 5.1.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -66,7 +66,7 @@ Capistrano::Configuration.instance.load do
|
|
66
66
|
Capistrano::CLI.ui.ask("Did you forget to push a new commit? Press enter to continue deploying, or ctrl+c to abort")
|
67
67
|
end
|
68
68
|
|
69
|
-
|
69
|
+
tests_didnt_pass = %q{
|
70
70
|
_______ _ _ _ _ _ _ _
|
71
71
|
|__ __| | | | (_) | | ( ) | | |
|
72
72
|
| | ___ ___| |_ ___ __| |_ __| |_ __ |/| |_ _ __ __ _ ___ ___| |
|
@@ -75,10 +75,23 @@ Capistrano::Configuration.instance.load do
|
|
75
75
|
|_|\___||___/\__|___/ \__,_|_|\__,_|_| |_| \__| | .__/ \__,_|___/___(_)
|
76
76
|
| |
|
77
77
|
|_|
|
78
|
+
}
|
79
|
+
tests_running = %q{
|
80
|
+
|
81
|
+
_______ _ _
|
82
|
+
|__ __| | | (_)
|
83
|
+
| | ___ ___| |_ ___ _ __ _ _ _ __ _ __ _ _ __ __ _
|
84
|
+
| |/ _ \/ __| __/ __| | '__| | | | '_ \| '_ \| | '_ \ / _` |
|
85
|
+
| | __/\__ \ |_\__ \ | | | |_| | | | | | | | | | | | (_| |_ _ _
|
86
|
+
|_|\___||___/\__|___/ |_| \__,_|_| |_|_| |_|_|_| |_|\__, (_|_|_)
|
87
|
+
__/ |
|
88
|
+
|___/
|
89
|
+
|
78
90
|
}
|
79
91
|
puts "Checking commit status for #{real_revision}"
|
80
92
|
status = HiveQueen.commit_status(real_revision)
|
81
93
|
unless status && status['state'] == "success"
|
94
|
+
banner = status['state'] == 'pending' ? tests_running : tests_didnt_pass
|
82
95
|
puts banner
|
83
96
|
|
84
97
|
message = "Commit status is %s." % (status['state'] || 'unknown')
|
@@ -125,7 +138,7 @@ Capistrano::Configuration.instance.load do
|
|
125
138
|
after "deploy:restart", "deploy:restart_rails_services"
|
126
139
|
namespace :deploy do
|
127
140
|
desc "restarts all rails services concurrently"
|
128
|
-
task :restart_rails_services, :roles => [:app, :search, :bg] do
|
141
|
+
task :restart_rails_services, :roles => [:app, :search, :bg, :resque] do
|
129
142
|
run "/etc/init.d/rails_services restart"
|
130
143
|
end
|
131
144
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-hivequeen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.1.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: 2013-
|
12
|
+
date: 2013-02-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|