kitchen-openstack 3.5.1 → 3.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7e7db233a71d287401a7403affdb1d4eee850bf9
4
- data.tar.gz: d2fb24f0f65476236165f7bbd1dd35feefe404ac
3
+ metadata.gz: fd5380a56bf4934435738cf4675e3e076b7af6ca
4
+ data.tar.gz: 723397c02f27b9201d0018f2c62755af0e766115
5
5
  SHA512:
6
- metadata.gz: ea06e965c4e275d377977ec323a1134957f663192dbf0cfb1caba4733f0f38e0970b070bdfd5fe05858036514f221c4aa1f412847d1fbf47dd81976067ca61de
7
- data.tar.gz: 84154e6004899ccc99eb8433f7596bcca52b398a046d06c4338275aa03418d7b11aaf6733ff571332fed7a766cf8b2f25b0176c685b2b3a0978ff2bee69e65a4
6
+ metadata.gz: 45f1028de02e5b5ef2e0ad6c9d2482dc90e40a9f4315a2d3b9d4a79b19475bebc721651ec3b8dd09226e28c10b73a28095d0f1c6e2e51c104f02ef7777b8bff1
7
+ data.tar.gz: 51533dd416982cb9a7c209dfd78c8c46a167262e8b5804275d9f6688e2083cebc8503aad3eb212aba3490e5e1ccb58207dc99d68683a95e7aa421ef88b1dce20
@@ -1,7 +1,20 @@
1
1
  # Change Log
2
2
 
3
- ## [v3.5.1](https://github.com/test-kitchen/kitchen-openstack/tree/v3.5.1)
3
+ ## [v3.6.0](https://github.com/test-kitchen/kitchen-openstack/tree/v3.6.0)
4
4
 
5
+ [Full Changelog](https://github.com/test-kitchen/kitchen-openstack/compare/v3.5.1...v3.6.0)
6
+
7
+ **Closed issues:**
8
+
9
+ - Is there a way to re-use volume? [\#181](https://github.com/test-kitchen/kitchen-openstack/issues/181)
10
+ - private method `select' called for nil:NilClass [\#177](https://github.com/test-kitchen/kitchen-openstack/issues/177)
11
+ - The request you have made requires authentication [\#167](https://github.com/test-kitchen/kitchen-openstack/issues/167)
12
+
13
+ **Merged pull requests:**
14
+
15
+ - Support for v3 [\#179](https://github.com/test-kitchen/kitchen-openstack/pull/179) ([andybrucenet](https://github.com/andybrucenet))
16
+
17
+ ## [v3.5.1](https://github.com/test-kitchen/kitchen-openstack/tree/v3.5.1) (2017-11-10)
5
18
  [Full Changelog](https://github.com/test-kitchen/kitchen-openstack/compare/v3.5.0...v3.5.1)
6
19
 
7
20
  **Closed issues:**
data/README.md CHANGED
@@ -50,6 +50,7 @@ driver:
50
50
  openstack_username: [YOUR OPENSTACK USERNAME]
51
51
  openstack_api_key: [YOUR OPENSTACK API KEY] # AKA your OpenStack Password
52
52
  openstack_auth_url: [YOUR OPENSTACK AUTH URL] # if you are using v3, API_URL/v3/auth/tokens
53
+ openstack_domain_id: [default is 'default'; otherwise YOUR OPENSTACK DOMAIN ID]
53
54
  require_chef_omnibus: [e.g. 'true' or a version number if you need Chef]
54
55
  image_ref: [SERVER IMAGE ID]
55
56
  flavor_ref: [SERVER FLAVOR ID]
@@ -387,6 +388,7 @@ driver:
387
388
  openstack_username: [YOUR OPENSTACK USERNAME]
388
389
  openstack_api_key: [YOUR OPENSTACK API KEY] # AKA your OPENSTACK PASSWORD
389
390
  openstack_auth_url: [YOUR OPENSTACK AUTH URL]
391
+ openstack_domain_id: [default is 'default'; otherwise YOUR OPENSTACK DOMAIN ID]
390
392
  require_chef_omnibus: [e.g. 'true' or a version number if you need Chef]
391
393
  image_ref: [SERVER IMAGE ID]
392
394
  flavor_ref: [SERVER FLAVOR ID]
@@ -39,7 +39,7 @@ module Kitchen
39
39
  default_config :key_name, nil
40
40
  default_config :port, "22"
41
41
  default_config :use_ipv6, false
42
- default_config :openstack_tenant, nil
42
+ default_config :openstack_project_name, nil
43
43
  default_config :openstack_region, nil
44
44
  default_config :openstack_service_name, nil
45
45
  default_config :openstack_network_name, nil
@@ -143,7 +143,7 @@ module Kitchen
143
143
  end
144
144
 
145
145
  def required_server_settings
146
- %i{openstack_username openstack_api_key openstack_auth_url}
146
+ %i{openstack_username openstack_api_key openstack_auth_url openstack_domain_id}
147
147
  end
148
148
 
149
149
  def optional_server_settings
@@ -4,7 +4,7 @@
4
4
  # Author:: Jonathan Hartman (<j@p4nt5.com>)
5
5
  #
6
6
  # Copyright (C) 2013-2015, Jonathan Hartman
7
- # Copyright (C) 2015-2017, Chef Software Inc
7
+ # Copyright (C) 2015-2018, Chef Software Inc
8
8
  #
9
9
  # Licensed under the Apache License, Version 2.0 (the "License");
10
10
  # you may not use this file except in compliance with the License.
@@ -23,6 +23,6 @@ module Kitchen
23
23
  #
24
24
  # @author Jonathan Hartman <j@p4nt5.com>
25
25
  module Driver
26
- OPENSTACK_VERSION = "3.5.1".freeze
26
+ OPENSTACK_VERSION = "3.6.0".freeze
27
27
  end
28
28
  end
@@ -13,9 +13,10 @@ describe Kitchen::Driver::Openstack::Volume do
13
13
  let(:os) do
14
14
  {
15
15
  openstack_username: "twilight",
16
+ openstack_domain_id: "default",
16
17
  openstack_api_key: "sparkle",
17
18
  openstack_auth_url: "http:",
18
- openstack_tenant: "trixie",
19
+ openstack_project_name: "trixie",
19
20
  openstack_region: "syd",
20
21
  openstack_service_name: "the_service",
21
22
  }
@@ -71,7 +71,7 @@ describe Kitchen::Driver::Openstack do
71
71
 
72
72
  nils = %i{
73
73
  server_name
74
- openstack_tenant
74
+ openstack_project_name
75
75
  openstack_region
76
76
  openstack_service_name
77
77
  floating_ip_pool
@@ -100,7 +100,7 @@ describe Kitchen::Driver::Openstack do
100
100
  port: "2222",
101
101
  server_name: "puppy",
102
102
  server_name_prefix: "parsnip",
103
- openstack_tenant: "that_one",
103
+ openstack_project_name: "that_one",
104
104
  openstack_region: "atlantis",
105
105
  openstack_service_name: "the_service",
106
106
  floating_ip_pool: "swimmers",
@@ -170,9 +170,10 @@ describe Kitchen::Driver::Openstack do
170
170
  let(:config) do
171
171
  {
172
172
  openstack_username: "hello",
173
+ openstack_domain_id: "default",
173
174
  openstack_api_key: "world",
174
175
  openstack_auth_url: "http:",
175
- openstack_tenant: "www",
176
+ openstack_project_name: "www",
176
177
  glance_cache_wait_timeout: 600,
177
178
  disable_ssl_validation: false,
178
179
  }
@@ -313,9 +314,10 @@ describe Kitchen::Driver::Openstack do
313
314
  let(:config) do
314
315
  {
315
316
  openstack_username: "a",
317
+ openstack_domain_id: "default",
316
318
  openstack_api_key: "b",
317
319
  openstack_auth_url: "http://",
318
- openstack_tenant: "me",
320
+ openstack_project_name: "me",
319
321
  openstack_region: "ORD",
320
322
  openstack_service_name: "stack",
321
323
  connection_options:
@@ -336,7 +338,7 @@ describe Kitchen::Driver::Openstack do
336
338
  describe "#required_server_settings" do
337
339
  it "returns the required settings for an OpenStack server" do
338
340
  expected = %i{
339
- openstack_username openstack_api_key openstack_auth_url
341
+ openstack_username openstack_api_key openstack_auth_url openstack_domain_id
340
342
  }
341
343
  expect(driver.send(:required_server_settings)).to eq(expected)
342
344
  end
@@ -345,7 +347,7 @@ describe Kitchen::Driver::Openstack do
345
347
  describe "#optional_server_settings" do
346
348
  it "returns the optional settings for an OpenStack server" do
347
349
  excluded = %i{
348
- openstack_username openstack_api_key openstack_auth_url
350
+ openstack_username openstack_api_key openstack_auth_url openstack_domain_id
349
351
  }
350
352
  expect(driver.send(:optional_server_settings)).not_to include(*excluded)
351
353
  end
@@ -355,9 +357,10 @@ describe Kitchen::Driver::Openstack do
355
357
  let(:config) do
356
358
  {
357
359
  openstack_username: "monkey",
360
+ openstack_domain_id: "default",
358
361
  openstack_api_key: "potato",
359
362
  openstack_auth_url: "http:",
360
- openstack_tenant: "link",
363
+ openstack_project_name: "link",
361
364
  openstack_region: "ord",
362
365
  openstack_service_name: "the_service",
363
366
  connection_options:
@@ -1366,9 +1369,10 @@ describe Kitchen::Driver::Openstack do
1366
1369
  let(:config) do
1367
1370
  {
1368
1371
  openstack_username: "a",
1372
+ openstack_domain_id: "default",
1369
1373
  openstack_api_key: "b",
1370
1374
  openstack_auth_url: "http://",
1371
- openstack_tenant: "me",
1375
+ openstack_project_name: "me",
1372
1376
  openstack_region: "ORD",
1373
1377
  openstack_service_name: "stack",
1374
1378
  image_ref: "22",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-openstack
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.1
4
+ version: 3.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Hartman
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-11-10 00:00:00.000000000 Z
12
+ date: 2018-03-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: test-kitchen