kitchen-rackspace 0.12.0 → 0.13.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 +11 -0
- data/data/images.json +52 -52
- data/helpers/dump_image_list.rb +4 -4
- data/lib/kitchen/driver/rackspace_version.rb +1 -1
- data/spec/kitchen/driver/rackspace_spec.rb +20 -6
- 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: ea357d4417576b951cf5c5c25dcff5e3c0b99103
|
|
4
|
+
data.tar.gz: c53dffff0b9b2c729241a23bba38acff633f94b5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 42b1dc13b0657d15893bf7abb49e3d08530bf6887f946fe63902f76d68acc1cf710a4159ea80db09b73de29403b17a9610cfe775e327391661ca19cc8b482180
|
|
7
|
+
data.tar.gz: caef75026c44b25338a0071a3334a867e0040684d305a2a923dd31873b5bd43f9032ce72f4eabc84f67169ad05365b9a3672cdcf01d89e95ed5bcc2b3e86aa2c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
# 0.13.0 / 2014-10-08
|
|
2
|
+
|
|
3
|
+
### Improvements
|
|
4
|
+
|
|
5
|
+
* PR [#43][] - Update all image IDs, bump Arch to 2014.10, Gentoo to 14.4,
|
|
6
|
+
Vyatta to 6.7
|
|
7
|
+
* PR [#42][] - Update CentOS 7 image ID; via [@marcoamorales][]
|
|
8
|
+
|
|
1
9
|
# 0.12.0 / 2014-09-10
|
|
2
10
|
|
|
3
11
|
### New Features
|
|
@@ -104,6 +112,8 @@ boot times, via [@coderanger][]
|
|
|
104
112
|
|
|
105
113
|
* Initial release! Woo!
|
|
106
114
|
|
|
115
|
+
[#43]: https://github.com/test-kitchen/kitchen-rackspace/pull/43
|
|
116
|
+
[#42]: https://github.com/test-kitchen/kitchen-rackspace/pull/42
|
|
107
117
|
[#41]: https://github.com/test-kitchen/kitchen-rackspace/pull/41
|
|
108
118
|
[#40]: https://github.com/test-kitchen/kitchen-rackspace/pull/40
|
|
109
119
|
[#39]: https://github.com/test-kitchen/kitchen-rackspace/pull/39
|
|
@@ -125,6 +135,7 @@ boot times, via [@coderanger][]
|
|
|
125
135
|
[#8]: https://github.com/test-kitchen/kitchen-rackspace/pull/8
|
|
126
136
|
[#7]: https://github.com/test-kitchen/kitchen-rackspace/pull/7
|
|
127
137
|
|
|
138
|
+
[@marcoamorales]: https://github.com/marcoamorales
|
|
128
139
|
[@steve-jansen]: https://github.com/steve-jansen
|
|
129
140
|
[@hhoover]: https://github.com/hhoover
|
|
130
141
|
[@kanerogers]: https://github.com/kanerogers
|
data/data/images.json
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
{
|
|
2
|
-
"arch": "
|
|
3
|
-
"arch-2014": "
|
|
4
|
-
"arch-2014.
|
|
5
|
-
"centos": "
|
|
6
|
-
"centos-7": "
|
|
7
|
-
"centos-7.0": "
|
|
8
|
-
"centos-6": "
|
|
9
|
-
"centos-6.5": "
|
|
10
|
-
"centos-5": "
|
|
11
|
-
"centos-5.10": "
|
|
12
|
-
"coreos": "
|
|
13
|
-
"coreos-stable": "
|
|
14
|
-
"coreos-beta": "
|
|
15
|
-
"coreos-alpha": "
|
|
16
|
-
"debian": "
|
|
17
|
-
"debian-7": "
|
|
18
|
-
"debian-7.6": "
|
|
19
|
-
"debian-6": "
|
|
20
|
-
"debian-6.
|
|
21
|
-
"debian-testing": "
|
|
22
|
-
"debian-unstable": "
|
|
23
|
-
"fedora": "
|
|
24
|
-
"fedora-20": "
|
|
25
|
-
"fedora-19": "
|
|
2
|
+
"arch": "30aa010e-080e-4d4b-a7f9-09fc55b07d69",
|
|
3
|
+
"arch-2014": "30aa010e-080e-4d4b-a7f9-09fc55b07d69",
|
|
4
|
+
"arch-2014.10": "30aa010e-080e-4d4b-a7f9-09fc55b07d69",
|
|
5
|
+
"centos": "08d36361-5f64-4bc8-85ee-1a64a8ec8fd5",
|
|
6
|
+
"centos-7": "08d36361-5f64-4bc8-85ee-1a64a8ec8fd5",
|
|
7
|
+
"centos-7.0": "08d36361-5f64-4bc8-85ee-1a64a8ec8fd5",
|
|
8
|
+
"centos-6": "358b80b7-cdb2-4bde-b3fc-92d2c1ff43bd",
|
|
9
|
+
"centos-6.5": "358b80b7-cdb2-4bde-b3fc-92d2c1ff43bd",
|
|
10
|
+
"centos-5": "77bfb55e-2ea0-4181-9ba5-28bbd6ce7adc",
|
|
11
|
+
"centos-5.10": "77bfb55e-2ea0-4181-9ba5-28bbd6ce7adc",
|
|
12
|
+
"coreos": "7fd88211-ce43-41bf-9a85-e73df4066581",
|
|
13
|
+
"coreos-stable": "7fd88211-ce43-41bf-9a85-e73df4066581",
|
|
14
|
+
"coreos-beta": "b63e1435-a46f-4726-b984-e3f15ae92753",
|
|
15
|
+
"coreos-alpha": "c6ba33e5-d48e-4c2d-95c1-2badcdc07231",
|
|
16
|
+
"debian": "f518e3a7-fbbc-4010-98d7-a7cc0816e05d",
|
|
17
|
+
"debian-7": "f518e3a7-fbbc-4010-98d7-a7cc0816e05d",
|
|
18
|
+
"debian-7.6": "f518e3a7-fbbc-4010-98d7-a7cc0816e05d",
|
|
19
|
+
"debian-6": "16f2c2c5-69d7-4f7b-b2f3-48401cdd8d2a",
|
|
20
|
+
"debian-6.0.10": "16f2c2c5-69d7-4f7b-b2f3-48401cdd8d2a",
|
|
21
|
+
"debian-testing": "d3f05f77-d506-42f7-b348-3c99dc71b8cb",
|
|
22
|
+
"debian-unstable": "1bfd323d-1290-41af-af8e-66884b39d71d",
|
|
23
|
+
"fedora": "013cb59b-e24a-494c-83ab-55e4c4864a1e",
|
|
24
|
+
"fedora-20": "013cb59b-e24a-494c-83ab-55e4c4864a1e",
|
|
25
|
+
"fedora-19": "8bc2bfd6-d2a3-430d-8830-4b8c4c81d5dd",
|
|
26
26
|
"freebsd": "f0b8595d-128e-4514-a5cc-847429dcfa6b",
|
|
27
27
|
"freebsd-10": "f0b8595d-128e-4514-a5cc-847429dcfa6b",
|
|
28
28
|
"freebsd-10.0": "f0b8595d-128e-4514-a5cc-847429dcfa6b",
|
|
29
|
-
"gentoo": "
|
|
30
|
-
"gentoo-14": "
|
|
31
|
-
"gentoo-14.
|
|
32
|
-
"opensuse": "
|
|
33
|
-
"opensuse-13": "
|
|
34
|
-
"opensuse-13.1": "
|
|
35
|
-
"redhat": "
|
|
36
|
-
"redhat-6": "
|
|
37
|
-
"redhat-6.5": "
|
|
38
|
-
"redhat-5": "
|
|
39
|
-
"redhat-5.10": "
|
|
40
|
-
"scientific": "
|
|
41
|
-
"scientific-6": "
|
|
42
|
-
"scientific-6.5": "
|
|
43
|
-
"ubuntu": "
|
|
44
|
-
"ubuntu-14": "
|
|
45
|
-
"ubuntu-14.04": "
|
|
46
|
-
"ubuntu-12": "
|
|
47
|
-
"ubuntu-12.04": "
|
|
48
|
-
"ubuntu-10": "
|
|
49
|
-
"ubuntu-10.04": "
|
|
50
|
-
"vyatta": "
|
|
51
|
-
"vyatta-6": "
|
|
52
|
-
"vyatta-6.
|
|
53
|
-
"vyatta-6.
|
|
29
|
+
"gentoo": "f7d43bc4-9a70-4c94-a585-06ab44cee245",
|
|
30
|
+
"gentoo-14": "f7d43bc4-9a70-4c94-a585-06ab44cee245",
|
|
31
|
+
"gentoo-14.4": "f7d43bc4-9a70-4c94-a585-06ab44cee245",
|
|
32
|
+
"opensuse": "4515ffe6-c5b9-4a3a-8634-20c0b46a1e1f",
|
|
33
|
+
"opensuse-13": "4515ffe6-c5b9-4a3a-8634-20c0b46a1e1f",
|
|
34
|
+
"opensuse-13.1": "4515ffe6-c5b9-4a3a-8634-20c0b46a1e1f",
|
|
35
|
+
"redhat": "a64feb9f-7401-4d0c-a79f-3d78ff65bed7",
|
|
36
|
+
"redhat-6": "a64feb9f-7401-4d0c-a79f-3d78ff65bed7",
|
|
37
|
+
"redhat-6.5": "a64feb9f-7401-4d0c-a79f-3d78ff65bed7",
|
|
38
|
+
"redhat-5": "2f2950aa-de49-46e6-9c35-72eee138f2bc",
|
|
39
|
+
"redhat-5.10": "2f2950aa-de49-46e6-9c35-72eee138f2bc",
|
|
40
|
+
"scientific": "b6835223-c1f5-4cc4-9e93-361ad04038a7",
|
|
41
|
+
"scientific-6": "b6835223-c1f5-4cc4-9e93-361ad04038a7",
|
|
42
|
+
"scientific-6.5": "b6835223-c1f5-4cc4-9e93-361ad04038a7",
|
|
43
|
+
"ubuntu": "cc6e0096-84f9-4beb-a21e-d80a11a769d8",
|
|
44
|
+
"ubuntu-14": "cc6e0096-84f9-4beb-a21e-d80a11a769d8",
|
|
45
|
+
"ubuntu-14.04": "cc6e0096-84f9-4beb-a21e-d80a11a769d8",
|
|
46
|
+
"ubuntu-12": "ea322e55-0a03-48d6-b812-d9cf77fd05e7",
|
|
47
|
+
"ubuntu-12.04": "ea322e55-0a03-48d6-b812-d9cf77fd05e7",
|
|
48
|
+
"ubuntu-10": "9c6765df-7fe4-4fd9-8308-a78faf399651",
|
|
49
|
+
"ubuntu-10.04": "9c6765df-7fe4-4fd9-8308-a78faf399651",
|
|
50
|
+
"vyatta": "4b575633-64fd-4c04-93b1-0903f91451cf",
|
|
51
|
+
"vyatta-6": "4b575633-64fd-4c04-93b1-0903f91451cf",
|
|
52
|
+
"vyatta-6.7": "4b575633-64fd-4c04-93b1-0903f91451cf",
|
|
53
|
+
"vyatta-6.7R2": "4b575633-64fd-4c04-93b1-0903f91451cf",
|
|
54
54
|
"windows": "d868bbb5-0f01-4938-b5f5-dfc2b55b6336",
|
|
55
55
|
"windows-2012": "d868bbb5-0f01-4938-b5f5-dfc2b55b6336",
|
|
56
56
|
"windows-2012R2": "d868bbb5-0f01-4938-b5f5-dfc2b55b6336",
|
|
57
|
-
"windows-2008": "
|
|
58
|
-
"windows-2008R2": "
|
|
59
|
-
"windows-2008R2SP1": "
|
|
57
|
+
"windows-2008": "7ca7581e-6c2c-42cc-8677-7a3c8d16f9ff",
|
|
58
|
+
"windows-2008R2": "7ca7581e-6c2c-42cc-8677-7a3c8d16f9ff",
|
|
59
|
+
"windows-2008R2SP1": "7ca7581e-6c2c-42cc-8677-7a3c8d16f9ff"
|
|
60
60
|
}
|
data/helpers/dump_image_list.rb
CHANGED
|
@@ -5,7 +5,7 @@ require 'fog'
|
|
|
5
5
|
require 'json'
|
|
6
6
|
|
|
7
7
|
i_care_about = {
|
|
8
|
-
'Arch 2014.
|
|
8
|
+
'Arch 2014.10 (PVHVM)' => %w(arch arch-2014 arch-2014.10),
|
|
9
9
|
'CentOS 7 (PVHVM)' => %w(centos centos-7 centos-7.0),
|
|
10
10
|
'CentOS 6.5 (PVHVM)' => %w(centos-6 centos-6.5),
|
|
11
11
|
'CentOS 5.10' => %w(centos-5 centos-5.10),
|
|
@@ -13,13 +13,13 @@ i_care_about = {
|
|
|
13
13
|
'CoreOS (Beta)' => %w(coreos-beta),
|
|
14
14
|
'CoreOS (Alpha)' => %w(coreos-alpha),
|
|
15
15
|
'Debian 7 (Wheezy) (PVHVM)' => %w(debian debian-7 debian-7.6),
|
|
16
|
-
'Debian 6
|
|
16
|
+
'Debian 6 (Squeeze)' => %w(debian-6 debian-6.0.10),
|
|
17
17
|
'Debian Testing (Jessie) (PVHVM)' => %w(debian-testing),
|
|
18
18
|
'Debian Unstable (Sid) (PVHVM)' => %w(debian-unstable),
|
|
19
19
|
'Fedora 20 (Heisenbug) (PVHVM)' => %w(fedora fedora-20),
|
|
20
20
|
"Fedora 19 (Schrodinger's Cat) (PVHVM)" => %w(fedora-19),
|
|
21
21
|
'FreeBSD 10.0' => %w(freebsd freebsd-10 freebsd-10.0),
|
|
22
|
-
'Gentoo 14.
|
|
22
|
+
'Gentoo 14.4 (PVHVM)' => %w(gentoo gentoo-14 gentoo-14.4),
|
|
23
23
|
'OpenSUSE 13.1 (PVHVM)' => %w(opensuse opensuse-13 opensuse-13.1),
|
|
24
24
|
'Red Hat Enterprise Linux 6.5 (PVHVM)' => %w(redhat redhat-6 redhat-6.5),
|
|
25
25
|
'Red Hat Enterprise Linux 5.10' => %w(redhat-5 redhat-5.10),
|
|
@@ -27,7 +27,7 @@ i_care_about = {
|
|
|
27
27
|
'Ubuntu 14.04 LTS (Trusty Tahr) (PVHVM)' => %w(ubuntu ubuntu-14 ubuntu-14.04),
|
|
28
28
|
'Ubuntu 12.04 LTS (Precise Pangolin) (PVHVM)' => %w(ubuntu-12 ubuntu-12.04),
|
|
29
29
|
'Ubuntu 10.04 LTS (Lucid Lynx)' => %w(ubuntu-10 ubuntu-10.04),
|
|
30
|
-
'Vyatta Network OS 6.
|
|
30
|
+
'Vyatta Network OS 6.7R2' => %w(vyatta vyatta-6 vyatta-6.7 vyatta-6.7R2),
|
|
31
31
|
'Windows Server 2012 R2' => %w(windows windows-2012 windows-2012R2),
|
|
32
32
|
'Windows Server 2008 R2 SP1' => %w(windows-2008
|
|
33
33
|
windows-2008R2
|
|
@@ -120,12 +120,12 @@ describe Kitchen::Driver::Rackspace do
|
|
|
120
120
|
end
|
|
121
121
|
|
|
122
122
|
platforms = {
|
|
123
|
-
'ubuntu-12.04' => '
|
|
124
|
-
'ubuntu-12' => '
|
|
125
|
-
'ubuntu' => '
|
|
126
|
-
'centos-5.10' => '
|
|
127
|
-
'centos-5' => '
|
|
128
|
-
'centos' => '
|
|
123
|
+
'ubuntu-12.04' => 'ea322e55-0a03-48d6-b812-d9cf77fd05e7',
|
|
124
|
+
'ubuntu-12' => 'ea322e55-0a03-48d6-b812-d9cf77fd05e7',
|
|
125
|
+
'ubuntu' => 'cc6e0096-84f9-4beb-a21e-d80a11a769d8',
|
|
126
|
+
'centos-5.10' => '77bfb55e-2ea0-4181-9ba5-28bbd6ce7adc',
|
|
127
|
+
'centos-5' => '77bfb55e-2ea0-4181-9ba5-28bbd6ce7adc',
|
|
128
|
+
'centos' => '08d36361-5f64-4bc8-85ee-1a64a8ec8fd5'
|
|
129
129
|
}
|
|
130
130
|
platforms.each do |platform, id|
|
|
131
131
|
context "name is #{platform}" do
|
|
@@ -228,6 +228,20 @@ describe Kitchen::Driver::Rackspace do
|
|
|
228
228
|
driver.create(state)
|
|
229
229
|
end
|
|
230
230
|
end
|
|
231
|
+
|
|
232
|
+
context 'a Fog error' do
|
|
233
|
+
let(:driver) do
|
|
234
|
+
d = Kitchen::Driver::Rackspace.new(config)
|
|
235
|
+
allow(d).to receive(:create_server).and_raise(Fog::Errors::Error,
|
|
236
|
+
'Uhoh')
|
|
237
|
+
d
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
it 're-raises the error' do
|
|
241
|
+
expect { driver.create(state) }.to raise_error(Kitchen::ActionFailed,
|
|
242
|
+
'Uhoh')
|
|
243
|
+
end
|
|
244
|
+
end
|
|
231
245
|
end
|
|
232
246
|
|
|
233
247
|
describe '#create and rackconnect_wait' do
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kitchen-rackspace
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.13.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jonathan Hartman
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-10-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: test-kitchen
|