1
0
Fork 0
mirror of https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot synced 2024-11-28 15:02:39 +01:00

new_wikis_handler: Wikis with different shard s3 needs db-*.php to be synced too

This commit is contained in:
Martin Urbanec 2020-08-11 11:23:41 +02:00
parent e04aa3a936
commit 78113030dc

View file

@ -260,6 +260,9 @@ def hande_task(phid):
)) ))
summary = 'Creating {db_name} ({phab})'.format(db_name=db_name, phab='T' + task_details['id']) summary = 'Creating {db_name} ({phab})'.format(db_name=db_name, phab='T' + task_details['id'])
add_text('On deploy1001:') add_text('On deploy1001:')
if shard != "s3":
add_text('`scap sync-file wmf-config/db-eqiad.php "{}"`'.format(summary))
add_text('`scap sync-file wmf-config/db-codfw.php "{}"`'.format(summary))
add_text('`scap sync-file dblists "{}"`'.format(summary)) add_text('`scap sync-file dblists "{}"`'.format(summary))
add_text('`scap sync-wikiversions "{}"`'.format(summary)) add_text('`scap sync-wikiversions "{}"`'.format(summary))
if parts[1] == 'wikimedia': if parts[1] == 'wikimedia':