[Engineering] Change to SWAT deploy (aka "let's not break things")

Greg Grossmeier greg at wikimedia.org
Tue Jul 12 23:35:18 UTC 2016


For a while we've had the ability to test changes in production on a
single host (mw1017) using a special HTTP header (X-Wikimedia-Debug).
This has proved useful for many when deploying changes in production and
we are adding it to the SWAT deploy process.

See the steps at:

4. After merge, the SWAT team member fetches the patch(es) to tin and then
   runs scap pull on mw1017
5. The submitter tests the change by using the instructions at
   X-Wikimedia-Debug#Staging_changes AND the SWAT team member checks the
   error logs
6. If there are no errors and the fix seems to work (if testable in that
   manner), then then SWAT team member deploys the patch to the entire

How to test on mw1017:

To less exciting SWAT deploys,


| Greg Grossmeier            GPG: B2FA 27B1 F7EB D327 6B8E |
| identi.ca: @greg                A18D 1138 8E47 FAC8 1C7D |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.wikimedia.org/pipermail/engineering/attachments/20160712/615ec0d8/attachment.sig>

More information about the Engineering mailing list