Miah Johnson
e816cbf2c8
Close at 400 days, with a message.
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-05 16:19:41 -07:00
Ryan Davis
6bed51d69a
Fixed up interactions between minitest & simplecov.
...
Sometime during the 2.x's, `at_exit` changed its ordering. As a result,
a lot of things that were stacking `at_exit`'s broke. This is one of
those since both simplecov and minitest do their thing via `at_exit`.
This switches to simplecov w/ no defaults on, then replicates their
simplecov/defaults.rb with our own.
I'm going to try to get that entire file back upstream but it can live
here for now.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-06-05 15:16:42 -07:00
Mary Jinglewski
cc9532d065
Copyediting for Input docs
...
Signed-off-by: Mary Jinglewski <mjinglewski@chef.io>
2019-06-05 16:54:47 -04:00
Clinton Wolfe
68fc434ede
Missed one
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-06-05 12:06:08 -04:00
Clinton Wolfe
aecd11b45c
Update related docs
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-06-05 11:14:35 -04:00
Clinton Wolfe
35b27ee109
Readover edits
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-06-05 10:57:00 -04:00
Clinton Wolfe
896aca1ffd
Resolve TODOs
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-06-05 10:57:00 -04:00
Clinton Wolfe
70ea81b245
bulk of text in place
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-06-05 10:57:00 -04:00
Clinton Wolfe
213613d978
Add profile metadata section
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-06-05 10:57:00 -04:00
Clinton Wolfe
97c62cf5fe
Add reading imputs section
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-06-05 10:57:00 -04:00
Clinton Wolfe
e91f7a4ea8
Wrote out option reference
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-06-05 10:57:00 -04:00
Clinton Wolfe
682fa18313
Most of introduction in place
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-06-05 10:57:00 -04:00
Clinton Wolfe
0bd3941aaa
outline of inputs doc
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-06-05 10:57:00 -04:00
Chef Expeditor
d4ae9e1e01
Bump version to 4.4.72 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-06-04 21:17:25 +00:00
Ryan Davis
0163c974b8
Merge pull request #4132 from inspec/zenspider/tests-are-network-brittle
...
Changed version check network timeout from 1 to 3 seconds.
2019-06-04 14:17:07 -07:00
Ryan Davis
443f4a16d7
Fix CLI version command test to be resilient on a bad network.
...
Also switched out LatestInSpecVersion.latest to be much cleaner using open-uri.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-06-04 13:47:48 -07:00
Ryan Davis
747d16bd7d
Sorted and cleaned up .gitignore a bit
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-06-04 13:47:48 -07:00
Chef Expeditor
f28265358b
Bump version to 4.4.71 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-06-04 17:48:58 +00:00
Miah Johnson
75aca544d1
Merge pull request #4183 from inspec/mj/warningEdit
...
Fixing docs so Warning note appears
2019-06-04 10:48:45 -07:00
Mary Jinglewski
8003305caf
Fixing docs so Warning note appears
...
Signed-off-by: Mary Jinglewski <mjinglewski@chef.io>
2019-06-04 13:44:41 -04:00
Miah Johnson
1a4ea3b8ce
Merge pull request #4182 from inspec/oops
...
oops. sorry. cleaned test output.
2019-06-04 10:39:11 -07:00
Ryan Davis
5e71a6b787
oops
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-06-04 00:19:26 -07:00
Chef Expeditor
82718c779b
Bump version to 4.4.70 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-06-04 06:40:43 +00:00
Ryan Davis
fee0c2db78
Merge pull request #4180 from inspec/zenspider/windows_fixes
...
Stabilize windows functional testing
2019-06-03 23:40:30 -07:00
Ryan Davis
58fa148773
Stabilize windows functional testing.
...
Skip most everything.
After some digging, in those tests that didn't have 100% failures, of
the ~10+% passing, those tests weren't checking enough. So I skip them
too in the hopes that we improve testing across the board.
At this point, we need appveyor to be green more than we need these
tests to be fixed. If that means we skip them, so be it.
These tests will time-bomb at the end of July.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-06-03 23:27:26 -07:00
Ryan Davis
5573957c52
Go back to cmd from powershell.
...
Apparently it is too much of a shift and I tested too small of a
sample.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-06-03 23:11:26 -07:00
Chef Expeditor
702533f351
Bump version to 4.4.69 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-06-04 06:04:19 +00:00
Ryan Davis
22635157b5
Merge pull request #4177 from inspec/zenspider/thread_safety_is_hard
...
Turn off parallel testing (for now?)
2019-06-03 23:04:03 -07:00
Chef Expeditor
0474910f57
Bump version to 4.4.68 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-06-04 06:03:36 +00:00
Ryan Davis
c40f541a54
Merge pull request #4172 from inspec/mj/jsa
...
Replace jsonschema with json-schema
2019-06-03 23:03:23 -07:00
Miah Johnson
0255fe0e18
Fix unbounded dependencies
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-03 18:35:47 -07:00
Chef Expeditor
c750177895
Update CHANGELOG.md with details from pull request #4173
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-06-04 01:31:14 +00:00
Miah Johnson
326a351c64
Merge pull request #4173 from inspec/cw/fix-2-links
...
Fix two misrendering hyperlinks in resource docs
2019-06-03 18:31:03 -07:00
Chef Expeditor
b63f70df1c
Bump version to 4.4.67 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-06-04 00:20:48 +00:00
Miah Johnson
e0d0f21462
Merge pull request #4171 from kekaichinose/patch-1
...
Creating and Publishing InSpec Team Working Agreement
2019-06-03 17:20:32 -07:00
Ryan Davis
11638d36dd
Now that we aren't parallelizing, start bringing back skipped tests.
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-06-03 14:12:06 -07:00
Ryan Davis
45ef0d84d0
Remove minitest/hell in favor of stable (but sloooow) tests.
...
Added InspecTest (which we should use across the board) and
ParallelTest (which we should use selectively and with metrics) to
helper.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-06-03 14:12:06 -07:00
Ryan Davis
d2edd3ce68
Move minitest/hell to test/helper.
...
Probably going to remove this next and focus on opting-in to parallelization.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-06-03 14:12:06 -07:00
Ryan Davis
bba9434600
Change the way we load rspec so it never exposes globally.
...
Essentially, the way rspec does stuff is pretty rude. By injecting
singleton methods into main (instead of Kernel, where all top-level
methods go) and "cleaning" them up using undef_method instead of
remove_method makes it pretty hard for anything else in the testing
arena to operate. I've already fixed the case where rspec would
overwrite minitest's `describe` in a way that made it very hard to put
back, but my fix didn't prevent rspec from doing it _AGAIN_.
This fixes the case where after some rspec interactions, mocha's
`any_instance` method would just disappear. I never did figure out
where or why this was happening, but I did address the how.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-06-03 14:12:06 -07:00
Chef Expeditor
5a7d548c14
Bump version to 4.4.66 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-06-03 20:39:48 +00:00
Ryan Davis
a2f2cd5087
Merge pull request #4109 from inspec/zenspider/helper_cleanup
...
Minor cleanup on test/helper.rb
2019-06-03 13:39:31 -07:00
kekaichinose
eb71ff8842
Update inspec_team-working_agreement.md
2019-06-03 12:23:07 -07:00
Clinton Wolfe
82cafccebb
Remove enclosing HTML and re-render
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-06-03 11:56:34 -04:00
kekaichinose
dbba496923
Rename inspec_team-working_agreement to inspec_team-working_agreement.md
2019-06-03 08:56:07 -07:00
Clinton Wolfe
3cb3ca9f94
Remove two misrendering hyperlinks
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-06-03 11:35:48 -04:00
Artem Sidorenko
eaec745edf
Using dist constants for license check
...
Signed-off-by: Artem Sidorenko <artem.sidorenko@t-systems.com>
2019-06-03 15:29:53 +02:00
Artem Sidorenko
9d03fd7882
Allow to switch off the license check
...
similar to the approach in chef/chef: https://github.com/chef/chef/pull/8354/files#diff-847fc1c7c0af04a65c570c6f4c3381e9R25
Signed-off-by: Artem Sidorenko <artem.sidorenko@t-systems.com>
2019-06-03 15:29:53 +02:00
Miah Johnson
0aea548dd8
Update tests to use json-schema, and test something.
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-01 23:17:53 -07:00
Miah Johnson
23245df6d1
Replace jsonschema with json-schema.
...
Also just use json, its packaged with ruby already.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-01 22:04:36 -07:00
kekaichinose
d0f4427576
Create InSpec Team Working Agreement
...
This is the written basis of how we "conduct business" within the InSpec team. As our product and project are open source, we should look to publish this for other in the community to see so that they not only know what we are about and how we operate, but so that as they become more involved in the project, they have a shared understanding of how to contribute.
2019-06-01 11:42:32 -07:00