Commit graph

6485 commits

Author SHA1 Message Date
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
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
Chef Expeditor
c0643c33ee
Bump version to 4.4.65 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-31 20:46:22 +00:00
Ryan Davis
a05f54d9e2
Merge pull request #4152 from inspec/mj/leadingnl
Remove all leading newlines.
2019-05-31 13:46:05 -07:00
Miah Johnson
9a580407e6 brittle tests
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-31 11:43:44 -07:00
Miah Johnson
a5c8021227 don't remove this leading newline =)
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-31 11:43:44 -07:00
Miah Johnson
2a1b1d8e88 Remove all leading newlines.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-31 11:43:44 -07:00
Chef Expeditor
97df4c33fd
Bump version to 4.4.64 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-31 18:29:50 +00:00