mirror of
https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot
synced 2024-11-27 22:42:39 +01:00
Merge pull request #54 from ebernhardson/update-search-index-config-log
new_wikis_handler: Write Cirrus maint script output to log file
This commit is contained in:
commit
97a38359f6
1 changed files with 2 additions and 1 deletions
|
@ -460,9 +460,10 @@ def add_create_instructions(parts, shard, language_code, db_name, task_tid):
|
|||
add_text(sync_file('langlist', summary))
|
||||
|
||||
add_text('On mwmaint1002:')
|
||||
add_text('`{search_path} --wiki={dbname} --cluster=all`'.format(
|
||||
add_text('`{search_path} --wiki={dbname} --cluster=all 2>&1 | tee {log}`'.format(
|
||||
search_path='mwscript extensions/CirrusSearch/maintenance/UpdateSearchIndexConfig.php',
|
||||
dbname=db_name,
|
||||
log='/tmp/{dbname}.UpdateSearchIndexConfig.log'.format(dbname=db_name),
|
||||
))
|
||||
|
||||
add_text('On deployment host:')
|
||||
|
|
Loading…
Reference in a new issue