pero 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ead39fbc282e03a7035b106c0e00c0fd763a9753dbc8726fdf60c4f135632947
4
- data.tar.gz: 4acf8ddf945f939da41e9be7b0f0a4e1ea4f941d28824e8674771a5c1bf2af2c
3
+ metadata.gz: 3cc26e00bd55e4f440b1093cb50d648c692431e242aaad76ee5a75b4861a569e
4
+ data.tar.gz: 993f4b79e420e78cfdebc1f124fa066b70f2b562b4948affa768819eb212ee5c
5
5
  SHA512:
6
- metadata.gz: 260feaad123a26da33a14abfa8869e693ae0dafc0fa85e6286468c43ffd3c93b79608e5e0792f7048bf5dd05aea88ca4cc160e6827b71699284c62d0fb4cc158
7
- data.tar.gz: 397a20a1d09cdaea967183770876fc2538c2c50729b98b7b2e4f1b4e8c254f294eafaaf75841408fe2121a6f41ac52cb521ea664fb830f1cb101cdcfb14dbc92
6
+ metadata.gz: b84c3ad2efb6a369fd8d3edf4a80076d107dd9270a41840e5ff41ca15549aeb360ba2318d2568237f279bfb941b6b97963bbace51e15771584c38dc67dc20d7d
7
+ data.tar.gz: ac0092e216b422dd99afdede3175063d267c92e09a10cdcfa207d7a3e514a5d4412ba57900c6bf1efbcb049c139ddbc345ab640cd113f93866820dfa95603466
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pero (0.1.6)
4
+ pero (0.1.8)
5
5
  docker-api
6
6
  logger
7
7
  net-ssh
@@ -65,17 +65,19 @@ module Pero
65
65
  raise "can't start container" unless container
66
66
  begin
67
67
  Retryable.retryable(tries: 20, sleep: 5) do
68
- https = Net::HTTP.new('localhost', container.info["Ports"].first["PublicPort"])
69
- https.use_ssl = true
70
- https.verify_mode = OpenSSL::SSL::VERIFY_NONE
71
- Pero.log.debug "start server health check"
72
- https.start {
73
- response = https.get('/')
74
- Pero.log.debug "puppet http response #{response}"
75
- }
76
- rescue => e
77
- Pero.log.debug e.inspect
78
- raise e
68
+ begin
69
+ https = Net::HTTP.new('localhost', container.info["Ports"].first["PublicPort"])
70
+ https.use_ssl = true
71
+ https.verify_mode = OpenSSL::SSL::VERIFY_NONE
72
+ Pero.log.debug "start server health check"
73
+ https.start {
74
+ response = https.get('/')
75
+ Pero.log.debug "puppet http response #{response}"
76
+ }
77
+ rescue => e
78
+ Pero.log.debug e.inspect
79
+ raise e
80
+ end
79
81
  end
80
82
  rescue
81
83
  Pero.log.error "can't start container.please check [ docker logs #{container.info["id"]} ]"
@@ -1,3 +1,3 @@
1
1
  module Pero
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pero
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - pyama86
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-08-26 00:00:00.000000000 Z
11
+ date: 2020-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor