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

Replace deploy1002 with deployment host

This commit is contained in:
Alexander Vorwerk 2022-01-12 20:17:55 +01:00
parent 7cc444a538
commit 723dffe006

View file

@ -356,7 +356,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 deploy1002:') 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}`')
@ -374,7 +374,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 deploy1002:') add_text('On deployment host:')
if shard != "s3": if shard != "s3":
add_text(sync_file('wmf-config/db-eqiad.php', summary)) add_text(sync_file('wmf-config/db-eqiad.php', summary))
add_text(sync_file('wmf-config/db-codfw.php', summary)) add_text(sync_file('wmf-config/db-codfw.php', summary))
@ -394,7 +394,7 @@ def add_create_instructions(parts, shard, language_code, db_name, task_tid):
dbname=db_name, dbname=db_name,
)) ))
add_text('On deploy1002:') add_text('On deployment host:')
add_text('`scap update-interwiki-cache`') add_text('`scap update-interwiki-cache`')