Skip to content

[RFE] Add API endpoint for querying the version (e.g. NEVRA) of the running composer deployment. #1674

Open
@thozza

Description

@thozza

The EXD team responsible for RHEL composes would like to implement an optimisation which would allow them to not build images for every new compose/respin, in case no relevant part of the tooling or used content changed.

Motivation

When building compose for the same release next time, check the metadata to find out if something meaningful changed (e.g. version of package in the image, compose configuration, version of deployed image-builder)

  • if yes, submit new build
  • if no, copy image from previous compose (since a new one would be practically identical)

Requirement

  1. Upon finishing an osbuild-koji task, store enough metadata to identify all content in the image.
  2. Have an API endpoint for querying the deployed versions of relevant parts of Image Builder deployment (osbuild-composer, osbuild-composer-worker, osbuild). Version stored in Koji build metadata won't allow to check for possible changes before submitting another build.
  3. Have the same information as mentioned in (2.), but attached as metadata to the Koji Build via the Koji API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Koji integrationWork items related to Koji integration or deploymentStaleenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions