User:Hnowlan/deploy cheatsheet
Appearance
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"