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``
|
* ``image_build_release``
|
||||||
* ``live_images_release``
|
* ``live_images_release``
|
||||||
|
|
||||||
Each configuration block can also optionally specify a list of architectures
|
Each configuration block can also optionally specify a ``failable`` key. For
|
||||||
that are not release blocking with ``failable`` key. If any deliverable fails,
|
live images it should have a boolean value. For live media and image build it
|
||||||
it will not abort the whole compose. Due to limitations in how the tasks are
|
should be a list of strings containing architectures that are optional. If any
|
||||||
done in Koji, if any architecture fails, all of them fail. Until this is
|
deliverable fails on an optional architecture, it will not abort the whole
|
||||||
resolved, it is not possible to configure failability per architecture. An
|
compose. If the list contains only ``"*"``, all arches will be substituted.
|
||||||
empty list means required deliverable, non-empty list means non-blocking
|
|
||||||
deliverable.
|
|
||||||
|
|
||||||
|
|
||||||
Live Images Settings
|
Live Images Settings
|
||||||
|
@ -152,7 +152,6 @@ class CreateLiveImageThread(WorkerThread):
|
|||||||
def process(self, item, num):
|
def process(self, item, num):
|
||||||
compose, cmd, variant, arch = item
|
compose, cmd, variant, arch = item
|
||||||
self.failable_arches = cmd.get('failable_arches', [])
|
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)
|
self.can_fail = bool(self.failable_arches)
|
||||||
with failable(compose, self.can_fail, variant, arch, 'live', cmd.get('subvariant'),
|
with failable(compose, self.can_fail, variant, arch, 'live', cmd.get('subvariant'),
|
||||||
logger=self.pool._logger):
|
logger=self.pool._logger):
|
||||||
|
Loading…
Reference in New Issue
Block a user