Wikifeeds/Deployment Process

The Wikifeeds service is deployed to the Kubernetes cluster. Here are the concrete steps for it based on the Pipeline admin guide. Refer to it also for emergencies, e.g. when you need to roll back a deploy.

Update deployment-charts repo

 * 1) Clone or update deployment-charts repo.
 * 2) Find the new Docker image version tag.
 * 3) * See the latest Gerrit patch in the wikifeeds repo. The last comment from PiplineBot has a tag, like
 * 4) * Copy the more readable tag, e.g.  and use that for the next step.
 * 5) * FYI, the Docker image should also show up in https://tools.wmflabs.org/dockerregistry/wikimedia/mediawiki-services-wikifeeds/tags/.
 * 6) Update the   files in all three folders   where   is one of (staging,eqiad,codfw).
 * 7) * Change the version to the latest version, e.g..
 * 8) Commit the change. The convention is to prefix the commit with the service name,   in this case.
 * 9) Push to Gerrit.
 * 10) Make a CR and after a successful review  merge it.

Deploy to Beta Cluster
Probably can skip that step for now since it's not in k8s yet. Therefore the  files don't exist on the Beta Cluster deployment machine yet.

Deploy to production

 * 1) Scan through recent chat in   channel on IRC to make sure there's nothing blocking the deploy.
 * 2) After merge, log in in a deployment server, there is a cron (1 minute) that will update the /srv/deployment-charts directory with the contents from git.
 * 3) All done!

In case there are multiple releases of your service in the same helmfile, you can use the  option, e.g..