Commit graph

10673 commits

Author SHA1 Message Date
Nikita Mathur
ec43054411 Platform checks on tests for unix and windows
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-07-01 14:14:00 +05:30
Nikita Mathur
df0397fa61 Windows testing with different versions of dependent profiles
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-30 17:51:27 +05:30
Nikita Mathur
26a40c1bbb Fix for if conditions placement in exec test file
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-30 13:37:13 +05:30
Nikita Mathur
5617ed819c Added inheritance test for windows
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-29 17:10:55 +05:30
Nikita Mathur
8bcfc38fe0 Windows fix for dependent profiles
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-29 17:05:59 +05:30
Clinton Wolfe
9e32fec9b5
Merge pull request #6159 from inspec/vasundhara/adds_podman_inspec_support
CFINSPEC-236 Adds Podman support
2022-06-28 00:35:53 -04:00
Clinton Wolfe
e6c66d0398 Add dependencies on train 3.10.0 for podman support
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-06-28 00:33:58 -04:00
Clinton Wolfe
e39be8343f Docs edits
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-06-28 00:31:29 -04:00
Chef Expeditor
de9d8780f9 Bump version to 5.18.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-27 23:39:30 +00:00
Clinton Wolfe
7595a113c3
Merge pull request #6152 from inspec/cw/enhanced-outcomes-design-doc
CFINSPEC-238 Enhanced Outcomes Design Doc
2022-06-27 19:38:28 -04:00
Clinton Wolfe
54c175ca36
Merge pull request #6074 from inspec/nm/aws-profile-version-fix
CFINSPEC-249 Fix for dependent profiles with same name but different version
2022-06-27 17:34:43 -04:00
Clinton Wolfe
17d7822365 Use esxi instead of undefined as an unsupported OS to silence 'unknown OS' warnings
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-06-27 16:21:23 -04:00
Clinton Wolfe
34cdb8780d Add explict /usr/sbin/netstat to mockloader, fixes routingtable tests
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-06-27 16:21:23 -04:00
Nikita Mathur
f3aa18b4f9 Pinning minitest to 5.15.0 to fix build issue
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-27 16:21:23 -04:00
Chef Expeditor
81f89d5b31 Bump version to 5.18.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-27 20:15:03 +00:00
Clinton Wolfe
adaff04db3
Merge pull request #6161 from inspec/nm/build-issues
Fixes for Buildkite Issues
2022-06-27 16:14:04 -04:00
Clinton Wolfe
007a014942 Use esxi instead of undefined as an unsupported OS to silence 'unknown OS' warnings
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-06-27 15:35:46 -04:00
Clinton Wolfe
181ef37f2d Add explict /usr/sbin/netstat to mockloader, fixes routingtable tests
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-06-27 15:30:17 -04:00
Nikita Mathur
6fafd446b1 Pinning minitest to 5.15.0 to fix build issue
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-27 21:07:32 +05:30
Nikita Mathur
e7ee813ec7 Reverted fake version change and added comments for more clarity
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-24 14:20:48 +05:30
Chef Expeditor
b203ca099b Bump version to 5.18.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-23 15:21:39 +00:00
Clinton Wolfe
2b8c2ee055
Merge pull request #6146 from inspec/dependabot/bundler/omnibus/octokit-4.25.0
Bump octokit from 4.23.0 to 4.25.0 in /omnibus
2022-06-23 11:20:40 -04:00
Clinton Wolfe
c5daae36d3 Merge branch 'cw/enhanced-outcomes-design-doc' of github.com:inspec/inspec into cw/enhanced-outcomes-design-doc 2022-06-23 11:13:34 -04:00
Clinton Wolfe
fe8248bfb2 Adjust criteria for Error
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-06-23 10:28:25 -04:00
Nikita Mathur
b2e3bb342b using fake version 0.0.0 in case no source version available from a dep profile
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-23 19:57:38 +05:30
Vasu1105
bcf888320c Updated docs for --podman-url option
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-06-23 19:28:49 +05:30
Deepa Kumaraswamy
1dc2faf205 Proof-read
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-06-23 18:33:23 +05:30
Vasu1105
b744da071b Updated docs
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-06-23 14:54:03 +05:30
Vasu1105
ad6c7f2c8f Adds --podman-url option accepts path to Podman API endpoint
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-06-23 14:03:25 +05:30
Chef Expeditor
1d05d080c6 Bump version to 5.18.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-22 16:34:30 +00:00
Clinton Wolfe
3b93164f4f
Merge pull request #6144 from inspec/nm/plugins-doc-send-report
Updated plugins doc with send_report functionality
2022-06-22 12:33:20 -04:00
Clinton Wolfe
b611c9c2c8 First pass at enhanced outcomes design doc
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-06-19 22:02:54 -04:00
dependabot[bot]
3094ea791a
Bump octokit from 4.23.0 to 4.25.0 in /omnibus
Bumps [octokit](https://github.com/octokit/octokit.rb) from 4.23.0 to 4.25.0.
- [Release notes](https://github.com/octokit/octokit.rb/releases)
- [Changelog](https://github.com/octokit/octokit.rb/blob/4-stable/RELEASE.md)
- [Commits](https://github.com/octokit/octokit.rb/compare/v4.23.0...v4.25.0)

---
updated-dependencies:
- dependency-name: octokit
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-15 21:59:11 +00:00
Nikita Mathur
465784a6b9 Updated plugins doc with send_report functionality
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-15 14:41:43 +05:30
Nikita Mathur
1166489a93 Test case added for verifying running of same profile with different versions
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-14 13:21:27 +05:30
Nikita Mathur
70a4857611 New profile id usage instead of profile_id in dsl
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-14 13:21:27 +05:30
Nikita Mathur
8e32d90349 Fix build issue
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-14 13:21:27 +05:30
Nikita Mathur
58d4a816f3 Fix related to new profile id generation for fetching dependencies in dsl logic
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-14 13:21:27 +05:30
Nikita Mathur
d43b1c2f43 Dsl using dependency with version to fetch dependency
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-14 13:21:27 +05:30
Nikita Mathur
8527d213cb Fix for dependent profiles with same name but different version to run and display
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-14 13:21:27 +05:30
Chef Expeditor
19c23979e0 Bump version to 5.18.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-13 18:25:48 +00:00
jayashrig158
ffbf2ff554
add ruby test 3.1 in verify pipeline (#5892)
* add ruby test 3.1 in verify pipeline

Signed-off-by: jayashri garud <jgarud@msystechnologies.com>

* updating rubygem to 3.3.3

Signed-off-by: jayashri garud <jgarud@msystechnologies.com>

* Test fixture plugin files for ABI 3.1.0

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Use kwargs to match new calling style for ERB in ruby 2.7 and 3.0

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Allow Date and Time data types, needed for waivers, since safe load is now the default for YAML

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Use Time.parse, not Time.new since the rules tightened for what you can pass the constructor for waiver dates

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Add ruby platform debug message to test parallel output

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Conditionalize permitted_classes in inputs yaml_load for <= 3.1.x only

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* In ruby 3.1.0 net/pop3 is no more a default gem and that will require us to add it in Gemfile so trying with the byebug gem which we are bundling already

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

* CFINSPEC-166 Updated url fetcher to handle Net::OpenTimeout Exception on Windows

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-06-13 14:24:33 -04:00
Chef Expeditor
87ca2b0aa7 Bump version to 5.18.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-13 17:55:39 +00:00
Clinton Wolfe
93dc969b2d
Merge pull request #6136 from inspec/cw/add-inspec-6-release-branch
Add inspec-6 branch as release branch
2022-06-13 13:53:15 -04:00
Clinton Wolfe
6d23f817d0 Add inspec-6 branch as release branch
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-06-13 13:51:58 -04:00
Ian Maddaus
80d504e40e
Merge pull request #5977 from inspec/im/template
Update Hugo resource doc archetype
2022-06-12 23:28:52 -04:00
Ian Maddaus
23480ff772 Minor text fixes
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
2022-06-10 17:53:09 -04:00
Ian Maddaus
22e5d1513e Use shortcodes in text, move shortcodes into inspec subdir
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
2022-06-10 16:47:46 -04:00
Ian Maddaus
6e53b15267 Update docs readme
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
2022-06-10 16:47:46 -04:00
Ian Maddaus
f1218c19a4 Update Hugo resource archetype
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
2022-06-10 16:47:46 -04:00