Skip to content

test/images with tailor [11]: add VM verity scenarios - #905

Draft
bfjelds (bfjelds) wants to merge 1 commit into
user/bfjelds/tailor-config-vm-grubfrom
user/bfjelds/tailor-config-vm-verity
Draft

bfjelds (bfjelds) wants to merge 1 commit into
user/bfjelds/tailor-config-vm-grubfrom
user/bfjelds/tailor-config-vm-verity

Conversation

@bfjelds

@bfjelds bfjelds (bfjelds) commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

Add GRUB verity, Azure verity, root-verity, and usr-verity VM base/update layouts.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 6501a6e2-9ece-44f9-a91a-4d8e0c0e6d07
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@bfjelds bfjelds (bfjelds) changed the title tests: add VM verity scenarios test/images with tailor [11]: add VM verity scenarios Oct 26, 2026
@bfjelds
bfjelds (bfjelds) requested a balanced review from Copilot October 26, 2026 19:32

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.

🔵 Needs a closer look

Static review identified no blocking defects, but image-build and VM boot/update validation for these boot-critical configurations remains unverified.

No open issues 🎉

What changed in this PR

Adds verity-enabled VM image scenarios to the parallel Tailor workspace, extending the shared VM configuration introduced in #904 as part 11 of the migration stack.

Changes:

  • Adds GRUB verity and Azure base/update images, plus root-verity and usr-verity images using unified kernel images.
  • Defines shared OS settings, customization scripts, and scenario-specific storage layouts.
  • Expands the scenario matrix, architecture exclusions, and build documentation.

All paths below are relative to tests/tailor-images/trident-vm-testimage/.

File Description
README.md Documents verity image build commands and outputs.
include/​uki-verity-scripts.yaml Shares UKI verity customization scripts.
include/​uki-verity-os-common.yaml Defines shared UKI boot and package settings.
include/​storage-usr-verity.yaml Defines A/B storage with protected /usr.
include/​storage-root-verity.yaml Defines A/B storage with protected root and writable /var.
include/​storage-grub-verity.yaml Defines GRUB verity update-image storage.
include/​storage-grub-verity-base.yaml Defines GRUB verity A/B base-image storage.
include/​storage-grub-verity-azure.yaml Defines Azure update storage with a 7G disk cap.
include/​storage-grub-verity-azure-base.yaml Defines Azure A/B storage with a 15G disk cap.
include/​grub-verity-scripts.yaml Shares GRUB verity update-image scripts.
include/​grub-verity-os-common.yaml Shares GRUB verity update OS settings.
include/​grub-verity-base-scripts.yaml Shares base-image overlay and update preparation scripts.
include/​grub-verity-base-os-common.yaml Shares GRUB verity base-image OS settings.
image.yaml Registers six scenarios and architecture exclusions.
by-scenario/​usr-verity.yaml Configures usr-verity COSI and qcow2 outputs.
by-scenario/​root-verity+usr-verity.yaml Applies shared UKI configuration to both scenarios.
by-scenario/​root-verity.yaml Configures root-verity outputs and writable /etc overlay.
by-scenario/​grub-verity+grub-verity-azure.yaml Shares GRUB verity update configuration.
by-scenario/​grub-verity.yaml Selects generic GRUB verity COSI output and storage.
by-scenario/​grub-verity-base+grub-verity-azure-base.yaml Shares GRUB verity base-image configuration.
by-scenario/​grub-verity-base.yaml Selects qcow2 output and A/B storage.
by-scenario/​grub-verity-azure.yaml Adds Azure update-image packages and overrides.
by-scenario/​grub-verity-azure-base.yaml Adds fixed VHD output and Azure base-image overrides.
by-arch+scenario/​arm64+grub-verity.yaml Explicitly selects COSI output for arm64 GRUB verity.

Review effort: Balanced

This branch has not been deployed

No deployments
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