kitchen-ec2 3.3.0 → 3.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kitchen/driver/ec2.rb +5 -1
- data/lib/kitchen/driver/ec2_version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d030685e23e784c93fd5e8c7f76702a4a90f907925a2a67750827ea6457af94f
|
4
|
+
data.tar.gz: 5268e3ecbfb386c0a62a1f9f6e2867685e3e5d21376d490a1f5408f20d19db96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71cd818f465de9cf145592c6110481a8544e45a3e37c105149b122bc921a7d8ae2e11cd8b68816db453a2b4c969b87f1115d32b4e00624c5c3dee6f06cd47de7
|
7
|
+
data.tar.gz: 30021e46d8151aa712224f810ea986ce28cabeffe65baeba885e5b86e261a38417775978b44d9b5cad08d2107b2be8a57e3cd8c23238cba9bc0fb3dbd48082ae
|
data/lib/kitchen/driver/ec2.rb
CHANGED
@@ -291,7 +291,11 @@ module Kitchen
|
|
291
291
|
server = ec2.get_instance(state[:server_id])
|
292
292
|
unless server.nil?
|
293
293
|
instance.transport.connection(state).close
|
294
|
-
|
294
|
+
begin
|
295
|
+
server.terminate
|
296
|
+
rescue ::Aws::EC2::Errors::InvalidInstanceIDNotFound => e
|
297
|
+
warn("Received #{e}, instance was probably already destroyed. Ignoring")
|
298
|
+
end
|
295
299
|
end
|
296
300
|
if state[:spot_request_id]
|
297
301
|
debug("Deleting spot request <#{state[:server_id]}>")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fletcher Nichol
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-kitchen
|
@@ -168,14 +168,14 @@ dependencies:
|
|
168
168
|
requirements:
|
169
169
|
- - '='
|
170
170
|
- !ruby/object:Gem::Version
|
171
|
-
version: 0.14.
|
171
|
+
version: 0.14.1
|
172
172
|
type: :development
|
173
173
|
prerelease: false
|
174
174
|
version_requirements: !ruby/object:Gem::Requirement
|
175
175
|
requirements:
|
176
176
|
- - '='
|
177
177
|
- !ruby/object:Gem::Version
|
178
|
-
version: 0.14.
|
178
|
+
version: 0.14.1
|
179
179
|
- !ruby/object:Gem::Dependency
|
180
180
|
name: climate_control
|
181
181
|
requirement: !ruby/object:Gem::Requirement
|
@@ -231,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
231
231
|
- !ruby/object:Gem::Version
|
232
232
|
version: '0'
|
233
233
|
requirements: []
|
234
|
-
rubygems_version: 3.
|
234
|
+
rubygems_version: 3.1.2
|
235
235
|
signing_key:
|
236
236
|
specification_version: 4
|
237
237
|
summary: A Test Kitchen Driver for Amazon EC2
|