From 6ada96ff923a123139a66c08a0abf44c715e05f5 Mon Sep 17 00:00:00 2001 From: Mohan Boddu Date: Jul 30 2020 13:03:10 +0000 Subject: Adding --fail-fast to mass-rebuild.py This will help the mass rebuild go faster by failing the tasks if the build fails on any arches Fixes: https://pagure.io/releng/issue/9636 Signed-off-by: Mohan Boddu --- diff --git a/scripts/mass-rebuild.py b/scripts/mass-rebuild.py index 7b698aa..ed0947d 100755 --- a/scripts/mass-rebuild.py +++ b/scripts/mass-rebuild.py @@ -174,7 +174,7 @@ for pkg in pkgs: continue # build - build = [koji_bin, 'build', '--nowait', '--background', massrebuild['target'], url] + build = [koji_bin, 'build', '--nowait', '--background', '--fail-fast', massrebuild['target'], url] print('Building %s' % name) runme(build, 'build', name, enviro, cwd=os.path.join(workdir, name))