Browse Source

upload fix and priority

master
JerryXiao 3 years ago
parent
commit
09f037c0eb
  1. 1
      buildbot.py
  2. 2
      extra.py

1
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))

2
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}

Loading…
Cancel
Save