kitchen-ec2 1.0.1 → 1.1.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -2
- data/Gemfile +4 -0
- data/lib/kitchen/driver/ec2.rb +9 -7
- data/lib/kitchen/driver/ec2_version.rb +1 -1
- data/spec/kitchen/driver/ec2_spec.rb +4 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2928484fa583fa992ebcf1fa003d63ddaeae94eb
|
|
4
|
+
data.tar.gz: 3ad8a26f85c5f05667096e0c305b036a25788411
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c35455b314bd2fd04e239b960ed59b42ec9cc1aab1c4044f7bfa38329679ec8f7644740a76398ff822ae8ea827f424bcb823e14cd3a3fa57e03d0d9104665d3d
|
|
7
|
+
data.tar.gz: 0215c4bed37d0f12d6a2f9993c86a2af4dae7d1858673e602270c14bda5e1202a89d729fb062da0297f5c34ca4b8f906648a2c78b18dc63d3c1c7c266ebe8ee1
|
data/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,24 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## [1.0
|
|
4
|
-
[Full Changelog](https://github.com/test-kitchen/kitchen-ec2/compare/v1.0.
|
|
3
|
+
## [1.1.0](https://github.com/test-kitchen/kitchen-ec2/tree/1.1.0) (2016-08-09)
|
|
4
|
+
[Full Changelog](https://github.com/test-kitchen/kitchen-ec2/compare/v1.0.1...1.1.0)
|
|
5
|
+
|
|
6
|
+
**Implemented enhancements:**
|
|
7
|
+
|
|
8
|
+
- Make tags optional for clients without IAM rights to CreateTags [\#257](https://github.com/test-kitchen/kitchen-ec2/pull/257) ([freimer](https://github.com/freimer))
|
|
9
|
+
|
|
10
|
+
**Fixed bugs:**
|
|
11
|
+
|
|
12
|
+
- New transport.ssh\_key does not work in Travis, possibly elsewhere [\#203](https://github.com/test-kitchen/kitchen-ec2/issues/203)
|
|
13
|
+
- not able to connect via winrm [\#175](https://github.com/test-kitchen/kitchen-ec2/issues/175)
|
|
14
|
+
- Fix AWS Ruby SDK autoload for all time [\#270](https://github.com/test-kitchen/kitchen-ec2/pull/270) ([jkeiser](https://github.com/jkeiser))
|
|
15
|
+
|
|
16
|
+
**Closed issues:**
|
|
17
|
+
|
|
18
|
+
- Retrieve AMI IDs from the EC2 API [\#147](https://github.com/test-kitchen/kitchen-ec2/issues/147)
|
|
19
|
+
|
|
20
|
+
## [v1.0.1](https://github.com/test-kitchen/kitchen-ec2/tree/v1.0.1) (2016-07-20)
|
|
21
|
+
[Full Changelog](https://github.com/test-kitchen/kitchen-ec2/compare/v1.0.0...v1.0.1)
|
|
5
22
|
|
|
6
23
|
**Fixed bugs:**
|
|
7
24
|
|
data/Gemfile
CHANGED
data/lib/kitchen/driver/ec2.rb
CHANGED
|
@@ -84,9 +84,9 @@ module Kitchen
|
|
|
84
84
|
|
|
85
85
|
def initialize(*args, &block)
|
|
86
86
|
super
|
|
87
|
-
#
|
|
88
|
-
|
|
89
|
-
::Aws
|
|
87
|
+
# AWS Ruby SDK loading isn't thread safe, so as soon as we know we're
|
|
88
|
+
# going to use EC2, autoload it. Seems to have been fixed in Ruby 2.3+
|
|
89
|
+
::Aws.eager_autoload! unless RUBY_VERSION.to_f >= 2.3
|
|
90
90
|
end
|
|
91
91
|
|
|
92
92
|
def self.validation_warn(driver, old_key, new_key)
|
|
@@ -362,11 +362,13 @@ module Kitchen
|
|
|
362
362
|
end
|
|
363
363
|
|
|
364
364
|
def tag_server(server)
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
tags
|
|
365
|
+
if config[:tags]
|
|
366
|
+
tags = []
|
|
367
|
+
config[:tags].each do |k, v|
|
|
368
|
+
tags << { :key => k, :value => v }
|
|
369
|
+
end
|
|
370
|
+
server.create_tags(:tags => tags)
|
|
368
371
|
end
|
|
369
|
-
server.create_tags(:tags => tags)
|
|
370
372
|
end
|
|
371
373
|
|
|
372
374
|
# Normally we could use `server.wait_until_running` but we actually need
|
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: 1.0
|
|
4
|
+
version: 1.1.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: 2016-
|
|
11
|
+
date: 2016-08-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: test-kitchen
|
|
@@ -239,7 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
239
239
|
version: '0'
|
|
240
240
|
requirements: []
|
|
241
241
|
rubyforge_project:
|
|
242
|
-
rubygems_version: 2.6.
|
|
242
|
+
rubygems_version: 2.6.6
|
|
243
243
|
signing_key:
|
|
244
244
|
specification_version: 4
|
|
245
245
|
summary: A Test Kitchen Driver for Amazon EC2
|