tumbi-assembler/pungi/phases
Adam Williamson 0d306d4964 Fix 'failable' handling for kiwibuild phase
The mechanisms here are a bit subtle and the kiwibuild phase
didn't quite get them right. The arg passed to `util.failable`
is supposed to be a boolean, but kiwibuild was passing it the
list of failable arches (which will always evaluate True).

How this is meant to work is that we only make *the Koji task
as a whole* failable (by passing `True` to `util.failable`) if
*all* the arches in it are failable. If *any* arch in the task
is not failable, the task should not be failable.

We allow a subset of arches to fail by passing the Koji task a
list of `optional_arches`, later. If an arch is 'optional', that
arch failing won't cause the Koji task itself to be considered
failed.

This commit fixes the logic (I hope), renames all the variables
and adds a couple of comments to make it clearer what's going on,
and does a bit of making the code simpler.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-08 15:12:01 -08:00
..
gather Add support for not having koji volume mounted locally 2023-08-23 07:26:56 +00:00
pkgset pkgset: ignore events for modular content tags 2023-10-27 08:16:30 +02:00
__init__.py Support KiwiBuild 2024-03-04 11:14:23 +01:00
base.py Log time taken of each phase 2022-07-12 16:56:41 +08:00
buildinstall.py Fix buildinstall reuse with pungi_buildinstall plugin 2024-02-14 13:56:14 +00:00
createiso.py Drop buildinstall method 2023-10-18 06:38:14 +00:00
createrepo.py Fix module defaults and obsoletes validation 2022-06-10 11:35:26 +00:00
extra_files.py Format code base with black 2020-02-05 17:35:47 +08:00
extra_isos.py Fix black complaints 2023-02-02 12:53:32 +01:00
image_build.py image_build: Accept Kiwi extension for Azure VHD images 2024-03-07 08:07:38 +00:00
image_checksum.py Adding multithreading support for pungi/phases/image_checksum.py 2021-08-12 10:13:15 +02:00
image_container.py Cancel koji tasks when pungi terminated 2021-03-23 14:47:48 +08:00
init.py init: Filter comps for modular variants with tags 2022-11-03 11:11:01 +01:00
kiwibuild.py Fix 'failable' handling for kiwibuild phase 2024-03-08 15:12:01 -08:00
live_images.py Add ability to download images 2023-08-23 07:26:56 +00:00
livemedia_phase.py Add ability to download images 2023-08-23 07:26:56 +00:00
osbs.py osbs: only handle archives of type "image" 2022-03-17 11:04:02 -04:00
osbuild.py Phases/osbuild: support passing 'customizations' for image builds 2024-03-05 14:46:56 +01:00
ostree.py checks: don't require "repo" in the "ostree" schema 2024-01-19 08:25:09 +01:00
ostree_container.py ostree/container: Set version in treefile 'automatic-version-prefix' 2024-02-26 15:51:48 +01:00
ostree_installer.py Add skip_branding to ostree_installer. 2022-05-11 15:19:53 +02:00
phases_metadata.py Format code base with black 2020-02-05 17:35:47 +08:00
repoclosure.py Delete outdated comments 2020-04-22 17:14:51 +08:00
test.py Stop trying to validate non-existent metadata 2021-11-04 09:57:20 +01:00
weaver.py Format code base with black 2020-02-05 17:35:47 +08:00