Commit graph

9066 commits

Author SHA1 Message Date
Nick Schwaderer
427e738d53
Merge pull request #5220 from inspec/ns/release_branch_for_expeditor
Create expeditor-development release branch
2020-08-24 10:36:56 +01:00
Nick Schwaderer
b9e52eebda Create expeditor-development release branch
This will allow us to work with PRs against a non-Master branch to iterate expeditor work

Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-08-24 10:35:48 +01:00
Lance Albertson
08b7e584d7 Fix mysql_session stdout, stderr and exit_status parameters
A feature introduced in #5124 changed how the mysql_session resource works to
where stdout, stderr, and exit_status no longer worked. The Lines class only
exposes output instead of stdout, stderr and exit_status.

As a work around, this adds backwards compatibilty for stdout, stderr and
exit_status parameters. In addition I updated the documentation to prefer output
over stdout/stderr.

This fixes #5218.

Signed-off-by: Lance Albertson <lance@osuosl.org>
2020-08-23 18:55:58 -07:00
Chef Expeditor
2f83bc7212 Bump version to 4.22.18 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-20 21:07:55 +00:00
Tim Smith
39e7f2e2c2
Merge pull request #5197 from inspec/debian_8_eol
Don't build packages for EOL Debian 8
2020-08-20 14:06:30 -07:00
Chef Expeditor
40a81a580f Bump version to 4.22.17 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-17 15:47:56 +00:00
Tim Smith
0e96da6dbc
Merge pull request #5198 from inspec/bump_ruby
Signed-off-by: Tim Smith <tsmith@chef.io>
2020-08-17 08:46:27 -07:00
Thomas Heinen
a613e75971 Add ability to disable input caching for kitchen-inspec use
Signed-off-by: Thomas Heinen <theinen@tecracer.de>
2020-08-17 15:49:00 +02:00
Chef Expeditor
270cc7e95d Bump version to 4.22.16 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-17 10:48:42 +00:00
Nick Schwaderer
d1042bc7d4
Merge pull request #5202 from inspec/readme
Don't ship the readme in the gem
2020-08-17 11:47:01 +01:00
Udyrfrykte
fe74f4fd5b Improve apt.rb's read_debs
Make it better at handling whitespace in bracketed options

Signed-off-by: Benoît Gastinne <Udyrfrykte@users.noreply.github.com>
2020-08-17 11:38:40 +02:00
Chef Expeditor
80149958e8 Bump version to 4.22.15 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-13 20:55:05 +00:00
Tim Smith
22dc804160
Merge pull request #5203 from inspec/html_dep
Remove htmlentities dependency
2020-08-13 13:53:32 -07:00
Tim Smith
cfcf21482b Don't ship the readme in the gem
We're just deleting this from chef and workstation anyways. It's buried deep in the install directory and doesn't do anyone any good.

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-08-13 13:49:20 -07:00
Tim Smith
78b3020d12 Don't build packages for EOL Debian 8
Debian 8 is out of support and we shouldn't produce packages for it anymore.

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-08-13 13:48:41 -07:00
Tim Smith
6bf4319065 Update the habitat tests to run on Ruby 2.6.6 as well
Signed-off-by: Tim Smith <tsmith@chef.io>
2020-08-13 13:47:59 -07:00
Tim Smith
07a5cfafc0 Update omnibus builds to Ruby 2.6.6
2.6.5 has 2 CVEs in it:

    CVE-2020-10663: Unsafe Object Creation Vulnerability in JSON (Additional fix)
    CVE-2020-10933: Heap exposure vulnerability in the socket library

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-08-13 13:47:13 -07:00
Tim Smith
9053ad621b Remove htmlentities dependency
#4853 has been closed and I can find this being used anywhere in the codebase.

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-08-13 13:26:17 -07:00
Chef Expeditor
f425a48f4c Bump version to 4.22.14 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-13 18:32:13 +00:00
Tim Smith
8af517cde9
Merge pull request #5201 from inspec/pastel
Remove unused term-ansicolor
2020-08-13 11:30:35 -07:00
Chef Expeditor
8a9e339df1 Bump version to 4.22.13 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-13 18:24:00 +00:00
Tim Smith
1beb4c3b5c
Merge pull request #5196 from inspec/rubocop_rules
Update to Chefstyle 1.2.1
2020-08-13 11:22:17 -07:00
Tim Smith
5e56fb57bf Remove unused term-ansicolor
I went to swap this for pastel, but in the end I couldn't find where it was actually used.

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-08-12 19:15:54 -07:00
Tim Smith
303f530850 Update to Chefstyle 1.2.1
Update a few cop names
Remove redundant returns

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-08-12 13:12:26 -07:00
Adam M Dutko
04c3aef004 Fix Issue #5183.
Signed-off-by: Adam M Dutko <adutko@chef.io>
2020-08-11 10:34:13 -04:00
pacopal
51a3e5973d Merge branch 'issue-5182' of https://github.com/pacopal/inspec into issue-5182 2020-08-11 14:16:43 +02:00
pacopal
7843349582 Update oracledb_session.rb
Update format_options for sqlplus to support all versions.
Reference: Issue 5182

Signed-off-by: pacopal <fpalomares@hotmail.com>
2020-08-11 14:16:02 +02:00
pacopal
56ba334af8 Update oracledb_session.rb
Update format_options for sqlplus to support all versions.
Reference: Issue 5182
2020-08-11 13:01:18 +02:00
Clinton Wolfe
f3bede9b0c Handle sort options slightly diferently per PR feedback
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-08-10 14:47:58 -04:00
Clinton Wolfe
11e0428094 Adjust stringification of input per feedback
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-08-10 14:32:08 -04:00
Clinton Wolfe
a839d4602c Add ability to sort results in reporting phase
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-08-10 14:32:08 -04:00
Clinton Wolfe
3aca12d622 Add option to suppress diff output
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-08-10 14:31:28 -04:00
Clinton Wolfe
ceca77e118 Mark inputs as sensitive
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-08-10 14:30:11 -04:00
Clinton Wolfe
88fdb45501 DRY up reporter-trimming code by placing it in a mixin class
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-08-10 14:29:05 -04:00
Chef Expeditor
fb0be93a00 Bump version to 4.22.12 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-10 12:03:22 +00:00
Nick Schwaderer
b562c598cc
Merge pull request #5175 from inspec/darwin_detection
Ensure Darwin is always detected in the install scripts
2020-08-10 13:01:48 +01:00
Chef Expeditor
f2b1e131ce Bump version to 4.22.11 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-10 11:53:48 +00:00
Nick Schwaderer
ff1e558088
Merge pull request #4979 from tecracer-theinen/theinen/windows_firewall
Add new windows_firewall and windows_firewall_rule resources
2020-08-10 12:52:16 +01:00
Chef Expeditor
5974b91b49 Bump version to 4.22.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-07 17:08:45 +00:00
Nick Schwaderer
cc521b5400
Merge pull request #5084 from inspec/cw/reporter-plugin-junit
Convert JUnit Reporter to a Plugin
2020-08-07 18:06:43 +01:00
Nick Schwaderer
dd42804b30
Merge pull request #5189 from inspec/ns/reset-expeditor
Resets expeditor to original settings
2020-08-06 12:25:37 +01:00
Nick Schwaderer
975dd1064f Resets expeditor to original settings
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-08-06 11:52:22 +01:00
Nick Schwaderer
c1f7111133 Update docs for known expeditor issues and resolutions
In the past 1-2 months we have run into several issues with releases
while working with expeditor. The goal of this PR is to document
and define internal processes around these expeditor issues.

Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-08-06 09:32:10 +01:00
Chef Expeditor
f4fdb8a8f3 Bump version to 4.22.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-05 20:34:32 +00:00
Nick Schwaderer
a3ecda5c31
Merge pull request #5188 from inspec/ns/full_build_before_expeditor_merge
Enforced bump. Fully allow this to build before merge.
2020-08-05 21:32:45 +01:00
Nick Schwaderer
54b1e335fa Enforced bump. Fully allow this to build before merge.
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-08-05 20:55:45 +01:00
Chef Expeditor
645400ea75 Update CHANGELOG.md with details from pull request #5187
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-05 19:53:51 +00:00
Nick Schwaderer
ba269054d2
Merge pull request #5187 from inspec/ns/make_expeditor_releases_work
We require version bumps for expeditor to be read against master
2020-08-05 20:50:59 +01:00
Nick Schwaderer
e35bb84ae7 We require version bumps for expeditor to be read against master
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-08-05 20:48:39 +01:00
Chef Expeditor
f1d81ba364 Update CHANGELOG.md with details from pull request #5186
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-05 19:20:37 +00:00