test-kitchen 1.7.2 → 1.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/MAINTAINERS.md +1 -0
- data/README.md +4 -1
- data/bin/kitchen +0 -0
- data/lib/kitchen/configurable.rb +11 -0
- data/lib/kitchen/provisioner/chef_base.rb +0 -11
- data/lib/kitchen/verifier/busser.rb +2 -1
- data/lib/kitchen/version.rb +1 -1
- data/support/chef-client-zero.rb +0 -0
- data/test-kitchen.gemspec +2 -4
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0e37a0923ae4e4813b068aef196a6edc377c1a8
|
4
|
+
data.tar.gz: 76b01133768705977dc35a50790be3269e1715f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f93c6bbc69350a1350313a87a2980972e3ab96c99a7d20035490040da2ceab98606359137cae50c6edc5bbe02b36668801534e2ce464f30d16d375518d01a365
|
7
|
+
data.tar.gz: 7d8628a749047cfc683b90998e23b2a9ac67019acc0f18be5073e3fb20e5a378f3e7df2a35a2937625bce620e8d64505b6a0f74a918b29225c15eca6e85f190a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [1.7.3](https://github.com/test-kitchen/test-kitchen/tree/1.7.3) (2016-04-13)
|
4
|
+
[Full Changelog](https://github.com/test-kitchen/test-kitchen/compare/v1.7.2...1.7.3)
|
5
|
+
|
6
|
+
**Fixed bugs:**
|
7
|
+
|
8
|
+
- Test Kitchen on windows fails to upload data bags [\#1006](https://github.com/test-kitchen/test-kitchen/issues/1006)
|
9
|
+
- Fixes busser install for older omnibus windows installs [\#1003](https://github.com/test-kitchen/test-kitchen/pull/1003) ([mwrock](https://github.com/mwrock))
|
10
|
+
|
3
11
|
## [1.7.2](https://github.com/test-kitchen/test-kitchen/tree/1.7.2) (2016-04-07)
|
4
12
|
[Full Changelog](https://github.com/test-kitchen/test-kitchen/compare/v1.7.1...1.7.2)
|
5
13
|
|
data/MAINTAINERS.md
CHANGED
data/README.md
CHANGED
@@ -82,12 +82,15 @@ subcommands and their usage:
|
|
82
82
|
$ kitchen help test
|
83
83
|
```
|
84
84
|
|
85
|
-
More verbose logging
|
85
|
+
More verbose logging for test-kitchen can be specified when running test-kitchen from the command line using:
|
86
86
|
|
87
87
|
```
|
88
88
|
$ kitchen test -l debug
|
89
89
|
```
|
90
90
|
|
91
|
+
For the provisioner (e.g. chef-solo or chef-zero) add a `log_level` item to the provisioner section of the `.kitchen.yml`
|
92
|
+
For more information see the Documentation. This is a change since version 1.7.0
|
93
|
+
|
91
94
|
## Documentation
|
92
95
|
|
93
96
|
Documentation is being added on the Test Kitchen [website][website]. Please
|
data/bin/kitchen
CHANGED
File without changes
|
data/lib/kitchen/configurable.rb
CHANGED
@@ -248,6 +248,17 @@ module Kitchen
|
|
248
248
|
instance ? instance.logger : Kitchen.logger
|
249
249
|
end
|
250
250
|
|
251
|
+
# @return [String] a powershell command to reload the `PATH` environment
|
252
|
+
# variable, only to be used to support old Omnibus Chef packages that
|
253
|
+
# require `PATH` to find the `ruby.exe` binary
|
254
|
+
# @api private
|
255
|
+
def reload_ps1_path
|
256
|
+
[
|
257
|
+
%{$env:PATH},
|
258
|
+
%{[System.Environment]::GetEnvironmentVariable("PATH","Machine")\n\n}
|
259
|
+
].join(" = ")
|
260
|
+
end
|
261
|
+
|
251
262
|
# Builds a shell environment variable assignment string for the
|
252
263
|
# required shell type.
|
253
264
|
#
|
@@ -273,17 +273,6 @@ module Kitchen
|
|
273
273
|
end
|
274
274
|
end
|
275
275
|
|
276
|
-
# @return [String] a powershell command to reload the `PATH` environment
|
277
|
-
# variable, only to be used to support old Omnibus Chef packages that
|
278
|
-
# require `PATH` to find the `ruby.exe` binary
|
279
|
-
# @api private
|
280
|
-
def reload_ps1_path
|
281
|
-
[
|
282
|
-
%{$env:PATH},
|
283
|
-
%{[System.Environment]::GetEnvironmentVariable("PATH","Machine")\n\n}
|
284
|
-
].join(" = ")
|
285
|
-
end
|
286
|
-
|
287
276
|
# @return [String] contents of the install script
|
288
277
|
# @api private
|
289
278
|
def install_script_contents
|
@@ -151,7 +151,8 @@ module Kitchen
|
|
151
151
|
shell_env_var("GEM_HOME", gem_home),
|
152
152
|
shell_env_var("GEM_PATH", gem_path),
|
153
153
|
shell_env_var("GEM_CACHE", gem_cache)
|
154
|
-
].join("\n")
|
154
|
+
].join("\n").
|
155
|
+
tap { |str| str.insert(0, reload_ps1_path) if windows_os? }
|
155
156
|
end
|
156
157
|
|
157
158
|
# Determines whether or not a local workstation file exists under a
|
data/lib/kitchen/version.rb
CHANGED
data/support/chef-client-zero.rb
CHANGED
File without changes
|
data/test-kitchen.gemspec
CHANGED
@@ -40,14 +40,12 @@ Gem::Specification.new do |gem|
|
|
40
40
|
gem.add_development_dependency "rake", "~> 10.0"
|
41
41
|
gem.add_development_dependency "github_changelog_generator", "1.11.3"
|
42
42
|
|
43
|
-
gem.add_development_dependency "aruba", "~> 0.11
|
43
|
+
gem.add_development_dependency "aruba", "~> 0.11"
|
44
44
|
gem.add_development_dependency "fakefs", "~> 0.4"
|
45
45
|
gem.add_development_dependency "minitest", "~> 5.3"
|
46
46
|
gem.add_development_dependency "mocha", "~> 1.1"
|
47
47
|
|
48
|
-
|
49
|
-
# the aruba and cucumber apis are tightly coupled
|
50
|
-
gem.add_development_dependency "cucumber", "~> 2.1.0"
|
48
|
+
gem.add_development_dependency "cucumber", "~> 2.1"
|
51
49
|
|
52
50
|
gem.add_development_dependency "countloc", "~> 0.4"
|
53
51
|
gem.add_development_dependency "maruku", "~> 0.6"
|
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: 1.7.
|
4
|
+
version: 1.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fletcher Nichol
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mixlib-shellout
|
@@ -230,14 +230,14 @@ dependencies:
|
|
230
230
|
requirements:
|
231
231
|
- - "~>"
|
232
232
|
- !ruby/object:Gem::Version
|
233
|
-
version: 0.11
|
233
|
+
version: '0.11'
|
234
234
|
type: :development
|
235
235
|
prerelease: false
|
236
236
|
version_requirements: !ruby/object:Gem::Requirement
|
237
237
|
requirements:
|
238
238
|
- - "~>"
|
239
239
|
- !ruby/object:Gem::Version
|
240
|
-
version: 0.11
|
240
|
+
version: '0.11'
|
241
241
|
- !ruby/object:Gem::Dependency
|
242
242
|
name: fakefs
|
243
243
|
requirement: !ruby/object:Gem::Requirement
|
@@ -286,14 +286,14 @@ dependencies:
|
|
286
286
|
requirements:
|
287
287
|
- - "~>"
|
288
288
|
- !ruby/object:Gem::Version
|
289
|
-
version: 2.1
|
289
|
+
version: '2.1'
|
290
290
|
type: :development
|
291
291
|
prerelease: false
|
292
292
|
version_requirements: !ruby/object:Gem::Requirement
|
293
293
|
requirements:
|
294
294
|
- - "~>"
|
295
295
|
- !ruby/object:Gem::Version
|
296
|
-
version: 2.1
|
296
|
+
version: '2.1'
|
297
297
|
- !ruby/object:Gem::Dependency
|
298
298
|
name: countloc
|
299
299
|
requirement: !ruby/object:Gem::Requirement
|
@@ -587,7 +587,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
587
587
|
version: '0'
|
588
588
|
requirements: []
|
589
589
|
rubyforge_project:
|
590
|
-
rubygems_version: 2.
|
590
|
+
rubygems_version: 2.5.2
|
591
591
|
signing_key:
|
592
592
|
specification_version: 4
|
593
593
|
summary: Test Kitchen is an integration tool for developing and testing infrastructure
|