Commit graph

8222 commits

Author SHA1 Message Date
Clinton Wolfe
76033c03ff Convert CLI reporter to plugin, RunData is still Hash-based
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-03 21:13:27 -04:00
Clinton Wolfe
afc6e59e95 Update run_data fixture to include correct statistics structure
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-03 20:30:29 -04:00
Chef Expeditor
10e28c6895 Bump version to 4.19.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-06-02 16:56:17 +00:00
James Stocks
6f4c85aca9
Merge pull request #5060 from james-stocks/js/pin_ffi
Pin ffi to 1.12.2 due to Windows crash
2020-06-02 17:56:02 +01:00
James Stocks
04f36aa055 Pin ffi to 1.12.2 due to Windows crash
See https://github.com/ffi/ffi/issues/784

Signed-off-by: James Stocks <jstocks@chef.io>
2020-06-02 16:25:34 +01:00
Chef Expeditor
b67cb4fcc7 Update CHANGELOG.md with details from pull request #5057
Obvious fix; these changes are the result of automation not creative thinking.
2020-06-01 15:54:32 +00:00
Nick Schwaderer
352cafec7b
Merge pull request #5057 from inspec/js/aarch64
Revert aarch64 build targets
2020-06-01 16:54:22 +01:00
James Stocks
697ee1b720 Revert aarch64 build targets
These currently do not build - they need unf_ext 0.0.7.7 and InSpec needs 0.0.7.2

Signed-off-by: James Stocks <jstocks@chef.io>
2020-05-29 13:36:24 +01:00
Chef Expeditor
31bc27f404 Update CHANGELOG.md with details from pull request #4981
Obvious fix; these changes are the result of automation not creative thinking.
2020-05-29 09:42:17 +00:00
James Stocks
96488e6ab2
Merge pull request #4981 from inspec/csnapp/add_more_testers
Add several Builders and Testers to Omnibus
2020-05-29 10:42:03 +01:00
Chef Expeditor
2591e41ee4 Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2020-05-29 08:18:05 +00:00
Chef Expeditor
d6453b82a5 Bump version to 4.19.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-05-27 12:06:41 +00:00
James Stocks
e4b06d88ab
Merge pull request #5049 from inspec/ns/innocuous_change_for_expeditor
Innocuous change to allow expeditor bump
2020-05-27 13:06:22 +01:00
Chef Expeditor
5441efcd5b Update CHANGELOG.md with details from pull request #5044
Obvious fix; these changes are the result of automation not creative thinking.
2020-05-27 10:09:16 +00:00
James Stocks
c392f3bc1a
Merge pull request #5044 from james-stocks/js/fix_labels
Fix expeditor minor bump config, bump to 4.19
2020-05-27 11:09:01 +01:00
Nick Schwaderer
e8aa42d8b4 Innocuous change to allow expeditor bump
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-05-26 16:20:17 +01:00
Chef Expeditor
e90c6e35c4 Bump version to 4.18.118 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-05-22 15:54:55 +00:00
James Stocks
32fa14f1b0
Merge pull request #5039 from james-stocks/js/issue_5037
Allow for waiver time as well as date
2020-05-22 16:52:23 +01:00
James Stocks
4d8fa16d24 Fix expeditor minor bump config
The label configured to trigger a minor version bump does not match the actual label we have configured for the repo.

Signed-off-by: James Stocks <jstocks@chef.io>
2020-05-22 16:29:00 +01:00
Chef Expeditor
94c30647ed Bump version to 4.18.117 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-05-22 15:10:46 +00:00
James Stocks
23ed9bcf06
Merge pull request #5007 from inspec/cw/reporters-as-plugins
Reporters as Plugins
2020-05-22 16:10:29 +01:00
Chef Expeditor
0794051417 Bump version to 4.18.116 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-05-22 10:29:55 +00:00
James Stocks
7085adf5e5
Merge pull request #5017 from inspec/ns/inspec_json_in_archive
Stores output of `inspec json` to archive and artifact
2020-05-22 11:29:35 +01:00
Clinton Wolfe
6dfb37befa typo
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-21 18:57:30 -04:00
James Stocks
bf9489b3d7
Merge pull request #5041 from james-stocks/js/www_notes
Add website push to release process guide
2020-05-21 20:35:16 +01:00
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
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
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
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