1
0
Fork 0
mirror of https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot synced 2024-09-16 20:28:48 +02:00

Merge branch 'zabe-master-patch-75214' into 'master'

Replace mwmaint1002 with "maintenance host"

See merge request ladsgroup/Phabricator-maintenance-bot!8
This commit is contained in:
Ladsgroup 2024-08-21 11:12:00 +00:00
commit 973557299e

View file

@ -433,7 +433,7 @@ def add_create_instructions(parts, shard, language_code, db_name, task_tid):
add_text('`git fetch`')
add_text('`git log -p HEAD..@{u}`')
add_text('`git rebase`')
add_text('On mwmaint1002:')
add_text('On maintenance host:')
add_text('`scap pull`')
addwiki_path = 'mwscript extensions/WikimediaMaintenance/addWiki.php'
add_text(
@ -449,7 +449,7 @@ def add_create_instructions(parts, shard, language_code, db_name, task_tid):
add_text('`scap sync-world "Creating {db_name} ({phab})"`'.format(
db_name=db_name, phab=task_tid))
add_text('On mwmaint1002:')
add_text('On maintenance host:')
add_text('`{search_path} --wiki={dbname} --cluster=all 2>&1 | tee {log}`'.format(
search_path='mwscript extensions/CirrusSearch/maintenance/UpdateSearchIndexConfig.php',
dbname=db_name,