feat: add image capabilities, test suites, and publish config#101
Merged
reubeno merged 3 commits intomicrosoft:mainfrom Apr 17, 2026
Merged
feat: add image capabilities, test suites, and publish config#101reubeno merged 3 commits intomicrosoft:mainfrom
reubeno merged 3 commits intomicrosoft:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Extends the project TOML config/schema so images can declare self-reported runtime capabilities and publish channels, and updates schema ordering/structure accordingly.
Changes:
- Add
images.<name>.publish.channelsandimages.<name>.capabilities(supported hosts + runtime package management) to config model and JSON schema. - Restructure schema/root config ordering for
componentsandpackage-groups, updating snapshots to match. - Document the new image fields with examples.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| schemas/azldev.schema.json | Adds image capabilities + publish settings definitions; adjusts top-level property structure/order. |
| scenario/snapshots/TestSnapshots_config_generate-schema_stdout_1.snap | Updates schema generation snapshot to include new image config sections and top-level layout changes. |
| scenario/snapshots/TestSnapshotsContainer_config_generate-schema_stdout_1.snap | Same snapshot updates for container scenario. |
| internal/projectconfig/project.go | Reorders/extends ProjectConfig fields to match updated schema (adds PackageGroups placement). |
| internal/projectconfig/image.go | Adds Publish + Capabilities to ImageConfig and introduces new supporting types/constants. |
| internal/projectconfig/configfile.go | Reorders fields and moves PackageGroups to match schema; prepares validation traversal for new layout. |
| docs/user/reference/config/images.md | Documents new publish and capabilities blocks with accepted values and examples. |
Add structured metadata to image configuration: - ImageCapabilities: tri-state boolean fields (machine-bootable, container, systemd, runtime-package-management) with *bool semantics for correct merge and underspecification detection - ImageTestsConfig: link images to named test suites defined in the new top-level [test-suites] section, with cross-reference validation - ImagePublishConfig: multi-channel publish support (channels list), unlike packages which target a single channel New top-level [test-suites] config section: - TestSuiteConfig with name and description fields - Loaded via mergeTestSuites in the config loader (duplicates rejected) - Image-to-test-suite references validated in ProjectConfig.Validate() Expose metadata in 'azldev image list': - Structured JSON output preserves original projectconfig types - Table output shows comma-separated summaries for capabilities, tests, and publish channels Documentation: - images.md: capabilities, tests, and publish field references with examples - test-suites.md: new reference page for test suite configuration - config-file.md: added test-suites, default-package-config, and package-groups to the top-level sections table Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
dmcilvaney
reviewed
Apr 17, 2026
dmcilvaney
approved these changes
Apr 17, 2026
tobiasb-ms
approved these changes
Apr 17, 2026
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.
Add structured metadata to image configuration:
ImageCapabilities: tri-state boolean fields (machine-bootable,container,systemd,runtime-package-management) with*boolsemantics for correct merge and underspecification detectionImageTestsConfig: link images to named test suites defined in the new top-level [test-suites] section, with cross-reference validationImagePublishConfig: multi-channel publish support (channels list), unlike packages which target a single channelNew top-level [test-suites] config section:
TestSuiteConfigwith name and description fieldsmergeTestSuitesin the config loader (duplicates rejected)ProjectConfig.Validate()Expose metadata in 'azldev image list':
Documentation:
images.md: capabilities, tests, and publish field references with examplestest-suites.md: new reference page for test suite configurationconfig-file.md: addedtest-suites,default-package-config, andpackage-groupsto the top-level sections table