Skip to content

feat(images): require explicit per-image architectures - #18778

Draft
binujp wants to merge 1 commit into
4.0from
bphilip/image-arch-support
Draft

feat(images): require explicit per-image architectures#18778
binujp wants to merge 1 commit into
4.0from
bphilip/image-arch-support

Conversation

@binujp

@binujp binujp commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • remove the top-level default image architecture setting
  • require every image to declare its supported architectures explicitly
  • synchronize the vendored azldev schema with the updated image configuration model

Rationale

Making architectures mandatory per image avoids implicit inheritance and makes each image definition self-contained.

Remove the top-level default-image-architectures setting; every image
now declares its own mandatory architectures list. Sync the vendored
azldev schema to match the updated azldev implementation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 3188afea-d864-49af-acba-88a493e5b703
Copilot AI balanced review requested due to automatic review settings September 9, 2026 19:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The pinned azldev version rejects the newly added architectures keys as unknown fields.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Makes supported architectures explicit for every image and updates the vendored schema accordingly.

Changes:

  • Declares architectures for all images.
  • Restricts Gen1 images to x86_64.
  • Requires architectures in the schema.
File summaries
File Description
base/images/images.toml Adds per-image architecture lists.
external/schemas/azldev.schema.json Requires the new image field.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Balanced

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread base/images/images.toml
[images.vm-base]
description = "VM Base Image"
definition = { type = "kiwi", path = "AzureLinux.kiwi", profile = "vm-base" }
architectures = ["x86_64", "aarch64"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants