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

User:Daniel Kinzler/deploy

From Wikitech-static
< User:Daniel Kinzler
Revision as of 09:37, 9 February 2021 by imported>Daniel Kinzler
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Official docs: How to deploy code

Ariel's notes:

Which Version is where?

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]])'