Commit graph

10793 commits

Author SHA1 Message Date
Vasu1105
3b533a538e Updated docs for --podman-url option
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-06-28 00:40:23 -04:00
Vasu1105
a0660c5842 Updated docs
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-06-28 00:40:23 -04:00
Vasu1105
6d3689d483 Adds --podman-url option accepts path to Podman API endpoint
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-06-28 00:40:23 -04:00
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
d070201f72
Merge pull request #6164 from inspec/foreport-6074
Foreport fix for multiple dependent profiles with same name to inspec 6
2022-06-27 19:35:31 -04:00
Nikita Mathur
bfc18f9bea Reverted fake version change and added comments for more clarity
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-27 17:45:02 -04:00
Nikita Mathur
c461719331 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-27 17:45:02 -04:00
Nikita Mathur
c9ce7af946 Test case added for verifying running of same profile with different versions
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-27 17:45:02 -04:00
Nikita Mathur
28efa42ddf New profile id usage instead of profile_id in dsl
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-27 17:45:02 -04:00
Nikita Mathur
4f7d508fcc Fix build issue
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-27 17:45:02 -04:00
Nikita Mathur
b86ed1343d Fix related to new profile id generation for fetching dependencies in dsl logic
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-27 17:45:02 -04:00
Nikita Mathur
e9e830d3d4 Dsl using dependency with version to fetch dependency
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-27 17:45:02 -04:00
Nikita Mathur
c79c89836c 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-27 17:45:02 -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
Clinton Wolfe
70dedb3ff4 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:15:49 -04:00
Clinton Wolfe
dc8cb4bb39 Add explict /usr/sbin/netstat to mockloader, fixes routingtable tests
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-06-27 16:15:49 -04:00
Nikita Mathur
d937b190a9 Pinning minitest to 5.15.0 to fix build issue
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-27 16:15:49 -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
Clinton Wolfe
96c72b189a
Merge pull request #6137 from inspec/cw/ruby-3.1-inspec-6
Foreport ruby 3.1 support to inspec-6
2022-06-22 12:37:10 -04:00
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
jayashrig158
542b9cc246 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-14 16:07:08 +05:30
Nikita Mathur
2fd0ccfa4d
Merge pull request #6138 from inspec/nm/parallel-test-fix
Fix Inspec parallel test build issues
2022-06-14 16:06:19 +05:30
Nikita Mathur
6eb5df2e49 Skip parallel exec tests on windows
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-14 15:17:02 +05:30
Nikita Mathur
d8fd959af5 Fix test cases in inspec parallel tests
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-14 13:46:34 +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