Deployment artifact bundle

Goal

Define how independently produced deployment artifacts can be validated and assembled into a coordinated deployment bundle. The answer generator and the artifact consumers are deliberately separate tools:

  1. A bootable Feclora Live ISO.
  2. A selected or newly captured Feclora-restorable disk image and its manifest/artifacts.
  3. One shared unattended answer file describing the deployment for the complete Client group.

The output is a versioned bundle with integrity metadata. The ISO, image and already-generated shared answer are selected as separate inputs and validated together. The bundle coordinator must not generate or modify the answer file.

Keep the artifact roles distinct

Target workflow

  1. Build or select a Feclora Live ISO from pinned Fedora/Kickstart/application inputs. Record source revision, Fedora release, architecture, build-tool versions and ISO SHA-256.
  2. Select an existing compatible Feclora image or capture one through the normal whole-disk capture workflow. Choose RAW (with optional compression/encryption) or QCOW2. Both formats produce an ordinary disk manifest and can be selected directly for deployment; QCOW2 restore validates the container and converts it to private RAW staging on the Client. QCOW2 conversion preserves disk sectors but does not repair guest boot dependencies or prove VM bootability.
  3. Independently generate the single shared schema-v1 answer with build/generate-shared-answer.py (or prepare it in the Remote Jobs editor). Supply the image/repository IDs, one MAC=WWN|SERIAL binding per Client, boot method and transport settings. The generator validates the DeploymentJob, requires at least two Clients for multicast, writes mode 0600 and never overwrites an existing answer.
  4. Select the intended consumer workflow: local deployment, client/server unicast, client/server multicast, or PXE boot. These are consumers of the same answer contract; PXE changes only the Live boot/answer-delivery path. For unattended multicast, all Clients consume the exact same JSON and select their own target binding locally by MAC.
  5. When a bundle is required, pass the already-generated answer file, ISO and image to build/create-deployment-bundle.py or the GTK bundle operation. The coordinator revalidates schema, cross-references, sizes and SHA-256 values; it does not generate, rewrite or split the answer.
  6. Stage the bundle in a private temporary directory and publish atomically only after all checks succeed. Never overwrite an existing bundle. Emit a manifest/checksum file identifying the ISO, image artifacts and one shared answer.

Boot and transport behavior

The same Live ISO supports USB/ISO boot and optional PXE boot. PXE only supplies the Live boot path and, where configured, the shared answer locator. It is not a repository proxy. Clients access the configured repository directly through the existing repository manager.

For unattended multicast, every Client downloads and processes the exact same answer JSON. Each Client selects its own target binding locally by MAC, validates the destination, and joins the same authenticated DeploymentJob. The Server starts one multicast transmission only after all authorized Clients are READY. Unicast remains a supported transport. Do not generate per-client answer files or add PXE-specific CA, TLS or credential infrastructure.

The bundle generator must make answer delivery explicit: either include the shared answer as a removable-media file with a documented import/discovery path, or publish it through the existing Caddy/DHCP answer mechanism. Do not claim that simply placing a JSON file beside an ISO makes firmware or Live discover it automatically.

Existing implementation versus remaining work

Already present in source:

Implemented bundle engine and durable GTK operation:

Intentional tool boundary:

Acceptance criteria