Mendy Baitelman
d44f9edc55
Merge remote-tracking branch 'upstream/master' into add-startuser-systemd-service
...
Signed-off-by: Mendy Baitelman <mendy@baitelman.com>
2019-09-24 22:30:51 -07:00
Mendy Baitelman
d45963cd91
Fix spacing
...
Signed-off-by: Mendy Baitelman <mendy@baitelman.com>
2019-09-24 21:58:55 -07:00
Mendy Baitelman
76cd799c92
Add to params for tests
...
Signed-off-by: Mendy Baitelman <mendy@baitelman.com>
2019-09-24 21:49:29 -07: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
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
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
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