This repository contains the automation behind https://l10n.mozilla.org, aka Elmo. It's built on top of docker compose, and is deployed on SCL3 and AWS.
Please use bugzilla to file issues/bugs.
Find more information on Elmo itself in its repo.
There's a shared data volume between some of the containers below. It's used to cache bare repository data. That can be used in containers to access that, or to
hg share repositories cheaply to local disk.
For testing only, there's an
hg container. It mocks https://hg.mozilla.org/, in a rather naive way, though. As we test the automation, this is where the data flow starts.
This container scrapes
hg for new pushes, by continuously loading the
json-pushes endpoint for each known repository. It feeds newly found pushes to
This container observes the queue that
hg-poller writes to, and syncronizes the new push data with the
elmo database. To do so, it also updates the shared clones in order to do so.
This container runs
buildbot 0.7.x. It runs the master, which is responsible for polling the
elmo database for new changes, schedule builds, and gather status and logs. The status is mirrored in the
It also runs the slave, which is doing the actual work. The build steps contain
- Ensure the Index and Mapping on
- For each repository in the build
- Ensure an hg share
- Update the share to the specified revision
- Run compare-locales
The slave stores a summary of the compare-locales result in the
elmo database, and uploads the details as a JSON blob to
These two are stock instances of ElasticSearch and RabbitMQ.