Skip to content

CHEF-28137 add support for windows 2025#7659

Merged
sathish-progress merged 6 commits intoinspec-5from
CHEF-28137-add-support-for-windows-2025
Dec 9, 2025
Merged

CHEF-28137 add support for windows 2025#7659
sathish-progress merged 6 commits intoinspec-5from
CHEF-28137-add-support-for-windows-2025

Conversation

@sathish-progress
Copy link
Copy Markdown
Contributor

@sathish-progress sathish-progress commented Dec 5, 2025

This pull request adds support for the Windows Server 2025 platform across the codebase, including documentation, testing, and platform mapping. The changes ensure that Windows Server 2025 is recognized and handled properly in platform detection, documentation, and automated tests.

Description

Platform support and mapping:

  • Added windows-2025-x86_64 to the list of builder/tester platforms in .expeditor/release.omnibus.yml, ensuring builds and tests run for Windows Server 2025.
  • Added a windows2025 entry to the MockLoader in test/helpers/mock_loader.rb to simulate the new platform in tests.

Documentation updates:

  • Updated docs-chef-io/content/inspec/profiles.md to document how to target the Windows Server 2025 platform family in InSpec profiles.

Testing enhancements:

  • Added multiple tests in test/unit/resources/platform_test.rb to verify support for Windows Server 2025, including wildcard and negative matching, and to check platform properties.

Related Issue

https://progresssoftware.atlassian.net/browse/CHEF-28137
Omnibus adhoc build https://buildkite.com/chef/inspec-inspec-inspec-5-omnibus-adhoc/builds/229#_

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New content (non-breaking change)
  • Breaking change (a content change which would break existing functionality or processes)

Checklist:

  • I have read the CONTRIBUTING document.

@sathish-progress sathish-progress requested review from a team as code owners December 5, 2025 12:42
@sathish-progress sathish-progress requested review from Nik08 and sa-progress and removed request for a team December 5, 2025 12:42
@github-actions github-actions Bot added the Documentation ZH multi-repo label for the docs-team label Dec 5, 2025
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds comprehensive support for Windows Server 2025 across InSpec's codebase, enabling the framework to properly detect, test, and document the new platform version.

Key Changes:

  • Added Windows Server 2025 platform detection and mock data for testing
  • Updated documentation to include Windows Server 2025 targeting examples
  • Configured CI/CD pipeline to build and test on Windows Server 2025

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
.expeditor/release.omnibus.yml Added windows-2025-x86_64 to the builder-to-testers map to enable CI/CD builds and tests
test/helpers/mock_loader.rb Added windows2025 mock platform data with appropriate name, family, release version, and architecture
test/unit/resources/platform_test.rb Added comprehensive test cases for Windows Server 2025 platform support including wildcard matching and property verification
docs-chef-io/content/inspec/profiles.md Added documentation example showing how to target Windows Server 2025 platform family in InSpec profiles

Comment thread test/unit/resources/platform_test.rb Outdated
@sathish-progress sathish-progress force-pushed the CHEF-28137-add-support-for-windows-2025 branch from bc2665e to 04fabeb Compare December 5, 2025 12:59
Signed-off-by: Sathish <sbabu@progress.com>
Signed-off-by: Sathish <sbabu@progress.com>
Signed-off-by: Sathish <sbabu@progress.com>
Signed-off-by: Sathish <sbabu@progress.com>
Signed-off-by: Sathish <sbabu@progress.com>
Signed-off-by: Sathish <sbabu@progress.com>
@sathish-progress sathish-progress force-pushed the CHEF-28137-add-support-for-windows-2025 branch from 04fabeb to c0ba376 Compare December 9, 2025 05:44
@sathish-progress sathish-progress merged commit eb0f5dc into inspec-5 Dec 9, 2025
36 checks passed
@sathish-progress sathish-progress deleted the CHEF-28137-add-support-for-windows-2025 branch December 9, 2025 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation ZH multi-repo label for the docs-team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants