mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-28 20:42:20 +08:00
update-fullfiletimelist: make new-updates-sync use the fedora-secondary lock file
Currently update-fullfiletimelist is called from 4 machines: * rawhide-composer: after rawhide compose * branched-composer: after branched compose * secondary01: in a cron every hour updating only /pub/alt as it can change anytime. * bodhi-backend01: after ever updates sync that has content synced We need bodhi-backend01 to use the same lock as rawhide/branched composers since they update the same modules and we don't want them to step on each other. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
@@ -234,7 +234,7 @@ def update_fullfilelist(modules):
|
||||
logger.info('No filelists to update')
|
||||
return
|
||||
cmd = ['/usr/local/bin/update-fullfiletimelist', '-l',
|
||||
'/tmp/update-fullfiletimelist.lock', '-t', '/pub']
|
||||
'/pub/fedora-secondary/update-fullfiletimelist.lock', '-t', '/pub']
|
||||
cmd.extend(modules)
|
||||
run_command(cmd)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user