kitchen-digitalocean 0.10.3 → 0.10.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kitchen/driver/digitalocean.rb +11 -3
- data/lib/kitchen/driver/digitalocean_version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68195b7d8679000076cf03644908a986fcf47fa253267992d36bc50f69da0e40
|
4
|
+
data.tar.gz: b4cca9c75d8ffb17f63ff4a0efc847c06facfd6b8e7be7ef6a307c4a68343c01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35d008d75782d64c2711668e548701c493e59c2aea6b58847a0fa5eeac1b2a1a6b1322499acd817c6491ba0e271bcef0fef920246f02944df588fe4f341b6cf3
|
7
|
+
data.tar.gz: 1fed1a3efb6e7b85b2e283e7fd132d5bfc5215a63976ad7eec58ac59841b5b38cb8846f7a2cf2346a7ab7e53f7b42b492b27279e5409ddd3c029a084437b3035
|
@@ -30,8 +30,8 @@ module Kitchen
|
|
30
30
|
class Digitalocean < Kitchen::Driver::SSHBase
|
31
31
|
default_config :username, 'root'
|
32
32
|
default_config :port, '22'
|
33
|
-
default_config :region, 'nyc1'
|
34
33
|
default_config :size, '512mb'
|
34
|
+
default_config :monitoring, false
|
35
35
|
default_config(:image, &:default_image)
|
36
36
|
default_config(:server_name, &:default_name)
|
37
37
|
default_config :private_networking, true
|
@@ -40,6 +40,10 @@ module Kitchen
|
|
40
40
|
default_config :tags, nil
|
41
41
|
default_config :firewalls, nil
|
42
42
|
|
43
|
+
default_config :region do
|
44
|
+
ENV['DIGITALOCEAN_REGION'] || 'nyc1'
|
45
|
+
end
|
46
|
+
|
43
47
|
default_config :digitalocean_access_token do
|
44
48
|
ENV['DIGITALOCEAN_ACCESS_TOKEN']
|
45
49
|
end
|
@@ -163,6 +167,7 @@ module Kitchen
|
|
163
167
|
region: config[:region],
|
164
168
|
image: config[:image],
|
165
169
|
size: config[:size],
|
170
|
+
monitoring: config[:monitoring],
|
166
171
|
ssh_keys: config[:ssh_key_ids].to_s.split(/, ?/),
|
167
172
|
private_networking: config[:private_networking],
|
168
173
|
ipv6: config[:ipv6],
|
@@ -188,6 +193,7 @@ module Kitchen
|
|
188
193
|
debug("digitalocean:name #{config[:server_name]}")
|
189
194
|
debug("digitalocean:image#{config[:image]}")
|
190
195
|
debug("digitalocean:size #{config[:size]}")
|
196
|
+
debug("digitalocean:monitoring #{config[:monitoring]}")
|
191
197
|
debug("digitalocean:region #{config[:region]}")
|
192
198
|
debug("digitalocean:ssh_key_ids #{config[:ssh_key_ids]}")
|
193
199
|
debug("digitalocean:private_networking #{config[:private_networking]}")
|
@@ -212,8 +218,9 @@ module Kitchen
|
|
212
218
|
'debian-7' => 'debian-7-x64',
|
213
219
|
'debian-8' => 'debian-8-x64',
|
214
220
|
'debian-9' => 'debian-9-x64',
|
215
|
-
'fedora-27' => 'fedora-27-x64',
|
216
221
|
'fedora-28' => 'fedora-28-x64',
|
222
|
+
'fedora-29' => 'fedora-29-x64',
|
223
|
+
'fedora-30' => 'fedora-30-x64',
|
217
224
|
'freebsd-11.2' => 'freebsd-11-2-x64-zfs',
|
218
225
|
'freebsd-11.1' => 'freebsd-11-1-x64-zfs',
|
219
226
|
'freebsd-11.0' => 'freebsd-11-0-x64-zfs',
|
@@ -222,7 +229,8 @@ module Kitchen
|
|
222
229
|
'ubuntu-14' => 'ubuntu-14-04-x64',
|
223
230
|
'ubuntu-16' => 'ubuntu-16-04-x64',
|
224
231
|
'ubuntu-17' => 'ubuntu-17-10-x64',
|
225
|
-
'ubuntu-18' => 'ubuntu-18-04-x64'
|
232
|
+
'ubuntu-18' => 'ubuntu-18-04-x64',
|
233
|
+
'ubuntu-19' => 'ubuntu-19-04-x64'
|
226
234
|
}
|
227
235
|
end
|
228
236
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen-digitalocean
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Greg Fitzgerald
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: droplet_kit
|
@@ -213,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
213
213
|
- !ruby/object:Gem::Version
|
214
214
|
version: '0'
|
215
215
|
requirements: []
|
216
|
-
rubygems_version: 3.0.
|
216
|
+
rubygems_version: 3.0.4
|
217
217
|
signing_key:
|
218
218
|
specification_version: 4
|
219
219
|
summary: A Test Kitchen Driver for Digital Ocean
|