Commit graph

7217 commits

Author SHA1 Message Date
Chef Expeditor
592f091d95 Bump version to 4.17.14 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-30 19:26:49 +00:00
Ryan Davis
1e42ae50ed
Merge pull request #4540 from inspec/zenspider/bump-windows
Yet another bump of our skip_windows! due date.
2019-09-30 12:26:29 -07:00
Ryan Davis
d1fbbada4d Yet another bump of our skip_windows! due date.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-30 12:23:15 -07:00
Chef Expeditor
09acafc612 Bump version to 4.17.13 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-30 19:15:47 +00:00
Chef Expeditor
bc6fdc25e3 Bump version to 4.17.12 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-30 19:15:20 +00:00
Ryan Davis
c9da57efa7
Merge pull request #4537 from syseleven/fix/group_loading
Add missing resource stubs for 'group' resource
2019-09-30 12:15:14 -07:00
Ryan Davis
f9b9ccd99d
Merge pull request #4538 from inspec/cw/add-sshd_config-stub
Add resource stub for sshd_config
2019-09-30 12:14:57 -07:00
Clinton Wolfe
9f79fffb39 Add resource stub for sshd_config
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-09-30 13:43:53 -04:00
Matthias Baur
59ae6629ec
Add missing resource stubs for 'group' resource
Fixes #4536.

Signed-off-by: Matthias Baur <m.baur@syseleven.de>
2019-09-30 11:04:26 +02:00
Chef Expeditor
ba003ed529 Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-28 00:56:01 +00:00
Chef Expeditor
98606ef721 Bump version to 4.17.11 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-27 23:51:46 +00:00
Ryan Davis
3de0ccb4a2
Merge pull request #4535 from inspec/lcg/inspec-core-bin-gemfile
fix Gemfile for inspec-core-bin gem
2019-09-27 16:51:27 -07:00
Chef Expeditor
f4c0c60d2e Bump version to 4.17.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-27 23:33:04 +00:00
Chef Expeditor
bc60fc5a80 Bump version to 4.17.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-27 23:32:18 +00:00
Ryan Davis
737badc619
Merge pull request #4534 from inspec/zenspider/rspec/resources
Fixed inspec lazy resource loader for rspec test dsl (eg before/after)
2019-09-27 16:32:08 -07:00
Ryan Davis
d8e39750f7
Merge pull request #4526 from inspec/cw/fix-resource-loader-by-name
Add resource stubs so the resource loader will find all resources
2019-09-27 16:31:58 -07:00
Lamont Granquist
700d5f4c28 fix Gemfile for inspec-core-bin gem
* in order to appbundle inspec-core-bin we need a Gemfile.

* the previous gemfile refers to inspec-bin and that gets packaged and
shipped with the inspec-core-bin Gemfile and that does not work when
appbundler tries to use it.

* hacking up appbundler to be more complicated than it is, is probably
a poor idea since it is already a big pile of magic.

* so what would be good to do in order to preserve the DRY'ness of
having both inspec-bin and inspec-core-bin share binaries, would be to
have the Gemfile be usable by both gems when they are ultimately
consumed.

* because the inspec-core-bin gem only has the inspec-core-bin.gemspec
what we can do is test to see which gemspec we have and then behave
accordingly.

still a bit hacky, but better than the other alternatives we considered.

Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
2019-09-27 16:30:00 -07:00
Ryan Davis
9369bad99a Fixed inspec lazy resource loader for rspec test dsl (eg before/after)
This does NOT fix lazy loading of resources at the describe block
level. I need to figure out where our backend/inspec/whatever is in
that context and it looks like we don't have one available.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-27 15:55:38 -07:00
Clinton Wolfe
9a2d360b71 Last four resources
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-09-27 14:47:40 -07:00
Clinton Wolfe
19a0803a71 Four more resources
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-09-27 14:47:40 -07:00
Clinton Wolfe
72ff1cee7f Add resource loader stubs so the dynamic resource loader will find the code file for services
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-09-27 14:47:40 -07:00
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