Skip to content

Bundle the appliance's ps1/README/import scripts into the actual release zip - #27

Merged
chrismuench merged 2 commits into
mainfrom
fix/appliance-release-zip
Aug 12, 2026
Merged

Bundle the appliance's ps1/README/import scripts into the actual release zip#27
chrismuench merged 2 commits into
mainfrom
fix/appliance-release-zip

Conversation

@chrismuench

Copy link
Copy Markdown
Collaborator

Summary

  • The release-attach step in .github/workflows/appliance.yml shipped only the bare image (gzip for the VHDX, a raw copy for the OVA/qcow2), so Import-DispatchAppliance.ps1 and the per-format READMEs never reached a real release download - only the workflow_dispatch upload_artifacts path had them.
  • Confirmed against the live v0.7.0 release asset (dispatch-appliance-0.7.0-hyperv.vhdx.gz): it's a bare gzip of the VHDX only.
  • Now zips the whole out/<type> dir (image + helper script(s) + README + checksum) per hypervisor, matching what every appliance README already promises ("unzip this file, the .vhdx/README/script land together").

Test plan

  • appliance.yml YAML parses (python3 -c "import yaml; yaml.safe_load(open('.github/workflows/appliance.yml'))" - done locally)
  • CI (Appliance workflow) builds successfully and the boot smoke passes
  • After merge, cut a release and confirm the Hyper-V/VMware/KVM release assets are zips containing the image + README + helper script(s)

🤖 Generated with Claude Code

Chris Muench and others added 2 commits August 12, 2026 13:09
…ase zip

The release-attach step shipped only the bare image (gzip for the VHDX,
a raw copy for the OVA/qcow2), so Import-DispatchAppliance.ps1 and the
per-format READMEs never reached a real release download - only the
workflow_dispatch upload_artifacts path had them, contradicting what
every appliance README already promised.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The zip-building step only ran when RELEASE_TAG was set (a real release or a
manual dispatch with a tag) - normal CI pushes never exercised it, which is
exactly how the previous bug (bare vhdx.gz, no ps1/README) went unnoticed.
Split zip-building out of the release-only step so it runs unconditionally,
and added a check that each zip actually contains its expected files,
failing the build loudly if one goes missing again.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@chrismuench
chrismuench merged commit 0f44a8e into main Aug 12, 2026
6 checks passed
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.

1 participant