Skip to content

tests/images with tailor [4]: remove legacy image system - #845

Draft
bfjelds (bfjelds) wants to merge 1 commit into
user/bfjelds/tailor-pipeline-cutoverfrom
user/bfjelds/tailor-cleanup
Draft

bfjelds (bfjelds) wants to merge 1 commit into
user/bfjelds/tailor-pipeline-cutoverfrom
user/bfjelds/tailor-cleanup

Conversation

@bfjelds

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

Copy link
Copy Markdown
Member

Summary

  • Remove the old pre-tailor tests/images/ tree now that the Makefile and pipeline cutover (tests/images with tailor [3]: build with tailor #844) no longer depend on it
  • Fix remaining stale documentation references left over from the migration: deleted legacy config filenames and pre-rename paths across Trident-ACL-Agent.md, Testing.md, and tools/storm/aclagent (10 references total)

Stack

Notes

  • this PR is intentionally cleanup-only
  • no new logic lives here

Validation

@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: remove legacy image workspace tests/images with tailor [4]: remove legacy image system Oct 10, 2026
@bfjelds
bfjelds (bfjelds) force-pushed the user/bfjelds/tailor-cleanup branch from 4c138ba to 6ee69f0 Compare October 10, 2026 18:39
@bfjelds
bfjelds (bfjelds) force-pushed the user/bfjelds/tailor-cleanup branch from 6ee69f0 to 0e22e61 Compare October 10, 2026 22:40
@bfjelds
bfjelds (bfjelds) force-pushed the user/bfjelds/tailor-cleanup branch 3 times, most recently from 7998119 to 24ef884 Compare October 11, 2026 00:41
@bfjelds
bfjelds (bfjelds) force-pushed the user/bfjelds/tailor-cleanup branch from 24ef884 to 8c47de9 Compare October 11, 2026 23:34
@bfjelds
bfjelds (bfjelds) force-pushed the user/bfjelds/tailor-cleanup branch 3 times, most recently from 6103dcf to 09522b2 Compare October 12, 2026 17:04
@bfjelds
bfjelds (bfjelds) force-pushed the user/bfjelds/tailor-cleanup branch from 09522b2 to 4832f21 Compare October 12, 2026 17:23
@bfjelds
bfjelds (bfjelds) requested a balanced review from Copilot October 12, 2026 17:24

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

Several maintained guides still direct users to the deleted tree and obsolete configuration filenames.

0 open findings

What changed in this PR

Removes the obsolete tests/images image-building system after migration to the Tailor workspace.

Changes:

  • Deletes the legacy Python image builder and registry.
  • Removes migrated image definitions, scripts, services, and documentation.
File Description
tests/​images/​trident-vm-testimage/​README.md Removes legacy VM image documentation.
tests/​images/​trident-vm-testimage/​base/​updateimg-grub.yaml Removes legacy GRUB update config.
tests/​images/​trident-vm-testimage/​base/​updateimg-grub-verity.yaml Removes legacy verity update config.
tests/​images/​trident-vm-testimage/​base/​updateimg-grub-verity-azure.yaml Removes legacy Azure verity config.
tests/​images/​trident-vm-testimage/​base/​updateimg-acl-agent.yaml Removes legacy ACL-agent update config.
tests/​images/​trident-vm-testimage/​base/​scripts/​update-os-release.sh Removes migrated customization script.
tests/​images/​trident-vm-testimage/​base/​scripts/​update-host-status.sh Removes migrated customization script.
tests/​images/​trident-vm-testimage/​base/​scripts/​ssh-move-host-keys.sh Removes migrated SSH helper.
tests/​images/​trident-vm-testimage/​base/​scripts/​prepare-update-config.sh Removes migrated update helper.
tests/​images/​trident-vm-testimage/​base/​scripts/​prepare-update-config-verity.sh Removes migrated verity helper.
tests/​images/​trident-vm-testimage/​base/​scripts/​prepare-update-config-usrverity.sh Removes migrated usr-verity helper.
tests/​images/​trident-vm-testimage/​base/​scripts/​post-install.sh Removes migrated post-install script.
tests/​images/​trident-vm-testimage/​base/​scripts/​lsblk.sh Removes legacy diagnostic script.
tests/​images/​trident-vm-testimage/​base/​scripts/​duid-type-to-link-layer.sh Removes migrated network helper.
tests/​images/​trident-vm-testimage/​base/​scripts/​create-ssh-dirs.sh Removes migrated SSH helper.
tests/​images/​trident-vm-testimage/​base/​scripts/​create-rw-overlay-dirs.sh Removes migrated overlay helper.
tests/​images/​trident-vm-testimage/​base/​files/​use-grpc-client-commit.conf Removes migrated service override.
tests/​images/​trident-vm-testimage/​base/​files/​trident-acl-agent-override.conf Removes migrated ACL-agent override.
tests/​images/​trident-vm-testimage/​base/​files/​trident-acl-agent-cert-install.service Removes migrated certificate service.
tests/​images/​trident-vm-testimage/​base/​files/​sudoers-wheel Removes migrated sudoers file.
tests/​images/​trident-vm-testimage/​base/​files/​sshd-keygen.service Removes migrated SSH service.
tests/​images/​trident-vm-testimage/​base/​files/​etc-mount.sh Removes migrated overlay script.
tests/​images/​trident-vm-testimage/​base/​files/​etc-mount.service Removes migrated overlay service.
tests/​images/​trident-vm-testimage/​base/​files/​etc-mount-mic.service Removes legacy overlay service.
tests/​images/​trident-vm-testimage/​base/​files/​99-dhcp-eth0.network Removes migrated network config.
tests/​images/​trident-vm-testimage/​base/​files/​.gitignore Removes legacy generated-file exclusions.
tests/​images/​trident-vm-testimage/​base/​etc.mount Removes legacy mount unit.
tests/​images/​trident-vm-testimage/​base/​baseimg-usr-verity.yaml Removes legacy usr-verity image config.
tests/​images/​trident-vm-testimage/​base/​baseimg-root-verity.yaml Removes legacy root-verity image config.
tests/​images/​trident-vm-testimage/​base/​baseimg-grub.yaml Removes legacy GRUB base config.
tests/​images/​trident-vm-testimage/​base/​baseimg-grub-verity.yaml Removes legacy GRUB verity config.
tests/​images/​trident-vm-testimage/​base/​baseimg-grub-verity-azure.yaml Removes legacy Azure base config.
tests/​images/​trident-vm-testimage/​base/​baseimg-acl-agent.yaml Removes legacy ACL-agent base config.
tests/​images/​trident-vm-testimage/​base/​.gitignore Removes legacy generated-file exclusion.
tests/​images/​trident-verity-testimage/​usr/​host.yaml Removes legacy host usr-verity config.
tests/​images/​trident-verity-testimage/​usr/​files/​use-grpc-client-commit.conf Removes migrated service override.
tests/​images/​trident-verity-testimage/​usr/​files/​trident-container.service Removes migrated container service.
tests/​images/​trident-verity-testimage/​usr/​files/​sudoers-wheel Removes migrated sudoers file.
tests/​images/​trident-verity-testimage/​usr/​files/​dracut-nohostonly.conf Removes migrated dracut config.
tests/​images/​trident-verity-testimage/​usr/​container.yaml Removes legacy container usr-verity config.
tests/​images/​trident-verity-testimage/​README.md Removes legacy verity image documentation.
tests/​images/​trident-verity-testimage/​base/​trident-debug-log.sh Removes migrated debug helper.
tests/​images/​trident-verity-testimage/​base/​sudoers-wheel Removes legacy sudoers file.
tests/​images/​trident-verity-testimage/​base/​files/​use-grpc-client-commit.conf Removes migrated service override.
tests/​images/​trident-verity-testimage/​base/​files/​trident-container.service Removes migrated container service.
tests/​images/​trident-verity-testimage/​base/​etc.mount Removes legacy mount unit.
tests/​images/​trident-verity-testimage/​base/​etc-mount.sh Removes migrated overlay script.
tests/​images/​trident-verity-testimage/​base/​etc-mount.service Removes migrated overlay service.
tests/​images/​trident-verity-testimage/​base/​create-web-dir.sh Removes migrated setup script.
tests/​images/​trident-verity-testimage/​base/​baseimg.yaml Removes legacy root-verity config.
tests/​images/​trident-verity-testimage/​base/​baseimg-container.yaml Removes legacy container verity config.
tests/​images/​trident-testimage/​README.md Removes legacy test-image documentation.
tests/​images/​trident-testimage/​base/​post-install.sh Removes migrated post-install script.
tests/​images/​trident-testimage/​base/​files/​use-grpc-client-commit.conf Removes migrated service override.
tests/​images/​trident-testimage/​base/​baseimg.yaml Removes legacy test-image config.
tests/​images/​trident-mos/​post-install.sh Removes obsolete MOS setup script.
tests/​images/​trident-mos/​iso.yaml Removes obsolete MOS ISO config.
tests/​images/​trident-mos/​files/​serial-getty@.service Removes legacy console service.
tests/​images/​trident-mos/​files/​root.profile Removes legacy root profile.
tests/​images/​trident-mos/​files/​rcp-agent.yaml Removes legacy patch placeholder.
tests/​images/​trident-mos/​files/​pre-trident-script.sh Removes legacy patch placeholder.
tests/​images/​trident-mos/​files/​getty@.service Removes legacy console service.
tests/​images/​trident-mos/​files/​download-trident-container.service Removes obsolete container service.
tests/​images/​trident-mos/​files/​config-placeholder.yaml Removes legacy config placeholder.
tests/​images/​trident-mos/​files/​.gitignore Removes legacy generated-file exclusion.
tests/​images/​trident-mos/​containerhost-iso.yaml Removes obsolete container-host ISO config.
tests/​images/​trident-installer/​README.md Removes legacy installer documentation.
tests/​images/​trident-installer/​base/​post-install.sh Removes migrated installer script.
tests/​images/​trident-installer/​base/​files/​trident-split-install.service Removes migrated split-install service.
tests/​images/​trident-installer/​base/​files/​trident-install.service Removes migrated install service.
tests/​images/​trident-installer/​base/​files/​serial-getty@.service Removes legacy console service.
tests/​images/​trident-installer/​base/​files/​root.profile Removes migrated root profile.
tests/​images/​trident-installer/​base/​files/​rcp-agent.yaml Removes migrated patch placeholder.
tests/​images/​trident-installer/​base/​files/​pre-trident-script.sh Removes migrated patch placeholder.
tests/​images/​trident-installer/​base/​files/​override-placeholder.conf Removes migrated override placeholder.
tests/​images/​trident-installer/​base/​files/​getty@.service Removes legacy console service.
tests/​images/​trident-installer/​base/​files/​direct-streaming-placeholder.conf Removes migrated streaming placeholder.
tests/​images/​trident-installer/​base/​files/​config-placeholder.yaml Removes migrated config placeholder.
tests/​images/​trident-installer/​base/​baseimg.yaml Removes legacy installer config.
tests/​images/​trident-installer/​base/​baseimg-split.yaml Removes legacy split-installer config.
tests/​images/​trident-installer/​base/​baseimg-direct-streaming.yaml Removes legacy streaming installer config.
tests/​images/​trident-functest/​base/​baseimg.yaml Removes legacy functional-test image config.
tests/​images/​trident-container-testimage/​README.md Removes legacy container-image documentation.
tests/​images/​trident-container-testimage/​base/​scripts/​post-install.sh Removes migrated post-install script.
tests/​images/​trident-container-testimage/​base/​scripts/​load-containerd-selinux-fix.sh Removes migrated SELinux helper.
tests/​images/​trident-container-testimage/​base/​files/​trident-container.service Removes migrated container service.
tests/​images/​trident-container-testimage/​base/​files/​containerd-mmap-fix.cil Removes migrated SELinux policy.
tests/​images/​trident-container-testimage/​base/​baseimg.yaml Removes legacy container image config.
tests/​images/​trident-container-installer/​README.md Removes legacy container-installer documentation.
tests/​images/​trident-container-installer/​base/​scripts/​post-install.sh Removes migrated installer script.
tests/​images/​trident-container-installer/​base/​scripts/​load-containerd-selinux-fix.sh Removes migrated SELinux helper.
tests/​images/​trident-container-installer/​base/​files/​trident-container.service Removes migrated container service.
tests/​images/​trident-container-installer/​base/​files/​serial-getty@.service Removes legacy console service.
tests/​images/​trident-container-installer/​base/​files/​root.profile Removes migrated root profile.
tests/​images/​trident-container-installer/​base/​files/​override-placeholder.conf Removes migrated override placeholder.
tests/​images/​trident-container-installer/​base/​files/​getty@.service Removes legacy console service.
tests/​images/​trident-container-installer/​base/​files/​containerd-mmap-fix.cil Removes migrated SELinux policy.
tests/​images/​trident-container-installer/​base/​files/​config-placeholder.yaml Removes migrated config placeholder.
tests/​images/​trident-container-installer/​base/​baseimg.yaml Removes legacy container-installer config.
tests/​images/​testimages.py Removes the legacy image registry and CLI entry point.
tests/​images/​builder/​utils.py Removes legacy builder path utilities.
tests/​images/​builder/​sign.py Removes legacy artifact-signing implementation.
tests/​images/​builder/​run.py Removes legacy build orchestration.
tests/​images/​builder/​README.md Removes legacy builder documentation.
tests/​images/​builder/​download.py Removes legacy base-image downloader.
tests/​images/​builder/​customize.py Removes legacy Image Customizer wrapper.
tests/​images/​builder/​convert.py Removes legacy image conversion wrapper.
tests/​images/​builder/​context_managers.py Removes legacy cleanup utilities.
tests/​images/​builder/​cli.py Removes legacy builder CLI.
tests/​images/​builder/​builder.py Removes legacy image build implementation.
tests/​images/​builder/​__init__.py Removes legacy builder models and configuration.
tests/​images/​azurelinux-direct-streaming-testimage/​base/​post-install.sh Removes migrated post-install script.
tests/​images/​azurelinux-direct-streaming-testimage/​base/​baseimg.yaml Removes legacy direct-streaming config.
tests/​images/​azl-installer/​mos/​scripts/​startup-command.sh Removes migrated installer startup script.
tests/​images/​azl-installer/​mos/​scripts/​installation.sh Removes migrated installer workflow.
tests/​images/​azl-installer/​mos/​files/​serial-getty@.service Removes legacy console service.
tests/​images/​azl-installer/​mos/​files/​getty@.service Removes legacy console service.
tests/​images/​azl-installer/​iso/​files/​config-placeholder.yaml Removes migrated config placeholder.
tests/​images/​azl-installer/​iso/​.gitignore Removes legacy generated-file exclusions.
tests/​images/​azl-installer/​installer-iso.yaml Removes legacy AZL installer config.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@bfjelds
bfjelds (bfjelds) force-pushed the user/bfjelds/tailor-cleanup branch from 4832f21 to 88181bb Compare October 12, 2026 18:13
@bfjelds
bfjelds (bfjelds) force-pushed the user/bfjelds/tailor-cleanup branch from 88181bb to 1c8eeef Compare October 12, 2026 19:23

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

The retained bin/trident-mos.iso and default run-netlaunch flow still depend on deleted MOS files.

0 open findings

🧠 Review effort: Balanced

@bfjelds
bfjelds (bfjelds) force-pushed the user/bfjelds/tailor-cleanup branch from c05b1b2 to b505daf Compare October 13, 2026 17:48
@bfjelds

Copy link
Copy Markdown
Member Author

Addressed the recurring review summary finding: bin/trident-mos.iso and the default run-netlaunch flow depended on tests/images/trident-mos/*, deleted by this PR's legacy-workspace cleanup. trident-mos was never migrated to Tailor in the first place, unlike every other test image -- fixed by migrating it to the Tailor workspace in #843 and rerouting the Makefile target through tailor in #844, verified with a real make bin/trident-mos.iso build producing a working ISO.

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

Maintained ACL-agent guidance still names deleted legacy configuration files instead of their Tailor replacements.

0 open findings

🧠 Review effort: Balanced

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

Several storm ACL-agent references still name the deleted legacy configuration files.

1 open finding

🧠 Review effort: Balanced

Comment thread docs/Explanation/Trident-ACL-Agent.md Outdated

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

Documentation still contains incomplete or obsolete paths to the migrated image configurations.

1 open finding
1 resolved since last review

🧠 Review effort: Balanced

Comment thread docs/Explanation/Trident-ACL-Agent.md Outdated
@bfjelds
bfjelds (bfjelds) force-pushed the user/bfjelds/tailor-cleanup branch from 3cb974c to 1102036 Compare October 13, 2026 19:23

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.

🟢 Approval recommended

The legacy tree is fully removed, remaining references resolve to existing Tailor configurations, and no unresolved issues were found.

0 open findings

1 resolved since last review

🧠 Review effort: Balanced

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.

🟢 Approval recommended

The deleted legacy assets have Tailor replacements, and remaining repository references now target the active workspace.

0 open findings

🧠 Review effort: Balanced

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.

🟢 Approval recommended

The legacy tree is fully removed, active references resolve to existing Tailor configurations, and no unresolved consumers were found.

0 open findings

🧠 Review effort: Balanced

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

The Tailor workspace README still incorrectly says the deleted legacy builder runs alongside it.

0 open findings

🧠 Review effort: Balanced

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.

🟢 Approval recommended

The legacy system is no longer referenced by build paths, with only a non-blocking stale README statement remaining.

0 open findings

🧠 Review effort: Balanced

@bfjelds

Copy link
Copy Markdown
Member Author

Re: the review headline about the workspace README still saying the legacy builder "runs alongside it" -- fixed, folded into #844's cutover commit (where it actually becomes stale, not here where the files are deleted): #844

Delete the remaining tests/images tree now that the live Makefile and pipeline entry points read exclusively from tests/tailor-images.

This removes the old testimages.py builder, its helper package, the superseded Image Customizer YAML stack, and the duplicated support files that were copied into the tailor workspace earlier in the stack.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

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