mirror of
https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot
synced 2024-11-09 21:52:38 +01:00
Merge pull request #37 from ZabeMath/patch-1
Replace deploy1001 with deployment host
This commit is contained in:
commit
4d427fafff
1 changed files with 3 additions and 3 deletions
|
@ -423,7 +423,7 @@ def add_create_instructions(parts, shard, language_code, db_name, task_tid):
|
||||||
add_text('\n-------')
|
add_text('\n-------')
|
||||||
add_text('**Step by step commands**:')
|
add_text('**Step by step commands**:')
|
||||||
dummy_wiki = get_dummy_wiki(shard, parts[1])
|
dummy_wiki = get_dummy_wiki(shard, parts[1])
|
||||||
add_text('On deploy1001:')
|
add_text('On deployment host:')
|
||||||
add_text('`cd /srv/mediawiki-staging/`')
|
add_text('`cd /srv/mediawiki-staging/`')
|
||||||
add_text('`git fetch`')
|
add_text('`git fetch`')
|
||||||
add_text('`git log -p HEAD..@{u}`')
|
add_text('`git log -p HEAD..@{u}`')
|
||||||
|
@ -441,7 +441,7 @@ def add_create_instructions(parts, shard, language_code, db_name, task_tid):
|
||||||
url='.'.join(parts)))
|
url='.'.join(parts)))
|
||||||
summary = 'Creating {db_name} ({phab})'.format(
|
summary = 'Creating {db_name} ({phab})'.format(
|
||||||
db_name=db_name, phab=task_tid)
|
db_name=db_name, phab=task_tid)
|
||||||
add_text('On deploy1001:')
|
add_text('On deployment host:')
|
||||||
if shard != "s3":
|
if shard != "s3":
|
||||||
add_text(sync_file('wmf-config/db-production.php', summary))
|
add_text(sync_file('wmf-config/db-production.php', summary))
|
||||||
add_text(sync_file('dblists', summary))
|
add_text(sync_file('dblists', summary))
|
||||||
|
@ -460,7 +460,7 @@ def add_create_instructions(parts, shard, language_code, db_name, task_tid):
|
||||||
dbname=db_name,
|
dbname=db_name,
|
||||||
))
|
))
|
||||||
|
|
||||||
add_text('On deploy1001:')
|
add_text('On deployment host:')
|
||||||
add_text('`scap update-interwiki-cache`')
|
add_text('`scap update-interwiki-cache`')
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue