mirror of
https://github.com/archlinux-jerry/buildbot
synced 2024-12-22 19:09:23 +08:00
wrong config
This commit is contained in:
parent
ec0d33b2a4
commit
195abe322e
2 changed files with 7 additions and 2 deletions
|
@ -55,6 +55,7 @@ class jobsManager:
|
|||
self.__curr_job = None
|
||||
self.pkgconfigs = load_all_yaml()
|
||||
self.last_updatecheck = 0.0
|
||||
self.idle = False
|
||||
def _new_buildjob(self, job):
|
||||
assert type(job) is Job
|
||||
job_to_remove = list()
|
||||
|
@ -124,9 +125,13 @@ class jobsManager:
|
|||
if not self.__buildjobs:
|
||||
# This part check for updates
|
||||
if time() - self.last_updatecheck <= UPDATE_INTERVAL:
|
||||
if not self.idle:
|
||||
logger.info('Buildbot is idling for package updates.')
|
||||
self.idle = True
|
||||
sleep(60)
|
||||
return
|
||||
self.last_updatecheck = time()
|
||||
self.idle = False
|
||||
updates = updmgr.check_update()
|
||||
for update in updates:
|
||||
(pkgconfig, ver, buildarchs) = update
|
||||
|
|
|
@ -33,8 +33,8 @@ GPG_VERIFY_CMD = 'gpg --verify'
|
|||
|
||||
# Archlinux-Jerry Build Bot <buildbot@mail.jerryxiao.cc>
|
||||
GPG_KEY = 'BEE4F1D5A661CA1FEA65C38093962CE07A0D5B7D'
|
||||
GPG_SIGN_CMD = (f'gpg --default-key {GPG_KEY} --no-armor'
|
||||
'--pinentry-mode loopback --passphrase \'\''
|
||||
GPG_SIGN_CMD = (f'gpg --default-key {GPG_KEY} --no-armor '
|
||||
'--pinentry-mode loopback --passphrase \'\' '
|
||||
'--detach-sign --yes --')
|
||||
|
||||
#### config for buildbot.py
|
||||
|
|
Loading…
Reference in a new issue