You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

User:Daniel Kinzler/deploy: Difference between revisions

From Wikitech-static
Jump to navigation Jump to search
imported>Daniel Kinzler
No edit summary
 
imported>Daniel Kinzler
(https://logstash.wikimedia.org/app/kibana#/dashboard/mwdebug1002)
 
Line 18: Line 18:


scap sync-file should get a message like this: 'Backport: <nowiki>[[gerrit:GERRIT-NUMBER|COMMIT-MESSAGE]]</nowiki> (<nowiki>[[phab:TASK-NUMBER]]</nowiki>)'
scap sync-file should get a message like this: 'Backport: <nowiki>[[gerrit:GERRIT-NUMBER|COMMIT-MESSAGE]]</nowiki> (<nowiki>[[phab:TASK-NUMBER]]</nowiki>)'
Use https://deploy-commands.toolforge.org/bacc
Keep an eye on https://logstash.wikimedia.org/app/kibana#/dashboard/mwdebug1002

Latest revision as of 11:23, 29 April 2021

Official docs: How to deploy code

Ariel's notes: https://phabricator.wikimedia.org/P14231

Which Version is where? https://versions.toolforge.org/

If nobody is around in #wikimedia-operations, ask in #wikimedia-sre.

Merge the backport just ahead of the deployment window. Not too soon, to avoid confusion.

If HEAD diverged from the deployment branch, be careful to NOT deploy extra backports, but to KEEP any security patches. Usually git rebase will do the trick.

If git status shows changes to extensions (submodules), ignore them.

git log -p HEAD..@{u} is your friend

scap sync-file needs the patch prefixed with the directory name that corresponds to the release branch.

scap sync-file should get a message like this: 'Backport: [[gerrit:GERRIT-NUMBER|COMMIT-MESSAGE]] ([[phab:TASK-NUMBER]])'


Use https://deploy-commands.toolforge.org/bacc

Keep an eye on https://logstash.wikimedia.org/app/kibana#/dashboard/mwdebug1002