test-kitchen 2.3.4 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/lib/kitchen.rb +30 -30
  3. data/lib/kitchen/cli.rb +2 -2
  4. data/lib/kitchen/command/action.rb +1 -1
  5. data/lib/kitchen/command/console.rb +1 -1
  6. data/lib/kitchen/command/diagnose.rb +2 -2
  7. data/lib/kitchen/command/doctor.rb +1 -1
  8. data/lib/kitchen/command/exec.rb +1 -1
  9. data/lib/kitchen/command/list.rb +1 -1
  10. data/lib/kitchen/command/login.rb +1 -1
  11. data/lib/kitchen/command/package.rb +1 -1
  12. data/lib/kitchen/command/sink.rb +1 -1
  13. data/lib/kitchen/command/test.rb +1 -1
  14. data/lib/kitchen/configurable.rb +7 -1
  15. data/lib/kitchen/data_munger.rb +1 -1
  16. data/lib/kitchen/diagnostic.rb +2 -2
  17. data/lib/kitchen/driver.rb +1 -1
  18. data/lib/kitchen/driver/base.rb +5 -5
  19. data/lib/kitchen/driver/dummy.rb +1 -1
  20. data/lib/kitchen/driver/exec.rb +4 -4
  21. data/lib/kitchen/driver/proxy.rb +2 -2
  22. data/lib/kitchen/driver/ssh_base.rb +1 -1
  23. data/lib/kitchen/generator/init.rb +2 -2
  24. data/lib/kitchen/lifecycle_hooks.rb +2 -2
  25. data/lib/kitchen/loader/yaml.rb +1 -1
  26. data/lib/kitchen/plugin.rb +2 -2
  27. data/lib/kitchen/provisioner.rb +1 -1
  28. data/lib/kitchen/provisioner/base.rb +3 -3
  29. data/lib/kitchen/provisioner/chef/berkshelf.rb +2 -2
  30. data/lib/kitchen/provisioner/chef/policyfile.rb +3 -3
  31. data/lib/kitchen/provisioner/chef_apply.rb +1 -1
  32. data/lib/kitchen/provisioner/chef_base.rb +4 -4
  33. data/lib/kitchen/provisioner/chef_solo.rb +1 -1
  34. data/lib/kitchen/provisioner/chef_zero.rb +1 -1
  35. data/lib/kitchen/provisioner/dummy.rb +1 -1
  36. data/lib/kitchen/provisioner/shell.rb +2 -2
  37. data/lib/kitchen/rake_tasks.rb +1 -1
  38. data/lib/kitchen/ssh.rb +2 -2
  39. data/lib/kitchen/thor_tasks.rb +1 -1
  40. data/lib/kitchen/transport.rb +1 -1
  41. data/lib/kitchen/transport/base.rb +5 -5
  42. data/lib/kitchen/transport/dummy.rb +1 -1
  43. data/lib/kitchen/transport/exec.rb +3 -3
  44. data/lib/kitchen/transport/ssh.rb +1 -1
  45. data/lib/kitchen/transport/winrm.rb +1 -1
  46. data/lib/kitchen/util.rb +1 -1
  47. data/lib/kitchen/verifier.rb +1 -1
  48. data/lib/kitchen/verifier/base.rb +10 -3
  49. data/lib/kitchen/verifier/busser.rb +1 -1
  50. data/lib/kitchen/verifier/dummy.rb +1 -1
  51. data/lib/kitchen/verifier/shell.rb +1 -1
  52. data/lib/kitchen/version.rb +1 -1
  53. data/templates/init/chefignore.erb +1 -0
  54. data/test-kitchen.gemspec +1 -1
  55. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 15c9a72eb04c9c0bc9e568e4e239dc05c7dad13d721370afdcc1b35df180ff12
4
- data.tar.gz: 528b0c3bc29d1b16c3e56feeaf35f87a5b1b6d1c37b757f6460e19045a219b15
3
+ metadata.gz: 13209f8ae2db3d98eefbf14798a6ac583d867ce4f8e0dd19615ed6a2bdc3b2a7
4
+ data.tar.gz: 9e4300e69c3873ef2310381ab3c4f52349683bf1635afa4ce7464d89d33c1874
5
5
  SHA512:
6
- metadata.gz: 9a4fe9ce79cad2bce2c4fa8fd61b2a5a105183c4d5962c5041f25b0f79e95e2e75c0d84190d21b5915cdb88498bb94e7cce7644aa6ee16428c8bbb760aaa89c6
7
- data.tar.gz: f9cf235f6fcaa1594747e92695b34160bbfd3f45fc9f061c553c74d1bda51663fa2ae0304c2f5fae2feb54deb6779f5c033ee56f3aab4bed3e9c109c46f60ff0
6
+ metadata.gz: f40db4a968197d9102ba4a651ce6dce9b5557cc6498a5fca8529fb0cad9c5467d99f3340f99ed6d25f1424c95edd3dda2676a16ea98ddc556d69514e6e7d9b9b
7
+ data.tar.gz: 14ea562a570a3263111942233bc5bbd53aba4c75128284a8e84e295c612612b86293036cf7d56f9b5860a486d5f3d450b92934334c81cc6eb6b21754ae9ae8de
@@ -19,36 +19,36 @@
19
19
  require "pathname"
20
20
  require "thread"
21
21
 
22
- require "kitchen/errors"
23
- require "kitchen/logger"
24
- require "kitchen/logging"
25
- require "kitchen/shell_out"
26
- require "kitchen/configurable"
27
- require "kitchen/util"
28
-
29
- require "kitchen/provisioner"
30
- require "kitchen/provisioner/base"
31
- require "kitchen/color"
32
- require "kitchen/collection"
33
- require "kitchen/config"
34
- require "kitchen/data_munger"
35
- require "kitchen/driver"
36
- require "kitchen/driver/base"
37
- require "kitchen/driver/ssh_base"
38
- require "kitchen/driver/proxy"
39
- require "kitchen/instance"
40
- require "kitchen/lifecycle_hooks"
41
- require "kitchen/transport"
42
- require "kitchen/transport/base"
43
- require "kitchen/loader/yaml"
44
- require "kitchen/metadata_chopper"
45
- require "kitchen/platform"
46
- require "kitchen/state_file"
47
- require "kitchen/ssh"
48
- require "kitchen/suite"
49
- require "kitchen/verifier"
50
- require "kitchen/verifier/base"
51
- require "kitchen/version"
22
+ require_relative "kitchen/errors"
23
+ require_relative "kitchen/logger"
24
+ require_relative "kitchen/logging"
25
+ require_relative "kitchen/shell_out"
26
+ require_relative "kitchen/configurable"
27
+ require_relative "kitchen/util"
28
+
29
+ require_relative "kitchen/provisioner"
30
+ require_relative "kitchen/provisioner/base"
31
+ require_relative "kitchen/color"
32
+ require_relative "kitchen/collection"
33
+ require_relative "kitchen/config"
34
+ require_relative "kitchen/data_munger"
35
+ require_relative "kitchen/driver"
36
+ require_relative "kitchen/driver/base"
37
+ require_relative "kitchen/driver/ssh_base"
38
+ require_relative "kitchen/driver/proxy"
39
+ require_relative "kitchen/instance"
40
+ require_relative "kitchen/lifecycle_hooks"
41
+ require_relative "kitchen/transport"
42
+ require_relative "kitchen/transport/base"
43
+ require_relative "kitchen/loader/yaml"
44
+ require_relative "kitchen/metadata_chopper"
45
+ require_relative "kitchen/platform"
46
+ require_relative "kitchen/state_file"
47
+ require_relative "kitchen/ssh"
48
+ require_relative "kitchen/suite"
49
+ require_relative "kitchen/verifier"
50
+ require_relative "kitchen/verifier/base"
51
+ require_relative "kitchen/version"
52
52
 
53
53
  # Test Kitchen base module.
54
54
  #
@@ -18,8 +18,8 @@
18
18
 
19
19
  require "thor"
20
20
 
21
- require "kitchen"
22
- require "kitchen/generator/init"
21
+ require_relative "../kitchen"
22
+ require_relative "generator/init"
23
23
 
24
24
  module Kitchen
25
25
  # The command line runner for Kitchen.
@@ -16,7 +16,7 @@
16
16
  # See the License for the specific language governing permissions and
17
17
  # limitations under the License.
18
18
 
19
- require "kitchen/command"
19
+ require_relative "../command"
20
20
 
21
21
  require "benchmark"
22
22
 
@@ -16,7 +16,7 @@
16
16
  # See the License for the specific language governing permissions and
17
17
  # limitations under the License.
18
18
 
19
- require "kitchen/command"
19
+ require_relative "../command"
20
20
 
21
21
  module Kitchen
22
22
  module Command
@@ -16,8 +16,8 @@
16
16
  # See the License for the specific language governing permissions and
17
17
  # limitations under the License.
18
18
 
19
- require "kitchen/command"
20
- require "kitchen/diagnostic"
19
+ require_relative "../command"
20
+ require_relative "../diagnostic"
21
21
 
22
22
  require "yaml"
23
23
 
@@ -13,7 +13,7 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
 
16
- require "kitchen/command"
16
+ require_relative "../command"
17
17
 
18
18
  module Kitchen
19
19
  module Command
@@ -16,7 +16,7 @@
16
16
  # See the License for the specific language governing permissions and
17
17
  # limitations under the License.
18
18
 
19
- require "kitchen/command"
19
+ require_relative "../command"
20
20
 
21
21
  module Kitchen
22
22
  module Command
@@ -16,7 +16,7 @@
16
16
  # See the License for the specific language governing permissions and
17
17
  # limitations under the License.
18
18
 
19
- require "kitchen/command"
19
+ require_relative "../command"
20
20
  require "json"
21
21
 
22
22
  module Kitchen
@@ -16,7 +16,7 @@
16
16
  # See the License for the specific language governing permissions and
17
17
  # limitations under the License.
18
18
 
19
- require "kitchen/command"
19
+ require_relative "../command"
20
20
 
21
21
  module Kitchen
22
22
  module Command
@@ -13,7 +13,7 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
 
16
- require "kitchen/command"
16
+ require_relative "../command"
17
17
 
18
18
  module Kitchen
19
19
  module Command
@@ -16,7 +16,7 @@
16
16
  # See the License for the specific language governing permissions and
17
17
  # limitations under the License.
18
18
 
19
- require "kitchen/command"
19
+ require_relative "../command"
20
20
 
21
21
  module Kitchen
22
22
  module Command
@@ -16,7 +16,7 @@
16
16
  # See the License for the specific language governing permissions and
17
17
  # limitations under the License.
18
18
 
19
- require "kitchen/command"
19
+ require_relative "../command"
20
20
 
21
21
  require "benchmark"
22
22
 
@@ -18,7 +18,7 @@
18
18
 
19
19
  require "thor/util"
20
20
 
21
- require "kitchen/lazy_hash"
21
+ require_relative "lazy_hash"
22
22
 
23
23
  module Kitchen
24
24
  # A mixin for providing configuration-related behavior such as default
@@ -349,6 +349,12 @@ module Kitchen
349
349
  code_parts = resolve_proxy_settings_from_config
350
350
  code_parts << shell_env_var("TEST_KITCHEN", 1)
351
351
  code_parts << shell_env_var("CI", ENV["CI"]) if ENV["CI"]
352
+ code_parts << shell_env_var("CHEF_LICENSE", ENV["CHEF_LICENSE"]) if ENV["CHEF_LICENSE"]
353
+ ENV.select { |key, value| key.start_with?("TKENV_") }.each do |key, value|
354
+ env_var_name = "#{key}".sub!("TKENV_", "")
355
+ code_parts << shell_env_var(env_var_name, value)
356
+ end
357
+
352
358
  code_parts << code
353
359
  code_parts.join("\n")
354
360
  end
@@ -16,7 +16,7 @@
16
16
  # See the License for the specific language governing permissions and
17
17
  # limitations under the License.
18
18
 
19
- require "vendor/hash_recursive_merge"
19
+ require_relative "../vendor/hash_recursive_merge"
20
20
 
21
21
  module Kitchen
22
22
  # Class to handle recursive merging of configuration between platforms,
@@ -16,8 +16,8 @@
16
16
  # See the License for the specific language governing permissions and
17
17
  # limitations under the License.
18
18
 
19
- require "kitchen/util"
20
- require "kitchen/version"
19
+ require_relative "util"
20
+ require_relative "version"
21
21
 
22
22
  module Kitchen
23
23
  # Combines and compiles diagnostic information about a Test Kitchen
@@ -16,7 +16,7 @@
16
16
  # See the License for the specific language governing permissions and
17
17
  # limitations under the License.
18
18
 
19
- require "kitchen/plugin"
19
+ require_relative "plugin"
20
20
 
21
21
  module Kitchen
22
22
  # A driver is responsible for carrying out the lifecycle activities of an
@@ -16,11 +16,11 @@
16
16
  # See the License for the specific language governing permissions and
17
17
  # limitations under the License.
18
18
 
19
- require "kitchen/configurable"
20
- require "kitchen/errors"
21
- require "kitchen/lazy_hash"
22
- require "kitchen/logging"
23
- require "kitchen/shell_out"
19
+ require_relative "../configurable"
20
+ require_relative "../errors"
21
+ require_relative "../lazy_hash"
22
+ require_relative "../logging"
23
+ require_relative "../shell_out"
24
24
 
25
25
  module Kitchen
26
26
  module Driver
@@ -16,7 +16,7 @@
16
16
  # See the License for the specific language governing permissions and
17
17
  # limitations under the License.
18
18
 
19
- require "kitchen"
19
+ require_relative "../../kitchen"
20
20
 
21
21
  module Kitchen
22
22
  module Driver
@@ -13,10 +13,10 @@
13
13
  # limitations under the License.
14
14
  #
15
15
 
16
- require "kitchen/driver/base"
17
- require "kitchen/shell_out"
18
- require "kitchen/transport/exec"
19
- require "kitchen/version"
16
+ require_relative "base"
17
+ require_relative "../shell_out"
18
+ require_relative "../transport/exec"
19
+ require_relative "../version"
20
20
 
21
21
  module Kitchen
22
22
  module Driver
@@ -18,8 +18,8 @@
18
18
  # limitations under the License.
19
19
  #
20
20
 
21
- require "kitchen/driver/ssh_base"
22
- require "kitchen/version"
21
+ require_relative "ssh_base"
22
+ require_relative "../version"
23
23
 
24
24
  module Kitchen
25
25
  module Driver
@@ -18,7 +18,7 @@
18
18
 
19
19
  require "thor/util"
20
20
 
21
- require "kitchen/lazy_hash"
21
+ require_relative "../lazy_hash"
22
22
  require "benchmark"
23
23
 
24
24
  module Kitchen
@@ -136,7 +136,7 @@ module Kitchen
136
136
  rakedoc = <<-RAKE.gsub(/^ {10}/, "")
137
137
 
138
138
  begin
139
- require 'kitchen/rake_tasks'
139
+ require_relative '../rake_tasks'
140
140
  Kitchen::RakeTasks.new
141
141
  rescue LoadError
142
142
  puts '>>>>> Kitchen gem not loaded, omitting tasks' unless ENV['CI']
@@ -154,7 +154,7 @@ module Kitchen
154
154
  thordoc = <<-THOR.gsub(/^ {10}/, "")
155
155
 
156
156
  begin
157
- require 'kitchen/thor_tasks'
157
+ require_relative '../thor_tasks'
158
158
  Kitchen::ThorTasks.new
159
159
  rescue LoadError
160
160
  puts '>>>>> Kitchen gem not loaded, omitting tasks' unless ENV['CI']
@@ -16,8 +16,8 @@
16
16
  # See the License for the specific language governing permissions and
17
17
  # limitations under the License.
18
18
 
19
- require "kitchen/errors"
20
- require "kitchen/shell_out"
19
+ require_relative "errors"
20
+ require_relative "shell_out"
21
21
 
22
22
  module Kitchen
23
23
  # A helper object used by {Instance} to coordinate lifecycle hook calls from
@@ -17,7 +17,7 @@
17
17
  # limitations under the License.
18
18
 
19
19
  require "erb"
20
- require "vendor/hash_recursive_merge"
20
+ require_relative "../../vendor/hash_recursive_merge"
21
21
  require "yaml"
22
22
 
23
23
  module Kitchen
@@ -17,8 +17,8 @@
17
17
  # See the License for the specific language governing permissions and
18
18
  # limitations under the License.
19
19
 
20
- require "kitchen/errors"
21
- require "kitchen/util"
20
+ require_relative "errors"
21
+ require_relative "util"
22
22
 
23
23
  module Kitchen
24
24
  module Plugin
@@ -16,7 +16,7 @@
16
16
  # See the License for the specific language governing permissions and
17
17
  # limitations under the License.
18
18
 
19
- require "kitchen/plugin"
19
+ require_relative "plugin"
20
20
 
21
21
  module Kitchen
22
22
  # A provisioner is responsible for generating the commands necessary to
@@ -16,9 +16,9 @@
16
16
  # See the License for the specific language governing permissions and
17
17
  # limitations under the License.
18
18
 
19
- require "kitchen/configurable"
20
- require "kitchen/errors"
21
- require "kitchen/logging"
19
+ require_relative "../configurable"
20
+ require_relative "../errors"
21
+ require_relative "../logging"
22
22
 
23
23
  module Kitchen
24
24
  module Provisioner
@@ -16,8 +16,8 @@
16
16
  # See the License for the specific language governing permissions and
17
17
  # limitations under the License.
18
18
 
19
- require "kitchen/errors"
20
- require "kitchen/logging"
19
+ require_relative "../../errors"
20
+ require_relative "../../logging"
21
21
 
22
22
  module Kitchen
23
23
  module Provisioner
@@ -19,9 +19,9 @@
19
19
  require "shellwords"
20
20
  require "rbconfig"
21
21
 
22
- require "kitchen/errors"
23
- require "kitchen/logging"
24
- require "kitchen/shell_out"
22
+ require_relative "../../errors"
23
+ require_relative "../../logging"
24
+ require_relative "../../shell_out"
25
25
 
26
26
  module Kitchen
27
27
  module Provisioner
@@ -45,7 +45,7 @@
45
45
  # chef-apply apply/recipe1.rb
46
46
  # chef-apply apply/recipe2.rb
47
47
 
48
- require "kitchen/provisioner/chef_base"
48
+ require_relative "chef_base"
49
49
 
50
50
  module Kitchen
51
51
  module Provisioner
@@ -21,10 +21,10 @@ require "pathname"
21
21
  require "json"
22
22
  require "cgi"
23
23
 
24
- require "kitchen/provisioner/chef/policyfile"
25
- require "kitchen/provisioner/chef/berkshelf"
26
- require "kitchen/provisioner/chef/common_sandbox"
27
- require "kitchen/util"
24
+ require_relative "chef/policyfile"
25
+ require_relative "chef/berkshelf"
26
+ require_relative "chef/common_sandbox"
27
+ require_relative "../util"
28
28
  require "mixlib/install"
29
29
  require "mixlib/install/script_generator"
30
30
  require "license_acceptance/acceptor"
@@ -16,7 +16,7 @@
16
16
  # See the License for the specific language governing permissions and
17
17
  # limitations under the License.
18
18
 
19
- require "kitchen/provisioner/chef_base"
19
+ require_relative "chef_base"
20
20
 
21
21
  module Kitchen
22
22
  module Provisioner
@@ -16,7 +16,7 @@
16
16
  # See the License for the specific language governing permissions and
17
17
  # limitations under the License.
18
18
 
19
- require "kitchen/provisioner/chef_base"
19
+ require_relative "chef_base"
20
20
 
21
21
  module Kitchen
22
22
  module Provisioner
@@ -16,7 +16,7 @@
16
16
  # See the License for the specific language governing permissions and
17
17
  # limitations under the License.
18
18
 
19
- require "kitchen"
19
+ require_relative "../../kitchen"
20
20
 
21
21
  module Kitchen
22
22
  module Provisioner
@@ -18,8 +18,8 @@
18
18
 
19
19
  require "shellwords"
20
20
 
21
- require "kitchen/provisioner/base"
22
- require "kitchen/version"
21
+ require_relative "base"
22
+ require_relative "../version"
23
23
 
24
24
  module Kitchen
25
25
  module Provisioner
@@ -18,7 +18,7 @@
18
18
 
19
19
  require "rake/tasklib"
20
20
 
21
- require "kitchen"
21
+ require_relative "../kitchen"
22
22
 
23
23
  module Kitchen
24
24
  # Kitchen Rake task generator.
@@ -21,8 +21,8 @@ require "net/ssh"
21
21
  require "net/scp"
22
22
  require "socket"
23
23
 
24
- require "kitchen/errors"
25
- require "kitchen/login_command"
24
+ require_relative "errors"
25
+ require_relative "login_command"
26
26
 
27
27
  module Kitchen
28
28
  # Wrapped exception for any internally raised SSH-related errors.
@@ -18,7 +18,7 @@
18
18
 
19
19
  require "thor"
20
20
 
21
- require "kitchen"
21
+ require_relative "../kitchen"
22
22
 
23
23
  module Kitchen
24
24
  # Kitchen Thor task generator.
@@ -16,7 +16,7 @@
16
16
  # See the License for the specific language governing permissions and
17
17
  # limitations under the License.
18
18
 
19
- require "kitchen/plugin"
19
+ require_relative "plugin"
20
20
 
21
21
  module Kitchen
22
22
  # A transport is responsible for the communication with an instance,
@@ -17,11 +17,11 @@
17
17
  # See the License for the specific language governing permissions and
18
18
  # limitations under the License.
19
19
 
20
- require "kitchen/configurable"
21
- require "kitchen/errors"
22
- require "kitchen/lazy_hash"
23
- require "kitchen/logging"
24
- require "kitchen/login_command"
20
+ require_relative "../configurable"
21
+ require_relative "../errors"
22
+ require_relative "../lazy_hash"
23
+ require_relative "../logging"
24
+ require_relative "../login_command"
25
25
 
26
26
  module Kitchen
27
27
  module Transport
@@ -16,7 +16,7 @@
16
16
  # See the License for the specific language governing permissions and
17
17
  # limitations under the License.
18
18
 
19
- require "kitchen"
19
+ require_relative "../../kitchen"
20
20
 
21
21
  module Kitchen
22
22
  module Transport
@@ -14,9 +14,9 @@
14
14
 
15
15
  require "fileutils"
16
16
 
17
- require "kitchen/shell_out"
18
- require "kitchen/transport/base"
19
- require "kitchen/version"
17
+ require_relative "../shell_out"
18
+ require_relative "base"
19
+ require_relative "../version"
20
20
 
21
21
  module Kitchen
22
22
  module Transport
@@ -16,7 +16,7 @@
16
16
  # See the License for the specific language governing permissions and
17
17
  # limitations under the License.
18
18
 
19
- require "kitchen"
19
+ require_relative "../../kitchen"
20
20
 
21
21
  require "fileutils"
22
22
  require "net/ssh"
@@ -20,7 +20,7 @@
20
20
 
21
21
  require "rbconfig"
22
22
  require "uri"
23
- require "kitchen"
23
+ require_relative "../../kitchen"
24
24
  require "winrm"
25
25
 
26
26
  module Kitchen
@@ -16,7 +16,7 @@
16
16
  # See the License for the specific language governing permissions and
17
17
  # limitations under the License.
18
18
 
19
- require "kitchen/errors"
19
+ require_relative "errors"
20
20
  require "thor/util"
21
21
 
22
22
  module Kitchen
@@ -16,7 +16,7 @@
16
16
  # See the License for the specific language governing permissions and
17
17
  # limitations under the License.
18
18
 
19
- require "kitchen/plugin"
19
+ require_relative "plugin"
20
20
 
21
21
  module Kitchen
22
22
  # A verifier is responsible for running tests post-converge to confirm that
@@ -16,9 +16,9 @@
16
16
  # See the License for the specific language governing permissions and
17
17
  # limitations under the License.
18
18
 
19
- require "kitchen/errors"
20
- require "kitchen/configurable"
21
- require "kitchen/logging"
19
+ require_relative "../errors"
20
+ require_relative "../configurable"
21
+ require_relative "../logging"
22
22
 
23
23
  module Kitchen
24
24
  module Verifier
@@ -75,6 +75,13 @@ module Kitchen
75
75
  debug("Transfer complete")
76
76
  conn.execute(prepare_command)
77
77
  conn.execute(run_command)
78
+
79
+ info("Downloading files from #{instance.to_str}")
80
+ config[:downloads].to_h.each do |remotes, local|
81
+ debug("Downloading #{Array(remotes).join(", ")} to #{local}")
82
+ conn.download(remotes, local)
83
+ end
84
+ debug("Download complete")
78
85
  end
79
86
  rescue Kitchen::Transport::TransportFailed => ex
80
87
  raise ActionFailed, ex.message
@@ -19,7 +19,7 @@
19
19
  require "base64"
20
20
  require "digest"
21
21
 
22
- require "kitchen/verifier/base"
22
+ require_relative "base"
23
23
 
24
24
  module Kitchen
25
25
  module Verifier
@@ -16,7 +16,7 @@
16
16
  # See the License for the specific language governing permissions and
17
17
  # limitations under the License.
18
18
 
19
- require "kitchen/verifier/base"
19
+ require_relative "base"
20
20
 
21
21
  module Kitchen
22
22
  module Verifier
@@ -16,7 +16,7 @@
16
16
  # See the License for the specific language governing permissions and
17
17
  # limitations under the License.
18
18
 
19
- require "kitchen/verifier/base"
19
+ require_relative "base"
20
20
 
21
21
  module Kitchen
22
22
  module Verifier
@@ -17,5 +17,5 @@
17
17
  # limitations under the License.
18
18
 
19
19
  module Kitchen
20
- VERSION = "2.3.4".freeze
20
+ VERSION = "2.4.0".freeze
21
21
  end
@@ -1 +1,2 @@
1
1
  .kitchen
2
+ kitchen*.yml
@@ -43,7 +43,7 @@ Gem::Specification.new do |gem|
43
43
  gem.add_development_dependency "rake"
44
44
 
45
45
  gem.add_development_dependency "aruba", "~> 0.11"
46
- gem.add_development_dependency "fakefs", "~> 0.4"
46
+ gem.add_development_dependency "fakefs", "~> 1.0"
47
47
  gem.add_development_dependency "minitest", "~> 5.3", "< 5.12"
48
48
  gem.add_development_dependency "mocha", "~> 1.1"
49
49
  gem.add_development_dependency "cucumber", ">= 2.1", "< 4.0" # we just need to validate 4.0 when it comes out
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test-kitchen
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.4
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fletcher Nichol
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-31 00:00:00.000000000 Z
11
+ date: 2020-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-shellout
@@ -270,14 +270,14 @@ dependencies:
270
270
  requirements:
271
271
  - - "~>"
272
272
  - !ruby/object:Gem::Version
273
- version: '0.4'
273
+ version: '1.0'
274
274
  type: :development
275
275
  prerelease: false
276
276
  version_requirements: !ruby/object:Gem::Requirement
277
277
  requirements:
278
278
  - - "~>"
279
279
  - !ruby/object:Gem::Version
280
- version: '0.4'
280
+ version: '1.0'
281
281
  - !ruby/object:Gem::Dependency
282
282
  name: minitest
283
283
  requirement: !ruby/object:Gem::Requirement
@@ -487,7 +487,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
487
487
  - !ruby/object:Gem::Version
488
488
  version: '0'
489
489
  requirements: []
490
- rubygems_version: 3.0.3
490
+ rubygems_version: 3.1.2
491
491
  signing_key:
492
492
  specification_version: 4
493
493
  summary: Test Kitchen is an integration tool for developing and testing infrastructure