#94 Build bootc images in IoT variant, tweak IoT image's subvariant
Merged by pwhalen. Opened by adamwill.
fedora-iot/ adamwill/pungi-iot ostree-container-subvariants  into  main

Download 94.patch

As discussed in
https://pagure.io/fedora-infra/ansible/pull-request/2295 , this
subvariant is more usable and in line with previous practice. It
will make life a bit easier for fedora-image-uploader. This also
tweaks the config to build both ostree container images in the
IoT variant and give them explicit subvariants, instead of
building them in their own variants and relying on the variant
to be inherited as the subvariant definition too. This just
seems a bit cleaner and avoids these variants showing up in the
metadata, which reads a bit oddly.

Signed-off-by: Adam Williamson awilliam@redhat.com

I'm pretty sure this ought to work, the reading of this in the ostree_container.py pungi phase uses get_config_block which uses get_variant_data which handles the result being a list or a dict.

rebased onto 702da4a01d9ef39bbdf3cfe5b6456aafb8a73e4f

LGTM, thanks @adamwill

Pull-Request has been merged by pwhalen

thanks, let's keep an eye on how the next compose goes.

Metadata