kitchen-gogetkitchen 0.2.3 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -1
- data/lib/kitchen/driver/gogetkitchen.rb +3 -0
- data/lib/kitchen/driver/gogetkitchen_version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f85ceefc301099b51bcfe09354ee1e6eea399e833ae22a12b870dd127cbef77
|
4
|
+
data.tar.gz: 8d95de03f82598e6210ac1a17030facc6142b756071671d130fa279d0f3d7828
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d91f6330babffef2b82d0c18109d65199851754071e997257e83beb8111c9ad74d037c954e5d50dfcad462604b1f87d555c477be9f85c32278640b373a9577f5
|
7
|
+
data.tar.gz: a1eff4e2b9c43eb8dd7978890d44f9d7f4d1dc166d917fb7c7dcd215e3ce958aff63fe20bd19e16a9db350fe82ddec1e8e3dec89bd08375a86d75f0d18c8ecb5
|
data/README.md
CHANGED
@@ -15,7 +15,7 @@ Please read the [Driver usage][driver_usage] page for more details.
|
|
15
15
|
|
16
16
|
$ export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig
|
17
17
|
|
18
|
-
$
|
18
|
+
$ gem install kitchen-gogetkitchen
|
19
19
|
|
20
20
|
```
|
21
21
|
## <a name="config"></a> Configuration
|
@@ -37,10 +37,14 @@ platforms:
|
|
37
37
|
driver:
|
38
38
|
provider: lxd
|
39
39
|
template: default
|
40
|
+
options:
|
41
|
+
maas-on-lxc: true
|
40
42
|
- name: kvm01
|
41
43
|
driver:
|
42
44
|
provider: libvirt
|
43
45
|
template: default
|
46
|
+
options:
|
47
|
+
lxd-in-lxd: true
|
44
48
|
|
45
49
|
suites:
|
46
50
|
- name: default
|
@@ -39,6 +39,7 @@ module Kitchen
|
|
39
39
|
|
40
40
|
def create(state)
|
41
41
|
options = { 'alias' => config[:template] } if config[:template]
|
42
|
+
options.merge!(config[:options])
|
42
43
|
provider = choose_provider(config[:provider])
|
43
44
|
result = provider.create(instance.name, options)
|
44
45
|
domain = Gogetit.maas.get_domain
|
@@ -54,6 +55,8 @@ module Kitchen
|
|
54
55
|
end
|
55
56
|
|
56
57
|
def destroy(state)
|
58
|
+
options = {}
|
59
|
+
options.merge!(config[:options])
|
57
60
|
provider = choose_provider(config[:provider])
|
58
61
|
provider.destroy(instance.name)
|
59
62
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen-gogetkitchen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Don Draper
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-kitchen
|