kitchen-ec2 3.10.1 → 3.11.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 862c1fd03a10f0ad6125f5ea8f5126bf5660e1b7050f9b550001bc7ab9302d91
|
|
4
|
+
data.tar.gz: f093d5cf16248830e3ab5aa1567354567bf6568e2a9b8d40d5fe5be4711c915f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3dbea4d3b992f1aebb989f8e894e040ed281d877694474a62afe67ceb4335e18e49463b3039b0c7996ad868f6fda843ff30a625fa92fb479912a4f552b591d23
|
|
7
|
+
data.tar.gz: 2367f3182eae5baee7e1b86785961b8f54c0820f9a7bfe35e7e1f8ef3f3731514eb5384166a1229f064df02246208d46950173611537d4868b1ff2883d5577e8
|
|
@@ -23,16 +23,17 @@ module Kitchen
|
|
|
23
23
|
class Debian < StandardPlatform
|
|
24
24
|
StandardPlatform.platforms["debian"] = self
|
|
25
25
|
|
|
26
|
-
#
|
|
27
|
-
# and
|
|
26
|
+
# 12/13 are listed last since we default to the first item in the hash
|
|
27
|
+
# and 12/13 are not released yet. When they're released move them up
|
|
28
28
|
DEBIAN_CODENAMES = {
|
|
29
|
+
11 => "bullseye",
|
|
29
30
|
10 => "buster",
|
|
30
31
|
9 => "stretch",
|
|
31
32
|
8 => "jessie",
|
|
32
33
|
7 => "wheezy",
|
|
33
34
|
6 => "squeeze",
|
|
34
|
-
11 => "bullseye",
|
|
35
35
|
12 => "bookworm",
|
|
36
|
+
13 => "trixie",
|
|
36
37
|
}.freeze
|
|
37
38
|
|
|
38
39
|
# default username for this platform's ami
|
|
@@ -51,11 +52,23 @@ module Kitchen
|
|
|
51
52
|
end
|
|
52
53
|
|
|
53
54
|
def image_search
|
|
54
|
-
search = {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
search = {}
|
|
56
|
+
|
|
57
|
+
# The Debian AWS owner ID changed for releases 10 and onwards
|
|
58
|
+
# See https://wiki.debian.org/Amazon/EC2/HowTo/awscli
|
|
59
|
+
if version.nil?
|
|
60
|
+
search["owner-id"] = "136693071363"
|
|
61
|
+
search["name"] = "debian-#{DEBIAN_CODENAMES.keys.first}-*"
|
|
62
|
+
elsif version.to_i >= 10
|
|
63
|
+
search["owner-id"] = "136693071363"
|
|
64
|
+
search["name"] = "debian-#{version.to_i}-*"
|
|
65
|
+
else
|
|
66
|
+
search["owner-id"] = "379101102735"
|
|
67
|
+
search["name"] = "debian-#{codename}-*"
|
|
68
|
+
end
|
|
69
|
+
|
|
58
70
|
search["architecture"] = architecture if architecture
|
|
71
|
+
|
|
59
72
|
search
|
|
60
73
|
end
|
|
61
74
|
|
|
@@ -134,7 +134,7 @@ module Kitchen
|
|
|
134
134
|
|
|
135
135
|
def windows_name_filter # rubocop:disable Metrics/MethodLength
|
|
136
136
|
major, revision, service_pack = windows_version_parts
|
|
137
|
-
if major == 2019 || major == 2016
|
|
137
|
+
if major == 2022 || major == 2019 || major == 2016
|
|
138
138
|
"Windows_Server-#{major}-English-Full-Base-*"
|
|
139
139
|
elsif major == 1709 || major == 1803
|
|
140
140
|
"Windows_Server-#{major}-English-Core-ContainersLatest-*"
|
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.11.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: 2021-
|
|
11
|
+
date: 2021-11-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: test-kitchen
|
|
@@ -98,7 +98,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
98
98
|
requirements:
|
|
99
99
|
- - ">="
|
|
100
100
|
- !ruby/object:Gem::Version
|
|
101
|
-
version: '2.
|
|
101
|
+
version: '2.6'
|
|
102
102
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
103
|
requirements:
|
|
104
104
|
- - ">="
|