Skip to content

Attach virtual-appliance images to the release - #9

Merged
chrismuench merged 1 commit into
mainfrom
feat/release-appliance-assets
Jul 10, 2026
Merged

Attach virtual-appliance images to the release#9
chrismuench merged 1 commit into
mainfrom
feat/release-appliance-assets

Conversation

@chrismuench

Copy link
Copy Markdown
Collaborator

Fixes the gap that the release has no Hyper-V (or other appliance) download and the download page doesn't link one. The appliance images were only being produced as short-lived CI artifacts by appliance.yml.

Approach (per the request: link to the release, but run after it)

appliance.yml now also triggers on release: published — so it runs after the release is out and attaches the images to it, never blocking or racing the (fast) release jobs. It can also be dispatched manually with a release_tag input to populate an existing release.

When linked to a release it uploads:

  • dispatch-appliance-<ver>-hyperv.vhdx.gz (Hyper-V)
  • dispatch-appliance-<ver>-vmware.ova (VMware)
  • dispatch-appliance-<ver>-kvm.qcow2 (KVM/Proxmox)

The Hyper-V VHDX is gzipped because GitHub caps release assets at 2 GB/file; any file still over 2 GB is skipped with a ::warning:: rather than failing the job. Without a release context, behavior is unchanged (CI artifacts only).

After merge

Run gh workflow run appliance.yml -f release_tag=v0.5.0 to build + attach the appliances to the existing v0.5.0 release (this also reveals the real image sizes). Then the download page gets the actual asset links (follow-up).

🤖 Generated with Claude Code

Link the appliance build to the release: appliance.yml now runs on
'release: published' (and never blocks the release - it attaches to the already-
published one). It gzips the Hyper-V VHDX (2 GB asset cap) and uploads
dispatch-appliance-<ver>-{hyperv.vhdx.gz,vmware.ova,kvm.qcow2} to the release,
skipping any file over 2 GB with a warning. A manual run can target an existing
release via the release_tag input; without it, behavior is unchanged (CI artifacts).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@chrismuench
chrismuench merged commit bcc6df9 into main Jul 10, 2026
6 checks passed
@chrismuench
chrismuench deleted the feat/release-appliance-assets branch July 10, 2026 05:44
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