#1710 RFE: Add kiwi-build command for issuing KiwiBuild tasks in Koji
Closed: Fixed by lsedlar. Opened by ngompa.

As part of the Change to Build Fedora Cloud Edition Images Using Kiwi in Koji, we need to be able to declare kiwi-build calls to build images in Koji using KiwiBuild tasks.


Hi @ngompa, I'm going to work on this, could you provide more info such as how to trigger KiwiBuild task? This issue https://pagure.io/releng/issue/11726 is not resolved, does Koji already support it?

Koji supports it, but it's not yet deployed on Fedora's instances. I've pinged that ticket to get it done.

Here's the help for the command:

ngompa@fedora ~> koji kiwi-build --help
Usage: koji kiwi-build [options] <target> <description_scm> <description_path>
(Specify the --help global option for a list of other help options)
Options:
  -h, --help            show this help message and exit
  --scratch             Perform a scratch build
  --release=RELEASE     Release of the output image
  --repo=REPO           Specify a repo that will override the repo used to
                        install RPMs in the image. May be used multiple times.
                        The build tag repo associated with the target is the
                        default.
  --noprogress          Do not display progress of the upload
  --kiwi-profile=KIWI_PROFILE
                        Select profile from description file
  --type=TYPE           Override default build type from description
  --make-prep           Run 'make prep' in checkout before starting the build
  --can-fail=ARCH1,ARCH2,...
                        List of archs which are not blocking for build
                        (separated by commas.
  --arch=ARCHES         Limit arches to this subset
  --nowait
  --wait                Wait on the image creation, even if running in the
                        background

Here's an example task from CentOS CBS building a Hyperscale cloud image and one building a KDE ISO.

Pungi will need to support calls similar to what invoked these two tasks with the additional property of telling Koji the compose repo to use as input for the image build.

Commit 3d630d3e fixes this issue

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/pungi/pungi/issues/1710

Please continue any further discussion there.

Metadata
Related Pull Requests