vx-container_connector 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vx/container_connector/docker.rb +3 -6
- data/lib/vx/container_connector/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04f9e250fd6969c939272741738bfb4cb74c0338
|
4
|
+
data.tar.gz: db5dc622092d18b6b8783cdf2878f890802497c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f90401633becadb280e13ac6bdfca379a82c62f7a8c59ce60899c3c5103580d95bdd87fea37b5ce3d90624a1ecfbc4128d985b30ca55d84831a0bf701a3b21e
|
7
|
+
data.tar.gz: c69aca16579a5ae2ee394bcbdc08f365abb1a34f9471a6765ad8aa76549b9a27494ea044dd67136f1f7a4fdc926a1f022411bc1055a4f85b7e0133429d16153e
|
@@ -60,7 +60,7 @@ module Vx
|
|
60
60
|
ssh_host: host
|
61
61
|
}
|
62
62
|
|
63
|
-
with_retries ::Net::SSH::AuthenticationFailed, Errno::ECONNREFUSED, Errno::ETIMEDOUT, limit:
|
63
|
+
with_retries ::Net::SSH::AuthenticationFailed, Errno::ECONNREFUSED, Errno::ETIMEDOUT, limit: 20, sleep: 1 do
|
64
64
|
instrument("starting_ssh_session", instrumentation)
|
65
65
|
open_ssh(host, user, ssh_options) do |ssh|
|
66
66
|
yield Spawner.new(container, ssh, remote_dir)
|
@@ -79,14 +79,11 @@ module Vx
|
|
79
79
|
container_options: start_container_options,
|
80
80
|
}
|
81
81
|
|
82
|
-
|
83
|
-
|
84
|
-
container.start start_container_options
|
85
|
-
end
|
82
|
+
instrument("start_container", instrumentation) do
|
83
|
+
container.start start_container_options
|
86
84
|
end
|
87
85
|
|
88
86
|
begin
|
89
|
-
sleep 3
|
90
87
|
yield container
|
91
88
|
ensure
|
92
89
|
instrument("kill_container", instrumentation) do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vx-container_connector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitry Galinsky
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: docker-api
|