From 09f037c0ebebf5e4fa22396549e493b6c249f6cf Mon Sep 17 00:00:00 2001 From: Jerry Date: Sun, 6 Oct 2019 13:21:16 +0800 Subject: [PATCH] upload fix and priority --- buildbot.py | 1 + extra.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/buildbot.py b/buildbot.py index 861daea..21cac8b 100755 --- a/buildbot.py +++ b/buildbot.py @@ -276,6 +276,7 @@ class jobsManager: pkg_update_list.append(fpath) sizes = [f.stat().st_size / 1000 / 1000 for f in f_to_upload] pkg_update_list_human = " ".join([f.name for f in pkg_update_list]) + assert pkg_update_list max_tries = 10 for tries in range(max_tries): timeouts = rrun('push_start', args=([f.name for f in f_to_upload], sizes)) diff --git a/extra.py b/extra.py index 743ccb6..668d392 100644 --- a/extra.py +++ b/extra.py @@ -30,7 +30,7 @@ def gen_pkglist(pkgconfigs, pkgvers, pkgerrs): # namelist is a list of pkgnames pkgall = dict() for pc in pkgconfigs: - ps = ('type', 'cleanbuild', 'timeout') + ps = ('type', 'cleanbuild', 'timeout', 'priority') hps = ('prebuild', 'postbuild', 'update', 'failure') dps = {p:getattr(pc, p, None) for p in ps} dhps = {p:'\n'.join([str(cmd) for cmd in getattr(pc, p, None)]) for p in hps}