kitchen-rackspace 0.15.1 → 0.16.0
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/README.md +19 -9
- data/data/images.json +54 -47
- data/helpers/dump_image_list.rb +13 -4
- data/kitchen-rackspace.gemspec +2 -2
- data/lib/kitchen/driver/rackspace_version.rb +1 -1
- data/spec/kitchen/driver/rackspace_spec.rb +5 -5
- 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: 77183515480d783a6309399183618c9a490f2810
|
4
|
+
data.tar.gz: 9022359c458195ab0a51695cd325db79d7320fbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a15470769adb5a2be4af8d93ccb91686edef7636d101e1feb7d49b191d2eaf306d8e70320de4be2fdef978141d75a6267a2f4dfd526eca6f06311d094d0111d7
|
7
|
+
data.tar.gz: a5ba22d5f7e372ef224cd09b5c1f6cd214d48128fb7dd97adfe5ae7b6730a8e1cba54cc4b8867eae4513d9d87938d696b8d50f99386f57a388b3bb8782d81f4e
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
# 0.16.0 / 2015-04-15
|
2
|
+
|
3
|
+
* PR [#50][] - Update image IDs, support 'centos-7.0' in addition to
|
4
|
+
'centos-7'; via [@martinb3][]
|
5
|
+
|
1
6
|
# 0.15.1 / 2015-04-03
|
2
7
|
|
3
8
|
* PR [#49][] - Update image IDs, re-add CentOS point release numbers; via
|
@@ -129,6 +134,8 @@ boot times, via [@coderanger][]
|
|
129
134
|
|
130
135
|
* Initial release! Woo!
|
131
136
|
|
137
|
+
[#50]: https://github.com/test-kitchen/kitchen-rackspace/pull/50
|
138
|
+
[#49]: https://github.com/test-kitchen/kitchen-rackspace/pull/49
|
132
139
|
[#48]: https://github.com/test-kitchen/kitchen-rackspace/pull/48
|
133
140
|
[#46]: https://github.com/test-kitchen/kitchen-rackspace/pull/46
|
134
141
|
[#45]: https://github.com/test-kitchen/kitchen-rackspace/pull/45
|
data/README.md
CHANGED
@@ -1,17 +1,25 @@
|
|
1
|
-
[![Gem Version](https://
|
2
|
-
[![Build Status](https://
|
3
|
-
[![Code Climate](https://
|
4
|
-
[![Coverage Status](https://
|
5
|
-
[![Dependency Status](https://
|
1
|
+
[![Gem Version](https://img.shields.io/gem/v/kitchen-rackspace.svg)][gem]
|
2
|
+
[![Build Status](https://img.shields.io/travis/test-kitchen/kitchen-rackspace.svg)][travis]
|
3
|
+
[![Code Climate](https://img.shields.io/codeclimate/github/test-kitchen/kitchen-rackspace.svg)][codeclimate]
|
4
|
+
[![Coverage Status](https://img.shields.io/coveralls/test-kitchen/kitchen-rackspace.svg)][coveralls]
|
5
|
+
[![Dependency Status](https://img.shields.io/gemnasium/test-kitchen/kitchen-rackspace.svg)][gemnasium]
|
6
6
|
|
7
|
-
|
7
|
+
[gem]: https://rubygems.org/gems/kitchen-rackspace
|
8
|
+
[travis]: https://travis-ci.org/test-kitchen/kitchen-rackspace
|
9
|
+
[codeclimate]: https://codeclimate.com/github/test-kitchen/kitchen-rackspace
|
10
|
+
[coveralls]: https://coveralls.io/r/test-kitchen/kitchen-rackspace
|
11
|
+
[gemnasium]: https://gemnasium.com/test-kitchen/kitchen-rackspace
|
12
|
+
|
13
|
+
Kitchen::Rackspace
|
14
|
+
==================
|
8
15
|
|
9
16
|
A Rackspace Cloud Servers driver for Test Kitchen!
|
10
17
|
|
11
18
|
Shamelessly copied from [Fletcher Nichol](https://github.com/fnichol)'s
|
12
19
|
awesome work on an [EC2 driver](https://github.com/opscode/kitchen-ec2).
|
13
20
|
|
14
|
-
|
21
|
+
Installation
|
22
|
+
------------
|
15
23
|
|
16
24
|
Add this line to your application's Gemfile:
|
17
25
|
|
@@ -25,7 +33,8 @@ Or install it yourself as:
|
|
25
33
|
|
26
34
|
$ gem install kitchen-rackspace
|
27
35
|
|
28
|
-
|
36
|
+
Usage
|
37
|
+
-----
|
29
38
|
|
30
39
|
Provide, at a minimum, the required driver options in your `.kitchen.yml` file:
|
31
40
|
|
@@ -64,7 +73,8 @@ Some configs are also derived based on your .ssh directory, specifically the
|
|
64
73
|
- `~/.ssh/identity.pub`
|
65
74
|
- `~/.ssh/id_ecdsa.pub`
|
66
75
|
|
67
|
-
|
76
|
+
Contributing
|
77
|
+
------------
|
68
78
|
|
69
79
|
1. Fork it
|
70
80
|
2. `bundle install`
|
data/data/images.json
CHANGED
@@ -1,53 +1,60 @@
|
|
1
1
|
{
|
2
|
-
"arch": "
|
3
|
-
"arch-2015": "
|
4
|
-
"arch-2015.
|
5
|
-
"centos": "
|
6
|
-
"centos-5": "
|
7
|
-
"centos-5.11": "
|
8
|
-
"centos-6": "
|
9
|
-
"centos-6.6": "
|
10
|
-
"centos-7": "
|
2
|
+
"arch": "7b1b7952-774a-48ba-bc87-5f7ef9cffbf9",
|
3
|
+
"arch-2015": "7b1b7952-774a-48ba-bc87-5f7ef9cffbf9",
|
4
|
+
"arch-2015.4": "7b1b7952-774a-48ba-bc87-5f7ef9cffbf9",
|
5
|
+
"centos": "af2606d8-14a8-4ba7-a2f7-04fa3660251d",
|
6
|
+
"centos-5": "b427b83e-a982-41ea-896c-a159c36db6cc",
|
7
|
+
"centos-5.11": "b427b83e-a982-41ea-896c-a159c36db6cc",
|
8
|
+
"centos-6": "6b025595-a83b-436b-b37d-d5b212b5ddfc",
|
9
|
+
"centos-6.6": "6b025595-a83b-436b-b37d-d5b212b5ddfc",
|
10
|
+
"centos-7": "af2606d8-14a8-4ba7-a2f7-04fa3660251d",
|
11
|
+
"centos-7.0": "af2606d8-14a8-4ba7-a2f7-04fa3660251d",
|
11
12
|
"coreos": "c412af3b-f9a6-4ad1-a9e9-4aabca8073d3",
|
12
|
-
"coreos-0": "
|
13
|
-
"coreos-alpha": "
|
14
|
-
"coreos-beta": "
|
13
|
+
"coreos-0": "c412af3b-f9a6-4ad1-a9e9-4aabca8073d3",
|
14
|
+
"coreos-alpha": "7cb765c5-be50-454e-8d55-c931bcdc256d",
|
15
|
+
"coreos-beta": "eda62992-7896-400f-8fe1-e08617137923",
|
15
16
|
"coreos-stable": "c412af3b-f9a6-4ad1-a9e9-4aabca8073d3",
|
16
|
-
"debian": "
|
17
|
-
"debian-6": "
|
18
|
-
"debian-6.10": "
|
19
|
-
"debian-7": "
|
20
|
-
"debian-
|
21
|
-
"debian-
|
22
|
-
"debian-
|
23
|
-
"
|
24
|
-
"
|
25
|
-
"fedora
|
26
|
-
"
|
27
|
-
"
|
28
|
-
"
|
29
|
-
"
|
30
|
-
"
|
31
|
-
"
|
32
|
-
"
|
33
|
-
"
|
34
|
-
"
|
35
|
-
"
|
36
|
-
"
|
37
|
-
"
|
38
|
-
"
|
39
|
-
"redhat
|
40
|
-
"redhat-
|
41
|
-
"
|
42
|
-
"
|
43
|
-
"
|
44
|
-
"
|
45
|
-
"
|
46
|
-
"
|
47
|
-
"
|
48
|
-
"
|
49
|
-
"
|
50
|
-
"
|
17
|
+
"debian": "1843796e-fcc5-409b-8f61-542347fe4ec4",
|
18
|
+
"debian-6": "874e0441-f7b7-456e-9c13-dd3f630d187c",
|
19
|
+
"debian-6.10": "874e0441-f7b7-456e-9c13-dd3f630d187c",
|
20
|
+
"debian-7": "1843796e-fcc5-409b-8f61-542347fe4ec4",
|
21
|
+
"debian-7.0": "1843796e-fcc5-409b-8f61-542347fe4ec4",
|
22
|
+
"debian-8": "1eef7229-45f5-42f0-bfe4-4bfad78c0af0",
|
23
|
+
"debian-8.0": "1eef7229-45f5-42f0-bfe4-4bfad78c0af0",
|
24
|
+
"debian-testing": "1eef7229-45f5-42f0-bfe4-4bfad78c0af0",
|
25
|
+
"debian-unstable": "7a049d7f-2538-4a80-9823-54e9af5fd57c",
|
26
|
+
"fedora": "02232c34-46b4-422d-a424-e5ef61297722",
|
27
|
+
"fedora-20": "f776fe34-5b1a-4ec9-808e-229596507d4c",
|
28
|
+
"fedora-20.0": "f776fe34-5b1a-4ec9-808e-229596507d4c",
|
29
|
+
"fedora-21": "02232c34-46b4-422d-a424-e5ef61297722",
|
30
|
+
"fedora-21.0": "02232c34-46b4-422d-a424-e5ef61297722",
|
31
|
+
"freebsd": "ee3041af-ab9f-4b7f-aa59-07d19606e424",
|
32
|
+
"freebsd-10": "ee3041af-ab9f-4b7f-aa59-07d19606e424",
|
33
|
+
"freebsd-10.0": "ee3041af-ab9f-4b7f-aa59-07d19606e424",
|
34
|
+
"gentoo": "c511e004-8287-4192-827b-e52f752b2942",
|
35
|
+
"gentoo-15": "c511e004-8287-4192-827b-e52f752b2942",
|
36
|
+
"gentoo-15.2": "c511e004-8287-4192-827b-e52f752b2942",
|
37
|
+
"opensuse": "5a22b877-e82e-4177-a130-753e3e112e37",
|
38
|
+
"opensuse-13": "5a22b877-e82e-4177-a130-753e3e112e37",
|
39
|
+
"opensuse-13.2": "5a22b877-e82e-4177-a130-753e3e112e37",
|
40
|
+
"redhat": "ff28d854-3edd-4bad-9897-e457e8b1e849",
|
41
|
+
"redhat-5": "a8552c7e-ebc2-48c0-ad00-be56fb29b302",
|
42
|
+
"redhat-5.11": "a8552c7e-ebc2-48c0-ad00-be56fb29b302",
|
43
|
+
"redhat-6": "14369199-08bf-4ac0-8bc0-d9e9881bdad4",
|
44
|
+
"redhat-6.6": "14369199-08bf-4ac0-8bc0-d9e9881bdad4",
|
45
|
+
"redhat-7": "ff28d854-3edd-4bad-9897-e457e8b1e849",
|
46
|
+
"redhat-7.0": "ff28d854-3edd-4bad-9897-e457e8b1e849",
|
47
|
+
"scientific": "a22d2fb5-25ac-472e-b91c-0934e930594c",
|
48
|
+
"scientific-6": "17b79103-9312-4d66-a5ea-be018bbd3f9d",
|
49
|
+
"scientific-6.6": "17b79103-9312-4d66-a5ea-be018bbd3f9d",
|
50
|
+
"scientific-7": "a22d2fb5-25ac-472e-b91c-0934e930594c",
|
51
|
+
"scientific-7.0": "a22d2fb5-25ac-472e-b91c-0934e930594c",
|
52
|
+
"ubuntu": "668b0764-4936-4eec-a2f2-3b5bb2c40b26",
|
53
|
+
"ubuntu-12": "ca9ab240-5fe5-43a4-b936-7dc5009cc67f",
|
54
|
+
"ubuntu-12.04": "ca9ab240-5fe5-43a4-b936-7dc5009cc67f",
|
55
|
+
"ubuntu-14": "668b0764-4936-4eec-a2f2-3b5bb2c40b26",
|
56
|
+
"ubuntu-14.04": "6f29d6a6-9972-4ae0-aa80-040fa2d6a9cf",
|
57
|
+
"ubuntu-14.10": "668b0764-4936-4eec-a2f2-3b5bb2c40b26",
|
51
58
|
"vyatta": "07c16842-db34-449a-90ac-e8f05dd8564e",
|
52
59
|
"vyatta-6": "07c16842-db34-449a-90ac-e8f05dd8564e",
|
53
60
|
"vyatta-6.7": "07c16842-db34-449a-90ac-e8f05dd8564e",
|
data/helpers/dump_image_list.rb
CHANGED
@@ -4,8 +4,12 @@
|
|
4
4
|
require 'fog'
|
5
5
|
require 'json'
|
6
6
|
|
7
|
+
def whole?(x)
|
8
|
+
(x - x.floor) < 1e-6
|
9
|
+
end
|
10
|
+
|
7
11
|
i_care_about = {
|
8
|
-
'Arch 2015.
|
12
|
+
'Arch 2015.4 (PVHVM)' => %w(arch arch-2015 arch-2015.4),
|
9
13
|
'CentOS 7 (PVHVM)' => %w(centos centos-7),
|
10
14
|
'CentOS 6 (PVHVM)' => %w(centos-6),
|
11
15
|
'CentOS 5 (PV)' => %w(centos-5),
|
@@ -19,7 +23,7 @@ i_care_about = {
|
|
19
23
|
'Fedora 21 (PVHVM)' => %w(fedora fedora-21),
|
20
24
|
'Fedora 20 (Heisenbug) (PVHVM)' => %w(fedora-20),
|
21
25
|
'FreeBSD 10 (PVHVM)' => %w(freebsd freebsd-10),
|
22
|
-
'Gentoo 15.
|
26
|
+
'Gentoo 15.2 (PVHVM)' => %w(gentoo gentoo-15 gentoo-15.2),
|
23
27
|
'OpenSUSE 13.2 (PVHVM)' => %w(opensuse opensuse-13 opensuse-13.2),
|
24
28
|
'Red Hat Enterprise Linux 7 (PVHVM)' => %w(redhat redhat-7),
|
25
29
|
'Red Hat Enterprise Linux 6 (PVHVM)' => %w(redhat-6),
|
@@ -70,8 +74,13 @@ compute.images.select { |i| i_care_about.keys.include?(i.name) }.each do |img|
|
|
70
74
|
distro = distro_id.split('.').last
|
71
75
|
end
|
72
76
|
|
73
|
-
|
74
|
-
|
77
|
+
res["#{distro}-#{version}"] = img.id
|
78
|
+
|
79
|
+
# if it's a whole number non-zero version, also add
|
80
|
+
# a dot-zero (centos-7 vs centos-7.0)
|
81
|
+
if version != '0' && version =~ /^\s*\d+\s*$/
|
82
|
+
res["#{distro}-#{version}.0"] = img.id
|
83
|
+
end
|
75
84
|
end
|
76
85
|
|
77
86
|
i_care_about[img.name].each { |a| res[a] = img.id }
|
data/kitchen-rackspace.gemspec
CHANGED
@@ -15,8 +15,8 @@ Gem::Specification.new do |spec|
|
|
15
15
|
spec.license = 'Apache'
|
16
16
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0")
|
18
|
-
spec.executables = spec.files.grep(
|
19
|
-
spec.test_files = spec.files.grep(
|
18
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
19
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
20
|
spec.require_paths = %w(lib)
|
21
21
|
|
22
22
|
spec.required_ruby_version = '>= 1.9.3'
|
@@ -103,11 +103,11 @@ describe Kitchen::Driver::Rackspace do
|
|
103
103
|
end
|
104
104
|
|
105
105
|
platforms = {
|
106
|
-
'ubuntu-12.04' => '
|
107
|
-
'ubuntu-12' => '
|
108
|
-
'ubuntu' => '
|
109
|
-
'centos-5' => '
|
110
|
-
'centos' => '
|
106
|
+
'ubuntu-12.04' => 'ca9ab240-5fe5-43a4-b936-7dc5009cc67f',
|
107
|
+
'ubuntu-12' => 'ca9ab240-5fe5-43a4-b936-7dc5009cc67f',
|
108
|
+
'ubuntu' => '668b0764-4936-4eec-a2f2-3b5bb2c40b26',
|
109
|
+
'centos-5' => 'b427b83e-a982-41ea-896c-a159c36db6cc',
|
110
|
+
'centos' => 'af2606d8-14a8-4ba7-a2f7-04fa3660251d'
|
111
111
|
}
|
112
112
|
platforms.each do |platform, id|
|
113
113
|
context "name is #{platform}" 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.16.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: 2015-04-
|
11
|
+
date: 2015-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-kitchen
|
@@ -206,7 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
206
206
|
version: '0'
|
207
207
|
requirements: []
|
208
208
|
rubyforge_project:
|
209
|
-
rubygems_version: 2.4.
|
209
|
+
rubygems_version: 2.4.6
|
210
210
|
signing_key:
|
211
211
|
specification_version: 4
|
212
212
|
summary: A Test Kitchen Rackspace driver built on Fog
|