osbuild: Fix not failing on failable tasks
The task can only fail as a whole, thus it only makes sense to set all architectures (`*`) as failable. The correct value needs to be checked though. JIRA: RHELCMP-3412 Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
4a048d4a85
commit
98ddc74c16
@ -96,12 +96,7 @@ class RunOSBuildThread(WorkerThread):
|
||||
self.can_fail = can_fail
|
||||
self.num = num
|
||||
with util.failable(
|
||||
compose,
|
||||
bool(config.get("failable")),
|
||||
variant,
|
||||
"*",
|
||||
"osbuild",
|
||||
logger=self.pool._logger,
|
||||
compose, can_fail, variant, "*", "osbuild", logger=self.pool._logger,
|
||||
):
|
||||
self.worker(
|
||||
compose, variant, config, arches, version, release, target, repo
|
||||
|
@ -381,7 +381,7 @@ class RunOSBuildThreadTest(helpers.PungiTestCase):
|
||||
None,
|
||||
"image-target",
|
||||
[self.topdir + "/compose/Everything/$arch/os"],
|
||||
["x86_64"],
|
||||
False,
|
||||
),
|
||||
1,
|
||||
)
|
||||
@ -408,7 +408,7 @@ class RunOSBuildThreadTest(helpers.PungiTestCase):
|
||||
None,
|
||||
"image-target",
|
||||
[self.topdir + "/compose/Everything/$arch/os"],
|
||||
["x86_64"],
|
||||
True,
|
||||
),
|
||||
1,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user