conan_deploy_stackato3 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,13 +28,14 @@ class Stackato
28
28
  # raise "Stackato error: #{err}" unless (ignoreErrs||status.success?)
29
29
  # output
30
30
  Open3.popen2e(cmd) do |stdin, stdout_err, wait_thr|
31
- while line = stdout_err.gets
32
- puts line
31
+ Thread.new do
32
+ stdout_stderr.each {|l| puts l }
33
33
  end
34
34
 
35
+ stdin.close
35
36
  exit_status = wait_thr.value
36
37
  unless ignoreErrs || exit_status.success?
37
- abort "Stackato #{stackato_cmd} failed: #{stdout_err.read}"
38
+ abort "Stackato #{stackato_cmd} failed"
38
39
  end
39
40
  end
40
41
  end
@@ -55,11 +56,12 @@ class Stackato
55
56
  end
56
57
 
57
58
  def push(manifest)
58
- shell_cmd("push", "--manifest #{manifest} --no-prompt --reset --timeout 15m")
59
+ shell_cmd("push", "--manifest #{manifest} --no-prompt --reset --force-start --timeout 5m")
59
60
  end
60
61
 
61
62
  def delete(app_name)
62
- shell_cmd("delete", "--no-prompt #{app_name}", true)
63
+ shell_cmd("delete", "--no-prompt #{app_name}", true) #instead of ignore error- look for Found a problem with input "application": An application "tentacles-integ-sea2" does not exist in space 'MTN::kraken'. Please use a different value.
64
+
63
65
  end
64
66
 
65
67
  def map(app_name, url)
data/lib/conan/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Conan
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
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
4
+ version: 0.1.5
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-11 00:00:00.000000000 Z
13
+ date: 2014-09-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: daphne_util