Jump to content

User:HNowlan (WMF)/deploy cheatsheet

From Wikitech
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Deploying a single file to mediawiki

  • +2 change in Gerrit - Jenkins will merge it
  • ssh to deploy1001
  • cd /srv/mediawiki-staging
  • git remote update
  • git diff origin/master
  • If everything looks okay, then we can pull
  • git pull --ff-only

Check that the changes are good:

  • ssh to an mwdebug host
  • scap pull
  • Use the WikimediaDebug browser plugin to select that host
  • Test your changes

If everything is good then we can deploy more widely

  • scap sync-file MY_CHANGED_FILE "BUGDIG: A good explanation"