1
0
Fork 0
mirror of https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot synced 2024-12-22 10:30:53 +01:00

Merge pull request #37 from ZabeMath/patch-1

Replace deploy1001 with deployment host
This commit is contained in:
Martin Urbanec 2022-01-12 20:24:23 +01:00 committed by GitHub
commit 4d427fafff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -423,7 +423,7 @@ def add_create_instructions(parts, shard, language_code, db_name, task_tid):
add_text('\n-------')
add_text('**Step by step commands**:')
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('`git fetch`')
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)))
summary = 'Creating {db_name} ({phab})'.format(
db_name=db_name, phab=task_tid)
add_text('On deploy1001:')
add_text('On deployment host:')
if shard != "s3":
add_text(sync_file('wmf-config/db-production.php', 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,
))
add_text('On deploy1001:')
add_text('On deployment host:')
add_text('`scap update-interwiki-cache`')