mirror of
https://github.com/archlinux-jerry/buildbot
synced 2024-11-22 21:10:41 +08:00
reload yml
This commit is contained in:
parent
a3c15910d4
commit
a2197b4f5e
1 changed files with 2 additions and 1 deletions
|
@ -54,7 +54,7 @@ class jobsManager:
|
||||||
self.__buildjobs = list()
|
self.__buildjobs = list()
|
||||||
self.__uploadjobs = list()
|
self.__uploadjobs = list()
|
||||||
self.__curr_job = None
|
self.__curr_job = None
|
||||||
self.pkgconfigs = load_all_yaml()
|
self.pkgconfigs = None
|
||||||
self.last_updatecheck = 0.0
|
self.last_updatecheck = 0.0
|
||||||
self.idle = False
|
self.idle = False
|
||||||
def _new_buildjob(self, job):
|
def _new_buildjob(self, job):
|
||||||
|
@ -168,6 +168,7 @@ class jobsManager:
|
||||||
return
|
return
|
||||||
self.last_updatecheck = time()
|
self.last_updatecheck = time()
|
||||||
self.idle = False
|
self.idle = False
|
||||||
|
self.pkgconfigs = load_all_yaml()
|
||||||
updates = updmgr.check_update()
|
updates = updmgr.check_update()
|
||||||
for update in updates:
|
for update in updates:
|
||||||
(pkgconfig, ver, buildarchs) = update
|
(pkgconfig, ver, buildarchs) = update
|
||||||
|
|
Loading…
Reference in a new issue