[FIX] runbot: avoid hook_time update on builders

This commit is contained in:
Christophe Monniez 2022-02-09 14:52:00 +01:00 committed by xdo
parent ea5feb114a
commit 2f7c752793

View File

@ -7,7 +7,7 @@ _logger = logging.getLogger(__name__)
class BuilderClient(RunbotClient):
def on_start(self):
self.env['runbot.repo'].search([('mode', '!=', 'disabled')])._update()
self.env['runbot.repo'].search([('mode', '!=', 'disabled')])._update(force=True)
def loop_turn(self):
if self.count == 1: # cleanup at second iteration