conan_deploy_stackato3 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/conan/stackato.rb +4 -3
- data/lib/conan/version.rb +1 -1
- metadata +2 -2
data/lib/conan/stackato.rb
CHANGED
@@ -20,7 +20,7 @@ class Stackato
|
|
20
20
|
base_args = "--target #{@target} --token-file #{@@token_file}"
|
21
21
|
|
22
22
|
cmd = "#{@@executable} #{stackato_cmd} #{base_args} #{args}"
|
23
|
-
|
23
|
+
puts(">>> #{cmd}")
|
24
24
|
if @dry_run
|
25
25
|
puts "Dry-run, skipping execution of command: #{cmd}"
|
26
26
|
else
|
@@ -31,9 +31,8 @@ class Stackato
|
|
31
31
|
Thread.new do
|
32
32
|
stdout_stderr.each {|l| puts l }
|
33
33
|
end
|
34
|
-
|
35
34
|
stdin.close
|
36
|
-
exit_status = wait_thr.value
|
35
|
+
exit_status = wait_thr.value
|
37
36
|
unless ignoreErrs || exit_status.success?
|
38
37
|
abort "Stackato #{stackato_cmd} failed"
|
39
38
|
end
|
@@ -57,6 +56,7 @@ class Stackato
|
|
57
56
|
|
58
57
|
def push(manifest)
|
59
58
|
shell_cmd("push", "--manifest #{manifest} --no-prompt --reset --force-start --timeout 5m")
|
59
|
+
puts(">> push complete")
|
60
60
|
end
|
61
61
|
|
62
62
|
def delete(app_name)
|
@@ -118,6 +118,7 @@ class Stackato
|
|
118
118
|
deployment.active_urls(app).each do |url|
|
119
119
|
@commands.map(paas_app_name, url)
|
120
120
|
end
|
121
|
+
puts "deploy complete"
|
121
122
|
}
|
122
123
|
end
|
123
124
|
|
data/lib/conan/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: conan_deploy_stackato3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-09-
|
13
|
+
date: 2014-09-22 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: daphne_util
|