James Stocks
a0212011c3
Add website push to release process guide
...
Signed-off-by: James Stocks <jstocks@chef.io>
2020-05-21 09:52:10 +01:00
Clinton Wolfe
3184d5ca9e
Add an object model for run_data
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-20 13:27:20 -04:00
James Stocks
350c0bfe8f
Handle waiver expiration dates being YAML strings
...
This is technically incorrect YAML, but if you transcode YAML between several tools you may end up with a date/time value being an explicit string.
It would be helpful if InSpec supported any string value that easily translates to a Time.
Signed-off-by: James Stocks <jstocks@chef.io>
2020-05-20 15:00:43 +01:00
James Stocks
35e36ad40a
Allow for waiver time as well as date
...
Fixes #5037
The YAML parser may parse a waiver timestamp as a Time rather than a Date. Even when the user doesn't care about time, they may be using a tool that outputs YAML with trailing zeroes for hour, minutes, seconds etc.
Signed-off-by: James Stocks <jstocks@chef.io>
2020-05-20 14:59:07 +01:00
Nick Schwaderer
989d86c2ce
Stores output of inspec json
to archive and artifact
...
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-05-20 12:34:17 +01:00
Chef Expeditor
e924364565
Bump version to 4.18.115 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-05-20 11:33:26 +00:00
Nick Schwaderer
b622b3c13a
Merge pull request #5035 from inspec/ns/open_ssl_deprecations
...
Update for incoming ruby openSSL deprecations
2020-05-20 12:33:06 +01:00
Nick Schwaderer
e882bc727e
Update for incoming ruby openSSL deprecations
...
Fixes #5031
See above issue for full context, this updates to the latest rubocop requirements for incoming ruby OpenSSL deprecations
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-05-19 15:37:24 +01:00
Clinton Wolfe
c5e347bae5
Implement silencing deprecations
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-14 12:17:55 -04:00
Chef Expeditor
5cf742055b
Executed '.expeditor/update_dockerfile.sh'
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-05-14 10:18:40 +00:00
Clinton Wolfe
6a59618d2b
Add a failing test case for silencing deprecations
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-13 22:45:58 -04:00
Christopher A. Snapp
6af22311e5
Add Debian 10 (aarch64) Builder/Tester
...
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
2020-05-13 10:24:40 -06:00
Christopher A. Snapp
0239783e23
Add SLES 15 (aarch64) Builder/Tester
...
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
2020-05-13 10:24:39 -06:00
Christopher A. Snapp
e69662cbed
Add Ubuntu 18.04 + 20.04 (aarch64) Builder/Tester
...
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
2020-05-13 10:24:38 -06:00
Christopher A. Snapp
2d89724e77
Add Amazon Linux 2 Testers
...
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
2020-05-13 10:24:37 -06:00
Christopher A. Snapp
3ca8dcd4d0
Add el-7 and el-8 aarch64 testers
...
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
2020-05-13 10:24:36 -06:00
James Stocks
b3e2a4a46b
Merge pull request #5019 from james-stocks/js/release_doc
...
Include homebrew-chef in release process
2020-05-13 14:35:56 +01:00
Clinton Wolfe
8ec249e0cc
Copy in reporter message size limiter code from core reporter base
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-12 17:04:19 -04:00
Clinton Wolfe
36069943c4
Add ability to generate reporter plugins using inspec init
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-12 17:00:44 -04:00
Chef Expeditor
6b45777e81
Bump version to 4.18.114 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-05-11 23:09:52 +00:00
Bryan McLellan
4e14a7d270
Merge pull request #5020 from inspec/no_rubygems_bundler
...
No longer need to include rubygems or bundler software dep
2020-05-11 19:09:35 -04:00
Bryan McLellan
356e67720e
Remove comment about the omnibus lock in overrides file
...
The comment about running `bundle exec rake dependencies:update_omnibus_gemfile_lock`
is copy-pasta from chef/chef. The inspec project does not commit any
Gemfile.lock files, including omnibus/Gemfile.lock, due to
`Gemfile.lock` being in the `.gitignore` file.
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
2020-05-11 18:34:45 -04:00
James Stocks
10509255ff
Merge pull request #5016 from james-stocks/js/issue_4705
...
Remove Windows skips from test/functional/inspec_exec_jsonmin_test.rb
2020-05-11 12:04:36 +01:00
tyler-ball
0dd05af06e
No longer need to include rubygems or bundler software dep
...
Recent versions of Ruby have included Rubygems and Bundler, which they
did not always do. We also recently fixed some issues in Appbundler so
these software dependencies are no longer needed.
Signed-off-by: tyler-ball <tball@chef.io>
2020-05-08 16:40:51 -07:00
James Stocks
ee6404b9e1
Include homebrew-chef in release process
...
Signed-off-by: James Stocks <jstocks@chef.io>
2020-05-08 09:09:23 +01:00
Clinton Wolfe
ee095a244a
Soften the exception to a warning when the input is not parseable
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-07 10:47:57 -04:00
James Stocks
ba99226baf
Remove TODO Windows skip
...
I removed the skip to see what would break, and on my Windows laptop
these tests pass OK. The TODO didn't explain what wasn't applicable to
Windows, so I'm just going to remove it.
Signed-off-by: James Stocks <jstocks@chef.io>
2020-05-07 14:01:32 +01:00
James Stocks
1510ff1078
Remove Windows skip from test/functional/inspec_exec_jsonmin_test.rb
...
Signed-off-by: James Stocks <jstocks@chef.io>
2020-05-07 13:16:22 +01:00
Chef Expeditor
caa6a300bc
Bump version to 4.18.113 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-05-07 11:54:51 +00:00
James Stocks
2103b52dbe
Merge pull request #4994 from james-stocks/js/json
...
Reporter options to truncate message and suppress stacktrace
2020-05-07 12:54:34 +01:00
Clinton Wolfe
12f3f313cb
Don't try to test JSON input under powershell
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-06 16:33:50 -04:00
James Stocks
1d67349214
Do not inject config to base reporter
...
The base reporter class should access the InSpec config cache, instead of the runner needing to inject config into the base reporter
Signed-off-by: James Stocks <jstocks@chef.io>
2020-05-06 15:24:15 +01:00
Chef Expeditor
12b41fc183
Bump version to 4.18.112 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-05-06 10:50:57 +00:00
Nick Schwaderer
d26ed5a8a7
Merge pull request #4993 from inspec/ns/updates_readme_to_clarify_running_inspec_local
...
Updates README.md to clarify running InSpec local
2020-05-06 11:50:41 +01:00
Nick Schwaderer
286bb7c58a
Puts together correct version of README
...
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-05-06 10:58:59 +01:00
Nick Schwaderer
85f76a8370
Updates README.md to clarify running InSpec local
...
When this part of the README was updated five years ago ( b58a4b3f43
), the executable was to be found in `bin/inspec`. It has since been extracted to `inspec-bin/bin/inspec`.
This current phrasing could cause some confusion as a user might actually run `bundle install` from their root and try to then run `bin/inspec`.
This commit clarifies that you need to first `cd` down into `inspec-bin`
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-05-06 10:58:59 +01:00
Chef Expeditor
52c3718165
Executed '.expeditor/update_dockerfile.sh'
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-05-06 09:05:21 +00:00
Clinton Wolfe
726a111dc1
Merge branch 'cw/reporters-as-plugins' of github.com:inspec/inspec into cw/reporters-as-plugins
2020-05-05 18:38:40 -04:00
Clinton Wolfe
849bd90930
Parse CLI inputs as booleans
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-05 18:17:40 -04:00
Clinton Wolfe
786e3728d7
Failing tests for #4799
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-05 18:09:11 -04:00
Clinton Wolfe
970f583764
Tighten up tests
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-05 17:59:50 -04:00
Clinton Wolfe
acfda5a735
Clarify names of examples and a method
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-05 17:59:20 -04:00
Clinton Wolfe
e8d80dd3cd
Update docs
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Linting
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-05 17:37:23 -04:00
Clinton Wolfe
5e69e3bab6
Allow complex inputs on CLI
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-05 17:37:23 -04:00
Clinton Wolfe
c683c4d64d
Failing test cases for 4963
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-05 17:37:23 -04:00
Clinton Wolfe
d9f2cdb171
Fix for #4977 by adding a cleanup function for CLI inputs
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-05 17:37:23 -04:00
Clinton Wolfe
824018efa3
Failing test cases for #4977
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-05 17:37:23 -04:00
Mary Jinglewski
52dbabc778
Copyediting
...
Signed-off-by: Mary Jinglewski <mjinglewski@chef.io>
2020-05-05 15:19:19 -04:00
Clinton Wolfe
47baa59ed8
Add comment tracking when reporters will migrate
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-05 16:51:31 +01:00
Clinton Wolfe
5accb27224
Linting, and a thinko
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-05 16:51:31 +01:00