Commit graph

10060 commits

Author SHA1 Message Date
Sonu Saha
bef129c344 CFINSPEC-128 : Documentation for inspec init resource
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
d78acc03ba Linting
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
bbdbc5c6b7 Remove old TODO message
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
c39329b82f Add a plural resource template
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
ed4fffe8d3 Add template option to control which template set to use
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
22f7e7c222 Add a layout option to control core vs resource pack layout
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
1160716a12 Cleanup - remove DS_Store files, unused functional test template
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
638522f0e0 Working unit tests, holey moley
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
6a39ed74a1 Enable overwrite mode
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
d54c52a932 Noninteractive mode works
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
3061d48fc2 Add path option
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
c4a98e6a6d Update doc template with property and matcher
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
f013e29eb0 Add properties and matchers to resource template; add wishlist
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Sonu Saha
81a04aacd5 CFINSPEC-128 Initial draft of resource generator
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-10 20:07:32 +05:30
Chef Expeditor
270ad5fa4b Bump version to 5.6.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-10 14:36:30 +00:00
Clinton Wolfe
105ed49b43
Merge pull request #5909 from inspec/vasundhara/fix-breaking-test-on-windows
Fix failing test for ibmdb2_session resource.
2022-03-10 09:35:08 -05:00
Vasu1105
419285130c Fix failing test for ibmdb2_session resource.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-10 17:53:18 +05:30
Chef Expeditor
438daafb4b Bump version to 5.6.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-10 00:45:31 +00:00
Clinton Wolfe
4a63319840
Merge pull request #5871 from inspec/vasundhara/support-profile-gem-dependency
CFINSPEC-13:  Adds support for specifying gem dependencies in the metadata file of InSpec Profile.
2022-03-09 19:44:05 -05:00
Chef Expeditor
c72ddefbf3 Bump version to 5.5.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-10 00:40:37 +00:00
Clinton Wolfe
f1829e3180
Merge pull request #5847 from inspec/dependabot/bundler/omnibus/main/omnibus-124d596
Bump omnibus from `55e74ac` to `124d596` in /omnibus
2022-03-09 19:39:12 -05:00
Chef Expeditor
2042299520 Bump version to 5.5.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-09 23:03:47 +00:00
Clinton Wolfe
f9be7e78e6
Merge pull request #5912 from inspec/cw/enable-hab-builds
Enable habitat builds
2022-03-09 18:01:25 -05:00
Clinton Wolfe
d845e06e48 Enable habitat builds
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-09 17:59:34 -05:00
Clinton Wolfe
a7fc842255 Doc edits
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-09 15:36:32 -05:00
dependabot[bot]
df74dd0e62
Bump omnibus from 55e74ac to 124d596 in /omnibus
Bumps [omnibus](https://github.com/chef/omnibus) from `55e74ac` to `124d596`.
- [Release notes](https://github.com/chef/omnibus/releases)
- [Commits](55e74aca93...124d5960ab)

---
updated-dependencies:
- dependency-name: omnibus
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-09 17:52:32 +00:00
Chef Expeditor
d9db9df4d7 Bump version to 5.5.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-09 17:51:34 +00:00
Clinton Wolfe
e7f27526c1
Merge pull request #5911 from inspec/dependabot/bundler/omnibus/main/omnibus-software-5947560
Bump omnibus-software from `a4f4849` to `5947560` in /omnibus
2022-03-09 12:50:11 -05:00
dependabot[bot]
f6f7078069
Bump omnibus-software from a4f4849 to 5947560 in /omnibus
Bumps [omnibus-software](https://github.com/chef/omnibus-software) from `a4f4849` to `5947560`.
- [Release notes](https://github.com/chef/omnibus-software/releases)
- [Commits](a4f484966e...5947560ea7)

---
updated-dependencies:
- dependency-name: omnibus-software
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-08 04:33:27 +00:00
Chef Expeditor
4fef4dc950 Bump version to 5.5.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-07 15:30:01 +00:00
Clinton Wolfe
32c9f567f4
Merge pull request #5863 from inspec/nm/progress-bar
CFINSPEC-10 Added Progress Bar streaming reporter plugin
2022-03-07 10:28:39 -05:00
Vasu1105
28143592d2 Fixed minor docs typos.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-07 12:10:38 +05:30
Chef Expeditor
5874c19900 Bump version to 5.4.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-06 16:09:12 +00:00
Clinton Wolfe
924c0a24c8
Merge pull request #5903 from inspec/nm/resource_id-3
CFINSPEC-70 resource_id support take 3
2022-03-06 11:07:52 -05:00
Chef Expeditor
4bb6423886 Bump version to 5.4.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-04 22:16:38 +00:00
Clinton Wolfe
61e97be6df
Merge pull request #5906 from inspec/cw/disable-habitat-builds
Disable habitat build and artifact pipeline defs, too
2022-03-04 17:14:13 -05:00
Clinton Wolfe
1f19caa68c Disable habitat build and artifact pipeline defs, too
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-04 17:13:09 -05:00
Chef Expeditor
88d5a6a92e Bump version to 5.4.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-04 22:00:47 +00:00
Clinton Wolfe
c0de6c17bc
Merge pull request #5904 from inspec/cw/disable-habitat-builds
Temporarily disable habitat builds to unbreak the pipeline
2022-03-04 16:58:57 -05:00
Clinton Wolfe
406552a154 Temporarily disable habitat builds to unbreak the pipeline
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-04 16:56:40 -05:00
Clinton Wolfe
c331486baf Fix YAML reporter tests
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-04 11:00:47 -05:00
Clinton Wolfe
d600089931 Fix JSON automate unit test
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-04 10:53:22 -05:00
Vasu1105
c73dec70a7 CFINSPEC-13 Added exception handling for Gem BadRequirement error.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 21:16:18 +05:30
Clinton Wolfe
fb25c547d0 Add functional tests for resource_id
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-04 10:22:01 -05:00
Clinton Wolfe
edf019b0df Fixed json unit test
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-04 09:41:40 -05:00
Clinton Wolfe
4594719be5 Fix for broken resource_id fetch when resource_title turns out, horrifyingly, to be a string
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-04 09:16:32 -05:00
Clinton Wolfe
3d8f5f9553 Revert "Revert "CFINSPEC-70 Added resource_id attribute for the custom resources in the base class""
This reverts commit 302bccf732.
2022-03-04 09:15:52 -05:00
Clinton Wolfe
c32f48ca88 Linting, sigh
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-04 00:34:46 -05:00
Clinton Wolfe
524aa15af0 Add validation and testing for the same
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-04 00:34:46 -05:00
Clinton Wolfe
84e25c2dbe Issue warning for inspec archive when profiles contain gem deps
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-04 00:34:46 -05:00