Commit graph

10166 commits

Author SHA1 Message Date
Nick Schwaderer
1f0bcd988f
Merge pull request #5278 from inspec/ns/waiver_message
Ensure that we populate information about waiver expiration regardless of `run: true/false`
2020-10-19 10:41:05 +01:00
mbaitelman
f88404a865 call class insteader of loader
Signed-off-by: GitHub <noreply@github.com>
2020-10-19 05:24:09 +00:00
mbaitelman
58fd1311c5 Add test fixture
Signed-off-by: GitHub <noreply@github.com>
2020-10-16 18:02:31 +00:00
mbaitelman
89cb81ca33 Update to return JSON, start writing tests
Signed-off-by: GitHub <noreply@github.com>
2020-10-16 18:01:38 +00:00
Tim Smith
b25f13cd56 Update Ruby to 2.7.2
Now that Ruby 2.7.2 no longer throws deprecation warnings left and right
we should update InSpec to use the latest and greatest Ruby that we use
in Chef Infra Client and Workstation.

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-10-16 10:53:59 -07:00
mbaitelman
188b188615 Style fixes
Signed-off-by: GitHub <noreply@github.com>
2020-10-15 23:31:56 +00:00
mbaitelman
97a14013d7 Review fixes
Signed-off-by: GitHub <noreply@github.com>
2020-10-15 23:16:27 +00:00
Mendy Baitelman
c31057e6f9 Update method name in tests
Signed-off-by: Mendy Baitelman <mendy@baitelman.com>
2020-10-15 23:16:27 +00:00
Mendy Baitelman
fac9368e6d Move OS checks from Chef to Inspec style
Signed-off-by: Mendy Baitelman <mendy@baitelman.com>
2020-10-15 23:16:27 +00:00
Mendy Baitelman
6c5db5ae14 Fix RuboCop for Remove OS checks
Signed-off-by: Mendy Baitelman <mendy@baitelman.com>
2020-10-15 23:16:27 +00:00
Mendy Baitelman
9f237f966d Remove OS checks
Signed-off-by: Mendy Baitelman <mendy@baitelman.com>
2020-10-15 23:16:27 +00:00
Mendy Baitelman
1b82949d39 RuboCop and test fixes
Signed-off-by: Mendy Baitelman <mendy@baitelman.com>
2020-10-15 23:16:26 +00:00
mbaitelman
0246acc672 Add Windows support fot the http resource
Signed-off-by: Mendy Baitelman <mendy@baitelman.com>
2020-10-15 23:16:26 +00:00
Chef Expeditor
9c3ec0613e Bump version to 4.23.13 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-10-14 18:45:09 +00:00
James Stocks
9d5d6c8565
Merge pull request #5279 from inspec/im/update_hugo
Update Hugo version to 0.76.4
2020-10-14 19:43:49 +01:00
Nick Schwaderer
4c4bfe0426 Update tests to handle waiver expiration message
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-10-14 12:55:39 +01:00
IanMadd
1fca289f85 Update Hugo version to 0.76.4
Signed-off-by: IanMadd <imaddaus@chef.io>
2020-10-13 14:31:06 -07:00
Nick Schwaderer
459ffcdd2f Ensure that we populate information about waiver expiration regardless of
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-10-13 10:11:40 +01:00
Chef Expeditor
d64e588bc6 Bump version to 4.23.12 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-10-13 07:49:53 +00:00
Nick Schwaderer
19992035e9
Merge pull request #5269 from unixengineer/master
Added another example to illustrate use for only_if
2020-10-13 08:48:18 +01:00
Chef Expeditor
49b7d1033d Update CHANGELOG.md with details from pull request #5251
Obvious fix; these changes are the result of automation not creative thinking.
2020-10-09 17:27:14 +00:00
Tim Smith
348388fae1
Merge pull request #5251 from inspec/nuke_requires
Remove thread requires as this is built in now
2020-10-09 10:25:53 -07:00
fpalomar
c5fe6f1a1e Merge branch 'issue-5182' of https://github.com/pacopal/inspec into issue-5182 2020-10-08 21:40:43 +02:00
fpalomar
3854f0b074 Signed-off-by: Francisco Palomares <fpalomares@hotmail.com> 2020-10-08 21:40:17 +02:00
fpalomar
3f5205535a Fixed Test Unit to compare with new values 2020-10-08 16:55:04 +02:00
Ramprasad Prabhakar
1136972fd4 Added another example to illustrate use for only_if
Signed-off-by: Ramprasad Prabhakar <unixengineer@gmail.com>
2020-10-02 16:43:43 -07:00
Chef Expeditor
93f5e0e30f Update CHANGELOG.md with details from pull request #5268
Obvious fix; these changes are the result of automation not creative thinking.
2020-10-01 22:06:58 +00:00
James Stocks
1ff95a6057
Merge pull request #5268 from inspec/im/fix_links
Fix "Edit on GitHub" links
2020-10-01 23:05:44 +01:00
unixengineer
40a64ad0cd
Update dsl_inspec.md 2020-09-29 13:25:09 -07:00
IanMadd
651b95183e Fix Edit on GitHub links
Signed-off-by: IanMadd <imaddaus@chef.io>
2020-09-29 09:27:10 -07:00
Chef Expeditor
347fe8bfb6 Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2020-09-28 15:01:40 +00:00
Chef Expeditor
ded881473f Bump version to 4.23.11 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-09-25 14:59:59 +00:00
James Stocks
4e1746c60c
Merge pull request #5255 from james-stocks/js/patents
Add Chef patent URL to --help, tidy help output
2020-09-25 15:58:29 +01:00
Catriona Malone
36f4289441 Add option for winrm-shell-type
Signed-off-by: Catriona Malone <cmalone@chef.io>
2020-09-25 15:38:11 +01:00
James Stocks
db5f6a1615 Tidy --help output slightly
Give `exec` a short description in the main help output. Hide the option to disable core plugins.

Signed-off-by: James Stocks <jstocks@chef.io>
2020-09-25 13:02:16 +01:00
James Stocks
7576ad8ff5 Add Chef patent URL to --help
Fixes #5248

Signed-off-by: James Stocks <jstocks@chef.io>
2020-09-25 13:02:16 +01:00
Chef Expeditor
38971c7122 Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2020-09-23 08:14:03 +00:00
Chef Expeditor
4c2713b035 Bump version to 4.23.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-09-22 15:23:48 +00:00
James Stocks
69124c1fa7
Merge pull request #5259 from james-stocks/js/junit_readme
Update documentation for junit plugins
2020-09-22 16:22:22 +01:00
James Stocks
cbad55aec9
Tweak JUnit plugin docs
Signed-off-by: James Stocks <jstocks@chef.io>

Co-authored-by: mjingle <mjinglewski@chef.io>
2020-09-22 15:46:20 +01:00
James Stocks
48054ef2d1 Update documentation for junit plugins
Signed-off-by: James Stocks <jstocks@chef.io>
2020-09-22 14:15:01 +01:00
Chef Expeditor
4c02ebbf5b Bump version to 4.23.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-09-22 12:07:35 +00:00
Nick Schwaderer
a0a7c01ca1
Merge pull request #5244 from inspec/cw/reporter-plugin-junit
Cw/reporter plugin junit
2020-09-22 13:06:13 +01:00
Clinton Wolfe
6e7e05e6b6 Adjust expected error count
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-09-22 11:40:01 +01:00
Clinton Wolfe
4e1c209d17 Make sure we test the legacy reporter in the unit test for junit
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-09-22 11:40:01 +01:00
Clinton Wolfe
b3f72f5854 Implement a corrected junit2 reporter that can be validated
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-09-22 11:40:01 +01:00
Clinton Wolfe
c602e53910 Update test to remove some skips due to outdated fixture
The tests depended on an old fixture profile that skipped a test,
which no longer happens. It also was targeting a test that does not exist.

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-09-22 11:40:01 +01:00
Clinton Wolfe
955ab36922 Update junit tests to use nokogiri
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-09-22 11:40:01 +01:00
James Stocks
064d3f5d1c
Merge pull request #5249 from inspec/im/update_fix_inspec_docs
Update/fix InSpec docs
2020-09-18 17:03:14 +01:00
Tim Smith
535f12cfbd Remove thread requires as this is built in now
This is already required out of the box. no need to require it again.

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-09-15 23:59:49 -07:00