From 78113030dc4efbbe73b583e240d8aeab0b034993 Mon Sep 17 00:00:00 2001 From: Martin Urbanec Date: Tue, 11 Aug 2020 11:23:41 +0200 Subject: [PATCH] new_wikis_handler: Wikis with different shard s3 needs db-*.php to be synced too --- new_wikis_handler.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/new_wikis_handler.py b/new_wikis_handler.py index 755ff9c..803251a 100644 --- a/new_wikis_handler.py +++ b/new_wikis_handler.py @@ -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':