kitchen-sfmc-google 1.2.0 → 1.3.0
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/sfmc_google.rb +6 -1
- data/lib/kitchen/driver/sfmc_google_version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 533b303f47254b6359993e4d765684f4c415afb8
|
4
|
+
data.tar.gz: cd715e0244e01233cd160a02c5bd9b81de323ec4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c171372bf2c23b8904583f0ac541ae5a182d82d984032c26029b2a741f4d159d5f9844e79c121f6335a84120333e3349f5706ee9b7f444ac176de1b6d76248e0
|
7
|
+
data.tar.gz: 30572b5ccbf01da9271f071e417108efd96c0bf73972f0a50d42d025d732d94bb2a79cee45c5422811e27dff1b8d3cb1603d1b6d2483bea3dd7d45e22fbf6113
|
@@ -54,13 +54,14 @@ module Kitchen
|
|
54
54
|
}
|
55
55
|
|
56
56
|
kitchen_driver_api_version 2
|
57
|
-
plugin_version Kitchen::Driver::
|
57
|
+
plugin_version Kitchen::Driver::SFMC_GOOGLE_VERSION
|
58
58
|
|
59
59
|
required_config :project
|
60
60
|
|
61
61
|
default_config :region, nil
|
62
62
|
default_config :zone, nil
|
63
63
|
|
64
|
+
default_config :custom_metadata, nil
|
64
65
|
default_config :autodelete_disk, true
|
65
66
|
default_config :disk_size, 10
|
66
67
|
default_config :disk_type, "pd-standard"
|
@@ -380,6 +381,10 @@ module Kitchen
|
|
380
381
|
"test-kitchen-user" => env_user,
|
381
382
|
}
|
382
383
|
|
384
|
+
if config[:custom_metadata]
|
385
|
+
puts config[:custom_metadata]
|
386
|
+
end
|
387
|
+
|
383
388
|
Google::Apis::ComputeV1::Metadata.new.tap do |metadata_obj|
|
384
389
|
metadata_obj.items = metadata.each_with_object([]) do |(k, v), memo|
|
385
390
|
memo << Google::Apis::ComputeV1::Metadata::Item.new.tap do |item|
|