kitchen-ec2 2.3.2 → 2.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/kitchen/driver/aws/standard_platform.rb +8 -8
- data/lib/kitchen/driver/ec2_version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5f41664d493bb6ca0201d783f204f91d9dd15b55072b1d2ae57ec25fee896c8
|
4
|
+
data.tar.gz: 7e91778c35f193e55f1494fac914c9d3ae15c247d409dbf340a93a0098d7b3c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad7c6b5120afd7fe3ec8bfb4575d00e10a856c3d72c7a578a597063220132f9bedc7babcf6828cbab57bde5d670b8a91ad4ab804096e2c3076bf8780a6c6f581
|
7
|
+
data.tar.gz: 4e888383e767fff80fc48074c8ef935a179beee88c801572f6fa8aaf3f17419a15ef79a1a189f117283664340c3d0c05cd618845aaef2b90a299def6f30c423d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [v2.3.3](https://github.com/test-kitchen/kitchen-ec2/tree/v2.3.3) (2018-11-28)
|
4
|
+
[Full Changelog](https://github.com/test-kitchen/kitchen-ec2/compare/v2.3.3...v2.3.4)
|
5
|
+
|
6
|
+
**Merged pull requests:**
|
7
|
+
|
8
|
+
- Adding support for arm64 architecture [\#433]
|
9
|
+
|
3
10
|
## [v2.3.2](https://github.com/test-kitchen/kitchen-ec2/tree/v2.3.2) (2018-11-28)
|
4
11
|
[Full Changelog](https://github.com/test-kitchen/kitchen-ec2/compare/v2.3.1...v2.3.2)
|
5
12
|
|
@@ -46,7 +46,7 @@ module Kitchen
|
|
46
46
|
# @param driver [Kitchen::Driver::Ec2] The driver.
|
47
47
|
# @param name [String] The name of the platform (rhel, centos, etc.)
|
48
48
|
# @param version [String] The version of the platform (7.1, 2008sp1, etc.)
|
49
|
-
# @param architecture [String] The architecture (i386, x86_64)
|
49
|
+
# @param architecture [String] The architecture (i386, x86_64, arm64)
|
50
50
|
#
|
51
51
|
def initialize(driver, name, version, architecture)
|
52
52
|
@driver = driver
|
@@ -81,10 +81,15 @@ module Kitchen
|
|
81
81
|
#
|
82
82
|
# @return [String]
|
83
83
|
#
|
84
|
-
# @see
|
84
|
+
# @see SUPPORTED_ARCHITECTURESS
|
85
85
|
#
|
86
86
|
attr_reader :architecture
|
87
87
|
|
88
|
+
#
|
89
|
+
# The list of supported architectures
|
90
|
+
#
|
91
|
+
SUPPORTED_ARCHITECTURES = %w{x86_64 i386 arm64}
|
92
|
+
|
88
93
|
#
|
89
94
|
# Find the best matching image for the given image search.
|
90
95
|
#
|
@@ -151,11 +156,6 @@ module Kitchen
|
|
151
156
|
nil
|
152
157
|
end
|
153
158
|
|
154
|
-
#
|
155
|
-
# The list of supported architectures
|
156
|
-
#
|
157
|
-
ARCHITECTURE = %w{x86_64 i386 i86pc sun4v powerpc}
|
158
|
-
|
159
159
|
protected
|
160
160
|
|
161
161
|
#
|
@@ -196,7 +196,7 @@ module Kitchen
|
|
196
196
|
|
197
197
|
# If the right side is a valid architecture, use it as such
|
198
198
|
# i.e. debian-i386 or windows-server-2012r2-i386
|
199
|
-
if version &&
|
199
|
+
if version && SUPPORTED_ARCHITECTURES.include?(version.split("-")[-1])
|
200
200
|
# server-2012r2-i386 -> server-2012r2, -, i386
|
201
201
|
version, _dash, architecture = version.rpartition("-")
|
202
202
|
version = nil if version == ""
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fletcher Nichol
|
@@ -232,7 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
232
232
|
version: '0'
|
233
233
|
requirements: []
|
234
234
|
rubyforge_project:
|
235
|
-
rubygems_version: 2.7.
|
235
|
+
rubygems_version: 2.7.7
|
236
236
|
signing_key:
|
237
237
|
specification_version: 4
|
238
238
|
summary: A Test Kitchen Driver for Amazon EC2
|