kitchen-oraclecloud 1.1.0 → 1.2.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: 4030df0beb8ad562f362d52cc386dca22c3a8b4d
4
- data.tar.gz: b46e49db29ef2e3c889def08b8cef8adfab110c7
3
+ metadata.gz: fdbbe56cce7d1b860c67b01e9641b29ac2680a06
4
+ data.tar.gz: ca3ec4105d1b7839846406da44483c0d54d881e3
5
5
  SHA512:
6
- metadata.gz: fd705eeb05173c11fe16a4bc47c804fee39e519d163727b393e0bb8dffdc215ed3508d933a497be640439b2105c376d3bac93971baebccf0629949cc690573f1
7
- data.tar.gz: b60f39669718346ed4e1b2a4c2235735548d16e3a4fffee2346d22871b3c3941728eb093daecc5ca1ef88516744f9eb11128b01cfba7b16b8f521bfe8582359d
6
+ metadata.gz: 217b1321a06357b698114d8ff340d71f04d244a0bb637c3febdee8bf1fcf5d36407f35a4d825023fad24b7dd566c1faf5561faa130a5c261075042a0368cc740
7
+ data.tar.gz: 324a21343ff0912e8a6a50d0178052d1974be0dfb599576ae72801824d68811b9c2cb26f2954e1e391318687eed14d3bc04e20cde4dbdce628346b124625a93b
@@ -0,0 +1,19 @@
1
+ language: ruby
2
+ cache: bundler
3
+ sudo: false
4
+
5
+ rvm:
6
+ - 2.0.0
7
+ - 2.1
8
+ - 2.2
9
+
10
+ branches:
11
+ only:
12
+ - master
13
+
14
+ notifications:
15
+ slack:
16
+ on_success: change
17
+ on_failure: always
18
+ rooms:
19
+ secure: iESaLLqy5RK9os0fB83vXF0DgmMaWE8/tuhEg6rL6m2YlHq+mHwT5Hoc+YIFHbzl4PXS07i99ICFpGiUXuyHSn0jrNrI4z4BRA+3EZ+DLmhHGis3znWZJ1SxrCjYCZazj0SFG49mwaZjeggQNafPm/++sqzVVI5zJuLx+92Dwuztr4sa20Oa2UOKtCsgkNojmNwTKNqlN+bh+/pX7IH5rVUDMkd3k8Sdrd8Jk0AblztGvXJO/Sn+L6Ud9NAb38bVkC7Pw8Zows6Icw4ioCIwH4tl/AI6NwfvHJu33UqoEZu/8aBkSvgjGi+hTaztcwK9xMpK70AZlYEqNS4bVTAw/otAbw+xnqWUQfL3Kc2MjSpxdiLDXhELtV9jV/VlnDwX3L79B0sICKFdcLHrG8I4tMgCDxYTNjUHY+UcccHrPsYwXn01lkCc6Pa7LZnCqS69/2vVfdb8i2LOaEvMvj9uLeeADu2EHeqM0VV1Y58dRCef7Ls8cOiOZEqghG24H1Cu26vHKamLUMZu0ctYOOmxGP159j1iwCkygb2k10BXTGdFuMch3GE3RfwaPFk8UZoY+0tQNP5OGiHhhLyLo16yxXQuDyHq5kkSMuhT/34kdY2cZuJAi8U79YJkNb29CGPUeBJ1QqXulYg/xPKW03FBWxpbkPjdPr9WTbpMGOlhBwc=
@@ -1,5 +1,8 @@
1
1
  # kitchen-oraclecloud
2
2
 
3
+ ## v1.2.0 (2015-12-22)
4
+ [pr#3](https://github.com/chef-partners/kitchen-oraclecloud/pull/3) Added support for private cloud deployments
5
+
3
6
  ## v1.1.0 (2015-12-07)
4
7
  [pr#2](https://github.com/chef-partners/kitchen-oraclecloud/pull/2) Updated identity domain method calls to match recent changes in the underlying Oracle Cloud client library
5
8
 
data/README.md CHANGED
@@ -58,6 +58,7 @@ Other options that you can set include:
58
58
  * **public_ip**: optional; set to `pool` if you want Oracle Cloud to assign an IP from the default pool, or specify an existing IP Reservation name
59
59
  * **wait_time**: optional; number of seconds to wait for a server to start. Defaults to 600.
60
60
  * **refresh_time**: optional; number of seconds sleep between checks on whether a server has started. Defaults to 2.
61
+ * **private_cloud**: optional; set to `true` if the API endpoint you are using is part of an Oracle Cloud private cloud you are running behind your company's firewall. This is required due to the differences in identity_domain handling between the public and private cloud offerings.
61
62
 
62
63
  All of these settings can be set per-platform, as shown above, or can be set globally in the `driver` section of your .kitchen.yml:
63
64
 
data/Rakefile CHANGED
@@ -1 +1,8 @@
1
1
  require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
+ require 'rubocop/rake_task'
4
+
5
+ RSpec::Core::RakeTask.new(:spec)
6
+ RuboCop::RakeTask.new(:style)
7
+
8
+ task default: [ :spec, :style ]
@@ -24,4 +24,5 @@ Gem::Specification.new do |spec|
24
24
  spec.add_development_dependency 'bundler', '~> 1.7'
25
25
  spec.add_development_dependency 'rake', '~> 10.0'
26
26
  spec.add_development_dependency 'rspec', '~> 3.2'
27
+ spec.add_development_dependency 'rubocop', '~> 0.35'
27
28
  end
@@ -41,6 +41,7 @@ module Kitchen
41
41
  default_config :description, nil
42
42
  default_config :project_name, nil
43
43
  default_config :public_ip, nil
44
+ default_config :private_cloud, false
44
45
 
45
46
  def name
46
47
  'OracleCloud'
@@ -94,7 +95,8 @@ module Kitchen
94
95
  password: config[:password],
95
96
  api_url: config[:api_url],
96
97
  identity_domain: config[:identity_domain],
97
- verify_ssl: config[:verify_ssl]
98
+ verify_ssl: config[:verify_ssl],
99
+ private_cloud: config[:private_cloud]
98
100
  )
99
101
  end
100
102
 
@@ -18,6 +18,6 @@
18
18
 
19
19
  module Kitchen
20
20
  module Driver
21
- ORACLECLOUD_VERSION = '1.1.0'
21
+ ORACLECLOUD_VERSION = '1.2.0'
22
22
  end
23
23
  end
@@ -38,7 +38,8 @@ describe Kitchen::Driver::Oraclecloud do
38
38
  identity_domain: 'test_domain',
39
39
  shape: 'test_shape',
40
40
  image: 'test_image',
41
- verify_ssl: true
41
+ verify_ssl: true,
42
+ private_cloud: false
42
43
  }
43
44
  end
44
45
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-oraclecloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chef Partner Engineering
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-07 00:00:00.000000000 Z
11
+ date: 2015-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen
@@ -86,6 +86,20 @@ dependencies:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
88
  version: '3.2'
89
+ - !ruby/object:Gem::Dependency
90
+ name: rubocop
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '0.35'
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '0.35'
89
103
  description: A Test Kitchen driver for Oracle Cloud
90
104
  email:
91
105
  - partnereng@chef.io
@@ -95,6 +109,7 @@ extra_rdoc_files: []
95
109
  files:
96
110
  - ".gitignore"
97
111
  - ".rubocop.yml"
112
+ - ".travis.yml"
98
113
  - CHANGELOG.md
99
114
  - Gemfile
100
115
  - LICENSE.txt