Comments (5)
I am experiencing the same issue.
I've had to pin back inspec as a short term fix.
gem 'inspec', '~> 4.21.0'
This looks to be the commit that removes it as a valid option:
inspec/inspec@98ae89e
I see it's now a plugin that "included" with inspec but I've no idea how to translate that to my kitchen.yml for use with chef...
from kitchen-inspec.
I have the same problem. This breaks all my CI server builds unfortunately.
from kitchen-inspec.
The switch to the plugin has also broken kitchen-inspec when verifying multiple suites.
This error is thrown https://github.com/inspec/inspec/blob/master/lib/inspec/plugin/v2/registry.rb#L75 on all but the first suite, because a unique instance of the Activator
class gets created for every suite.
The same actually applies to other plugins, too.
from kitchen-inspec.
@fozboz I have created a separate issue for the multiple reporters / multiple suites issue - #262.
from kitchen-inspec.
This issue was resolved by #261 and released in kitchen-inspec 2.6.1, included in Chef Workstation 20.9.158 - https://discourse.chef.io/t/chef-workstation-20-9-158-released/17758 .
from kitchen-inspec.
Related Issues (20)
- Expeditor cannot find agent for inspec/kitchen-inspec HOT 6
- Enable the ability to pass a inspec `config.yml` file to kitchen
- Incorrect lower bound specification for `inspec` dependency HOT 2
- Error when using plugin-based reporters and multiple instances HOT 1
- WinRM execution expired (HTTPClient::ConnectTimeoutError)
- inspec array input treated as hash w/ keys HOT 1
- junit(2) is not a valid reporter type HOT 2
- v2.4.0 Regression: reporters HOT 1
- 'aws_lambda' resource not identified
- Lifecycle Hooks Do Not Fire If InSpec Tests Fail HOT 1
- Dependabot can't resolve your Ruby dependency files
- kitchen verify fails on Windows HOT 1
- Dependabot can't resolve your Ruby dependency files
- Dependabot can't resolve your Ruby dependency files
- Documentation needs to be moved to https://kitchen.ci/docs/verifiers/inspec/
- Waivers file is not used HOT 4
- add support for inspec 6.6.0, updated reporters and config options
- add the ability to pass any inspec --'flags' to the verifier - such as 'enhanced-outcomes' or any that we add in the future HOT 1
- Kitchen verify return code zero with client error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kitchen-inspec.