1
0
Fork 0
mirror of https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot synced 2024-11-22 03:52:37 +01:00

Merge pull request #44 from legoktm/patch-1

Update for consolidated db-production.php file
This commit is contained in:
Amir Sarabadani 2022-01-12 15:11:22 +01:00 committed by GitHub
commit 12fe17d093
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -443,8 +443,7 @@ def add_create_instructions(parts, shard, language_code, db_name, task_tid):
db_name=db_name, phab=task_tid) db_name=db_name, phab=task_tid)
add_text('On deploy1001:') add_text('On deploy1001:')
if shard != "s3": if shard != "s3":
add_text(sync_file('wmf-config/db-eqiad.php', summary)) add_text(sync_file('wmf-config/db-production.php', summary))
add_text(sync_file('wmf-config/db-codfw.php', summary))
add_text(sync_file('dblists', summary)) add_text(sync_file('dblists', summary))
add_text('`scap sync-wikiversions "{}"`'.format(summary)) add_text('`scap sync-wikiversions "{}"`'.format(summary))
if parts[1] == 'wikimedia': if parts[1] == 'wikimedia':