Content translation/Deployments/Checklist

This is checklist to follow before cxserver is deployed in Production:

cxserver

 * 1) All automated tests are passed.
 * 2) Test configuration in Labs/Beta.

CX1

 * 1) Check all endpoints: /v1?doc
 * 2) Start translation with CX1 from master with to be deployed cxserver. Test against patches going to be in production.

CX2

 * 1) Check all endpoints: /v2?doc

Apertium

 * 1) Apertium package in Labs instance (language-apertium) OK? In case of new package, install it manually.
 * 2) Check if pair is single directional or bi-directional?
 * 3) Mapping is added in   for new language.

External MTs

 * 1) Test with provided keys (if any).
 * 2) Check in dashboard (if any).
 * 3) Logstash log some errors for external MTs.

cxserver/deploy

 * 1) Patch for cxserver/deploy is built without any error. Default build system is Debian Jessie at moment. Note down any error(s) and follow up.
 * 2) When not intended, do not update node_modules (  option)
 * 3) Patch is deployed in Beta and http://cxserver-beta.wmflabs.org/v1?doc and http://cxserver-beta.wmflabs.org/v2?doc end points are OK.
 * 4) No errors during deployment to canary. Else stop and revert the deployment.

Post deployment

 * 1) End-points are OK.
 * 2) Watch logstash: https://logstash.wikimedia.org/app/kibana?#/dashboard/cx-last-24-hours-error?_g=h@1f9dccc&_a=h@ba4bac6
 * 3) Test CX1 and CX2 again in Production.
 * 4) Watch: https://grafana.wikimedia.org/dashboard/db/service-cxserver [Broken Link T211982]|undefined