CHEF-28137 add support for windows 2025#7659
Merged
sathish-progress merged 6 commits intoinspec-5from Dec 9, 2025
Merged
Conversation
There was a problem hiding this comment.
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 |
bc2665e to
04fabeb
Compare
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>
04fabeb to
c0ba376
Compare
Nik08
approved these changes
Dec 9, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
windows-2025-x86_64to the list of builder/tester platforms in.expeditor/release.omnibus.yml, ensuring builds and tests run for Windows Server 2025.windows2025entry to theMockLoaderintest/helpers/mock_loader.rbto simulate the new platform in tests.Documentation updates:
docs-chef-io/content/inspec/profiles.mdto document how to target the Windows Server 2025 platform family in InSpec profiles.Testing enhancements:
test/unit/resources/platform_test.rbto 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
Checklist: