Pixel/Runbook
Appearance
< Pixel
This is the runbook for deploying and debugging Pixel problems.
Meta
- Issue tracker (Phabricator): web_team_visual_regression_framework
- Documentation: Pixel
Update to new version of Pixel
Pixel is auto updating on the production server to the latest tag. If you make a new release, make sure to add a tag and push it to git.
// TODO Monte please share the correct way to update the changelog!
git tag -a vX.Y.Z -m "Release version X.Y.Z"
git push origin vX.Y.Z
Revert to a old version of Pixel
If the current tag version of Pixel is broken and you cannot easily fix it, you need to revert to the latest working version.
- Disable the auto update on the server.
- Login to the server
ssh production.pixel.eqiad1.wikimedia.cloud
- Switch to the pixel user
sudo su - pixel
- Disable the auto update
nano /home/pixel/pixel.sh
and comment out the linegit checkout "tags/$latest_tag"
- Go to the repository:
cd /home/pixel/pixel
- Checkout the last working tag:
git checkout "tags/vX.Y.Z"
When there's a fix, make sure to enable the auto update again.
Prio 1, 2 or 3 job is failing
You receive an alert email from Grafana with the subject "Pixel: Prio X job are failing qte". This means that the Pixel job failed running on https://pixel.wmcloud.org/.
- Checkout the failure reported in Grafana. Go to https://grafana.wikimedia.org/d/lC3anj1Iz/pixel and check which jobs are failing.
- Login to the server:
ssh production.pixel.eqiad1.wikimedia.cloud