Update documentation
Also remove the TODO comment from live images phase: the appliances are already submitted one task per single arch, so this change is not necessary. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
356b78d440
commit
17a5f2841c
@ -864,13 +864,11 @@ provided; date, compose type and respin will be used.
|
||||
* ``image_build_release``
|
||||
* ``live_images_release``
|
||||
|
||||
Each configuration block can also optionally specify a list of architectures
|
||||
that are not release blocking with ``failable`` key. If any deliverable fails,
|
||||
it will not abort the whole compose. Due to limitations in how the tasks are
|
||||
done in Koji, if any architecture fails, all of them fail. Until this is
|
||||
resolved, it is not possible to configure failability per architecture. An
|
||||
empty list means required deliverable, non-empty list means non-blocking
|
||||
deliverable.
|
||||
Each configuration block can also optionally specify a ``failable`` key. For
|
||||
live images it should have a boolean value. For live media and image build it
|
||||
should be a list of strings containing architectures that are optional. If any
|
||||
deliverable fails on an optional architecture, it will not abort the whole
|
||||
compose. If the list contains only ``"*"``, all arches will be substituted.
|
||||
|
||||
|
||||
Live Images Settings
|
||||
|
@ -152,7 +152,6 @@ class CreateLiveImageThread(WorkerThread):
|
||||
def process(self, item, num):
|
||||
compose, cmd, variant, arch = item
|
||||
self.failable_arches = cmd.get('failable_arches', [])
|
||||
# TODO handle failure per architecture; currently not possible in single task
|
||||
self.can_fail = bool(self.failable_arches)
|
||||
with failable(compose, self.can_fail, variant, arch, 'live', cmd.get('subvariant'),
|
||||
logger=self.pool._logger):
|
||||
|
Loading…
Reference in New Issue
Block a user