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
mhackethal
c3270b537a
update user_test.rb
...
Signed-off-by: mhackethal <mh@it31.de>
2019-09-13 21:19:20 +02:00
mhackethal
0b76859728
adjust user_test.rb
2019-09-13 20:45:54 +02: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
Miah Johnson
565c42d672
Update codeowners to get better automatic review requests
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-09-13 11:29:57 -07:00
Miah Johnson
30bc9969a2
Tweak expeditor configuration for PR template and auto assignment
...
Allow expeditor to automatically assign PR's opened by the team.
Prevent expeditor from posting pull_request template on PR's opened by the team.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-09-13 11:06:23 -07:00
mhackethal
9e06f02e27
Update user_test.rb
...
adjust expectation of methods to be "nil" on windows
2019-09-13 13:14:34 +02:00
Noel Georgi
48c22a118b
Support config clearing
...
Signed-off-by: Noel Georgi <git@frezbo.com>
2019-09-13 10:41:32 +05:30
Chef Expeditor
b9eff6e3b9
Bump version to 4.16.14 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-13 00:25:52 +00:00
Miah Johnson
008ac9705b
Merge pull request #4484 from timgates42/feature/typo_becuase
...
Fix simple typo: becuase -> because
2019-09-12 17:25:37 -07:00
Tim Gates
f1e88ca65f
Fix simple typo: becuase -> because
...
Obvious Fix.
2019-09-13 09:30:00 +10:00
Ryan Davis
5bf13e05d3
Use File.realpath in Loader#plugin_gem_path to resolve all symlinks.
...
Fixes #4472 .
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-12 16:21:01 -07:00
Chef Expeditor
80dcaa0e2e
Update CHANGELOG.md with details from pull request #4475
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-12 23:14:33 +00:00
Clinton Wolfe
19efdef5f8
Merge pull request #4475 from inspec/zenspider/bk/update_gems
...
Update rubygems and use gem env for system details.
2019-09-12 19:14:21 -04:00
Chef Expeditor
f419546e76
Bump version to 4.16.13 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-12 23:08:47 +00:00
Clinton Wolfe
d366af15e8
Merge pull request #4478 from inspec/cw/fix-symbol-error
...
Add to_s definitions to several resources
2019-09-12 19:08:31 -04:00
mhackethal
d3291ae61c
fix whitespace. Signed-off-by: mhackethal <mh@it31.de>
2019-09-12 21:56:50 +02:00
mhackethal
7ac468df5b
first test. Signed-off-by: mhackethal <mh@it31.de>
2019-09-12 21:44:13 +02:00
mhackethal
c08db992a9
remove awk on lastb
2019-09-12 16:06:03 +02:00
mhackethal
e48f672968
Update users.rb
...
Signed-off-by: mhackethal <mh@it31.de>
2019-09-12 16:04:44 +02:00
Clinton Wolfe
23ca9ba64d
Add to_s to remaining resources
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-09-11 20:20:37 -04:00
Clinton Wolfe
80db6b52c7
Add a to_s method for sys_info to avoid conversion error
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-09-11 19:56:05 -04:00
Ryan Davis
8567d8641e
Update rubygems and use gem env for system details.
...
Travis used to update rubygems to the latest version before doing
anything else. We don't on BK and I just found a rubygems specific bug
that would have been exposed by this.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-11 16:20:19 -07:00
Chef Expeditor
d0505a98e5
Bump version to 4.16.12 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-11 22:33:40 +00:00
Clinton Wolfe
fe351dba61
Merge pull request #4469 from inspec/cw/waivers2-fixes
...
Fix broken unit test by adding require
2019-09-11 17:36:46 -04:00
Chef Expeditor
192c241ee0
Bump version to 4.16.11 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-11 15:12:40 +00:00
Clinton Wolfe
8132aaf85c
Merge pull request #3844 from inspec/ja/add-error-output-to-json-command
...
json resource: Add handling for `command:` error
2019-09-11 11:12:26 -04:00
Clinton Wolfe
e07cca0f8d
Add require for input registry
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-09-11 10:31:23 -04:00
Ryan Davis
a2b6517f9a
skip a test when on windows
...
(and make it more compatible for when it does work)
Blocked by #4465 .
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-10 14:19:42 -07:00
Ryan Davis
fcfcc354fe
Reworked test cases and impl to only respond to output, not exit code.
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-10 14:19:42 -07:00
Kerry Vance
933d7f14ac
fix indentation
...
Signed-off-by: Kerry Vance <vancelot@osuosl.org>
2019-09-10 11:32:15 -07:00
Chef Expeditor
e0e61155d6
Bump version to 4.16.10 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-10 18:18:31 +00:00
Ryan Davis
576370cf62
Merge pull request #4437 from inspec/zenspider/waivers/input
...
Rough draft on waiver input
2019-09-10 11:18:17 -07:00
Ryan Davis
7a718103c5
Minor cleanup in config.rb.
...
The logic involved was unnecessary and had a hard-coded string in it
that is now wrong.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-09 18:44:55 -07:00
Ryan Davis
ce80cf3cf9
First draft at waiver file processing.
...
1) Don't know how much filtering or rewriting we want at this level.
2) Don't know where to put the tests.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-09 18:44:55 -07:00
Chef Expeditor
29feee9b00
Bump version to 4.16.9 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-10 01:41:52 +00:00
Ryan Davis
dfce5e722f
Merge pull request #4427 from inspec/cw/waivers-overlay
...
waivers: functional test fixture and eval-time skipping
2019-09-09 18:41:37 -07:00
Chef Expeditor
69b583bd3d
Bump version to 4.16.8 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-10 01:02:22 +00:00
Ryan Davis
f5bbfe5fac
Merge pull request #4365 from inspec/zenspider/the-need-for-speed
...
Make inspec much faster for most commands.
2019-09-09 18:02:10 -07:00
Jerry Aldrich
0e1b3fa65a
json resource: Add handling for command:
error
...
This provides the user with messages if `json(command: 'command_that_errors')`
exits non-zero and/or has STDERR.
Without this the resource will report "No output from command" when really the
output is contained in STDERR.
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-09-09 15:16:34 -07:00
Chef Expeditor
d1ecefc970
Bump version to 4.16.7 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-09 18:14:06 +00:00
Ryan Davis
79b9c3cbad
Merge pull request #4451 from inspec/zenspider/fix-tarball-decoding
...
Try to decode archive contents to UTF-8 to avoid encoding corruption.
2019-09-09 11:13:48 -07:00
Clinton Wolfe
5d94440823
Fix logic error for future expiring waivers
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-09-09 11:29:26 -04:00
Clinton Wolfe
9fd0fb242c
Store waiver information in control metadata and pass into report run_data
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-09-09 11:29:26 -04:00
Clinton Wolfe
43bc7e0343
Modify @__skip_rule to distinguish only_if and waiver, and force waiver to win
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-09-09 11:29:26 -04:00