kitchen-inspec 0.23.0 → 0.23.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -2
- data/README.md +1 -1
- data/lib/kitchen/verifier/inspec.rb +2 -1
- data/lib/kitchen/verifier/inspec_version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b17913e9335d2d54ffbf7698bfe4b3fc86799622
|
4
|
+
data.tar.gz: 115f09a7afbcfa6131d05bfb4009ad8e3e2b11e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5db7ca406ef647ef717d996f7fd36ebb732a7addd01d568083b87438467042ce4047676b2e19a77c1c5b0ccf29f866bb819ba5af467be20590772161428b56d
|
7
|
+
data.tar.gz: 2268b49b4b8904fe167d83df92c2c502eea1d930ec5f02a83fd4ea01d00743a6edb6eb4d7d142c2178410d658bb5bb924599404dfd6f10a1920d8b048c60a732
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,18 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
## [0.23.
|
4
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.
|
3
|
+
## [0.23.1](https://github.com/chef/kitchen-inspec/tree/0.23.1) (2018-03-05)
|
4
|
+
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.23.0...0.23.1)
|
5
|
+
|
6
|
+
**Fixed bugs:**
|
7
|
+
|
8
|
+
- Add inspec exit code 101 to the approved list [\#170](https://github.com/chef/kitchen-inspec/pull/170) ([jquick](https://github.com/jquick))
|
9
|
+
|
10
|
+
**Merged pull requests:**
|
11
|
+
|
12
|
+
- Fix inspec profile doc URL in README [\#166](https://github.com/chef/kitchen-inspec/pull/166) ([james-stocks](https://github.com/james-stocks))
|
13
|
+
|
14
|
+
## [v0.23.0](https://github.com/chef/kitchen-inspec/tree/v0.23.0) (2018-02-28)
|
15
|
+
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.22.0...v0.23.0)
|
5
16
|
|
6
17
|
**Closed issues:**
|
7
18
|
|
@@ -9,6 +20,7 @@
|
|
9
20
|
|
10
21
|
**Merged pull requests:**
|
11
22
|
|
23
|
+
- Release kitchen inspec 0.23.0 [\#169](https://github.com/chef/kitchen-inspec/pull/169) ([jquick](https://github.com/jquick))
|
12
24
|
- Update kitchen inspec to support inspec 2.0. [\#168](https://github.com/chef/kitchen-inspec/pull/168) ([jquick](https://github.com/jquick))
|
13
25
|
- Fix travis-ci bundler issue [\#162](https://github.com/chef/kitchen-inspec/pull/162) ([jquick](https://github.com/jquick))
|
14
26
|
|
data/README.md
CHANGED
@@ -148,7 +148,7 @@ If you need support with other testing frameworks, we recommend to place the tes
|
|
148
148
|
|
149
149
|
### Use remote InSpec profiles
|
150
150
|
|
151
|
-
In case you want to reuse tests across multiple cookbooks, they should become an extra artifact independent of a Chef cookbook,
|
151
|
+
In case you want to reuse tests across multiple cookbooks, they should become an extra artifact independent of a Chef cookbook, called [InSpec profiles](https://github.com/chef/inspec/blob/master/docs/profiles.md). Those can be easiliy added to existing local tests as demonstrated in previous sections. To include remote profiles, adapt the `verifier` attributes in `.kitchen.yml`
|
152
152
|
|
153
153
|
```yaml
|
154
154
|
suites:
|
@@ -93,7 +93,8 @@ module Kitchen
|
|
93
93
|
end
|
94
94
|
|
95
95
|
exit_code = runner.run
|
96
|
-
|
96
|
+
# 101 is a success as well (exit with no fails but has skipped controls)
|
97
|
+
return if exit_code == 0 || exit_code == 101
|
97
98
|
raise ActionFailed, "Inspec Runner returns #{exit_code}"
|
98
99
|
end
|
99
100
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen-inspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.23.
|
4
|
+
version: 0.23.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fletcher Nichol
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: inspec
|