1
0
Fork 0
mirror of https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot synced 2024-11-24 21:12:38 +01:00

Replace mwmaint1002 with "maintenance host"

This commit is contained in:
Zabe 2024-07-10 22:20:48 +00:00
parent 2dcfe56650
commit 77ceb41fc9

View file

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