mirror of
https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot
synced 2024-11-09 13:42:38 +01:00
new_wikis_handler: Wikis with different shard s3 needs db-*.php to be synced too
This commit is contained in:
parent
e04aa3a936
commit
78113030dc
1 changed files with 3 additions and 0 deletions
|
@ -260,6 +260,9 @@ def hande_task(phid):
|
|||
))
|
||||
summary = 'Creating {db_name} ({phab})'.format(db_name=db_name, phab='T' + task_details['id'])
|
||||
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-wikiversions "{}"`'.format(summary))
|
||||
if parts[1] == 'wikimedia':
|
||||
|
|
Loading…
Reference in a new issue