mirror of
https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot
synced 2024-11-25 05:22:39 +01: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:
commit
973557299e
1 changed files with 2 additions and 2 deletions
|
@ -433,7 +433,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(
|
||||||
|
@ -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(
|
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,
|
||||||
|
|
Loading…
Reference in a new issue