Publish a new version after a rebuild
When a patch or configuration change requires a new image version on the same catalog item, create a new build version and publish it.
Procedure
Results
flightctl get imagepromotion/<promotion_name>reportsstatus.phase: Completed.- The Software Catalog shows the new version on the catalog item.
- Operators with catalog access can deploy the version to a device or fleet.
- Promotion stays in
WaitingForArtifacts: One or more formats inexportFormatsis not yet available. The promotion waits for a new successful export rather than failing immediately when an export attempt fails. CheckImageExportstatus, wait for a successful export, or remove formats you do not need fromexportFormats. - Promotion phase is
Failed: Inspectstatus.conditionsand events on the promotion and the referencedImageBuild. If the referenced build failed or was canceled, create a new build and a newImagePromotion. - 400 when creating a promotion — version already exists: The target catalog item already contains the version you specified. Choose a new semver version or target a different catalog item.
- 409 Conflict when creating a new catalog item: A catalog item with that name already exists. Choose Existing catalog item instead, or pick a different name.
- 404 Not Found when adding to an existing catalog item: No catalog item with that name exists. Choose New catalog item instead, or check the catalog item name spelling.
- 403 when writing catalog resources directly: Catalog writes for Operators are gated through
ImagePromotion. See Restoring catalog write access for Operator accounts in the Additional resources section.
For field-level details, see ImagePromotion resource reference in the Additional resources section.