Commit graph

7196 commits

Author SHA1 Message Date
Chef Expeditor
8fffa5e2cb Bump version to 4.17.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-27 21:45:41 +00:00
Ryan Davis
866efdf141
Merge pull request #4531 from inspec/mj/wtf_rake
Remove maintainers task from require
2019-09-27 14:45:21 -07:00
Ryan Davis
984e02e312 Quick fix for faraday_middleware bug introduced when bumping to faraday 0.16.0.
Namespacing changed in faraday from Faraday::Error::* to Faraday::*
but was not reflected in faraday_middleware (which hasn't released
since February). I will file an issue and/or PR with them later.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-27 14:19:45 -07:00
Miah Johnson
31b24c4abf Remove maintainers task from require
[miah@awakening inspec]$ bundle exec rake
rake aborted!
NameError: uninitialized constant Faraday::Error::ClientError
Did you mean?  Faraday::ClientError
/home/miah/projects/github/.gems/inspec/ruby/2.6.0/gems/octokit-4.14.0/lib/octokit/middleware/follow_redirects.rb:14:in `<module:Middleware>'
/home/miah/projects/github/.gems/inspec/ruby/2.6.0/gems/octokit-4.14.0/lib/octokit/middleware/follow_redirects.rb:11:in `<module:Octokit>'
...
/home/miah/projects/github/inspec/tasks/maintainers.rb:27:in `require'
...
(See full trace by running task with --trace)

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-09-27 14:18:50 -07:00
Chef Expeditor
08eb87d280 Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-27 01:32:13 +00:00
Chef Expeditor
1933fdefa0 Bump version to 4.17.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-27 00:01:28 +00:00
Ryan Davis
9e5643d254
Merge pull request #4515 from SalmonKing72/master
Fix issue 4514 - update header z-index preventing header overlaying main navigation
2019-09-26 14:43:41 -07:00
Ryan Davis
c6fb5969fb
Merge pull request #4518 from inspec/zenspider/waiver-doco
Added first draft of waiver doco.
2019-09-26 14:36:59 -07:00
Ryan Davis
0f05d7133e Fixes based on feedback.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-26 14:15:00 -07:00
Mary Jinglewski
be5e8d0a33 Edits and adding to website menu
Signed-off-by: Mary Jinglewski <mjinglewski@chef.io>
2019-09-26 16:56:06 -04:00
Ryan Davis
6e220d0310 Added first draft of waiver doco.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-26 16:56:06 -04:00
Chef Expeditor
df93b99277 Bump version to 4.17.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-26 19:29:48 +00:00
Ryan Davis
fd1ab6fff0
Merge pull request #4513 from inspec/zenspider/plugin_loader
Fixed Inspec::Plugin::V2::Registry#detect_system_plugins
2019-09-26 12:29:29 -07:00
Ryan Davis
ca4844210d Fixed Inspec::Plugin::V2::Registry#detect_system_plugins
+ Falls back to checking for inspec-core if inspec not found.
+ Fails gracefully if neither are found.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-25 16:10:00 -07:00
SalmonKing72
a1ada89d0d Merge branch 'master' of github.com:inspec/inspec 2019-09-24 22:23:17 -04:00
SalmonKing72
fdb551ad57 z-index issue for header to prevent content from overlaying the main nav for both mobile and desktop layouts 2019-09-24 22:22:10 -04:00
Chef Expeditor
52b0765347 Bump version to 4.17.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-25 00:46:14 +00:00
Ryan Davis
90c4904a55
Merge pull request #4490 from inspec/zenspider/split-long-functional
Split and parallelize some tests to make them faster
2019-09-24 17:45:57 -07:00
Chef Expeditor
9e641e9e94 Bump version to 4.17.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-23 16:43:27 +00:00
Clinton Wolfe
14e611b25a
Merge pull request #4393 from dalee-bis/query-double-quote-escape-fix
Fixed MssqlSession.query not escaping double quote correctly
2019-09-23 12:43:09 -04:00
Ryan Davis
9671f75f9a Let's see how our BK setup likes parallelization.
According to @tom, we have some seriously beefy aws instances on both
linux and windows (4 times beefier than linux!). Let's see what this does.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-18 14:47:41 -07:00
Chef Expeditor
76901e0247 Bump version to 4.17.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-18 01:14:06 +00:00
Ryan Davis
577521296c
Merge pull request #4476 from inspec/zenspider/gem_pathing
Use File.realpath in Loader#plugin_gem_path to resolve all symlinks.
2019-09-17 18:13:35 -07:00
Chef Expeditor
d35b123f67 Bump version to 4.17.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-18 01:13:19 +00:00
Ryan Davis
988c7e813e
Merge pull request #4434 from irvingpop/irving/fix_tag_to_ruby
Resolve issue where the Inspec::Tag to_ruby method outputs invalid Ruby
2019-09-17 18:13:02 -07:00
Irving Popovetsky
bbb927e3dd Remove invalid test cases for tags
Signed-off-by: Irving Popovetsky <irving@chef.io>
2019-09-17 15:58:12 -07:00
Irving Popovetsky
4aebe87c2e Update unit tests to match
Signed-off-by: Irving Popovetsky <irving@chef.io>
2019-09-17 15:58:12 -07:00
Irving Popovetsky
ffbcc29c59 Fix the Tag object to_ruby, as used by inspec-scap
Signed-off-by: Irving Popovetsky <irving@chef.io>
2019-09-17 15:58:12 -07:00
Ryan Davis
fc1ad67ffc More parallelization for functionals.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-17 11:50:31 -07:00
Chef Expeditor
9afbce04ca Bump version to 4.17.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-17 00:50:32 +00:00
Ryan Davis
a473a94303
Merge pull request #4493 from inspec/mj/waiver3
Waivers Phase 3
2019-09-16 17:50:02 -07:00
Chef Expeditor
a3006d7f4d Bump version to 4.17.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-17 00:46:42 +00:00
Clinton Wolfe
f1f5840fa7
Merge pull request #4388 from Vancelot11/vancelot/sys_info.hostname
Expand sys_info resource functionality
2019-09-16 20:46:25 -04:00
Ryan Davis
d3f81f1194 Turn on parallelism for inspec_shell_test.rb
Seems safe after several runs.

Takes the time down from ~180s to 22s.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-16 17:19:32 -07:00
Ryan Davis
ba462724db Turn on parallelism for inspec_exec_test.rb
Seems safe after several runs.

Takes the time down from ~275s to 35s.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-16 17:19:32 -07:00
Ryan Davis
769d492108 Split up inspec-plugin_test.rb into a file per subcommand + helper.
This takes the run time from ~3 minutes to ~1 minute (in parallel).

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-16 17:19:32 -07:00
Chef Expeditor
3f3c0fba32 Bump version to 4.16.15 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-17 00:04:05 +00:00
Ryan Davis
a0a7917faa
Merge pull request #4485 from inspec/zenspider/objects-inputs
Split out Inspec::Input functional code from the code generation code.
2019-09-16 17:03:49 -07:00
Chef Expeditor
812564b717 Update CHANGELOG.md with details from pull request #4480
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-17 00:02:06 +00:00
Ryan Davis
6b72ca2655
Merge pull request #4480 from inspec/zenspider/isolate
Added test:isolate task that runs tests isolated but in parallel.
2019-09-16 17:01:54 -07:00
Ryan Davis
1526838ea6 Refactored JSON reporter to be much cleaner / consistent.
Everything can just be a simple clean map + reject if nil value.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-16 16:55:38 -07:00
Ryan Davis
1d3c9341ec Finished up the phase 3 waiver json output tests.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-16 16:39:34 -07:00
Miah Johnson
5d94b0d709 Add waiver_data to json output, update assertion to show where waiver_data lives.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-09-16 14:49:05 -07:00
Miah Johnson
168c77e472 Refactor tests.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-09-16 14:49:05 -07:00
Ryan Davis
fe97c3a4c3 Added new pipeline to check all tests work in isolation.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-13 17:14:32 -07:00
Ryan Davis
2cb05f2c66 Removed old test:isolated in favor of new one.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-13 17:14:32 -07:00
Ryan Davis
5e7c6d87e6 Added test:isolate2 that runs tests isolated but in parallel.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-13 17:14:32 -07:00
Ryan Davis
e375ea30c8 Split out Inspec::Input functional code from the code generation code.
Includes moving errors into Inspec::Input and Inspec::InputRegistry.

Fixes #4456.
Fixes #4473.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-13 17:12:20 -07:00
Ryan Davis
1c1211ea36
Merge pull request #4487 from inspec/mj/ghe
Tweak expeditor configuration for PR template and auto assignment
2019-09-13 13:26:16 -07:00
Miah Johnson
4607db342e
Merge pull request #4488 from inspec/mj/codeowners
Update codeowners to get better automatic review requests
2019-09-13 11:31:23 -07:00