Git Product home page Git Product logo

elmo-automation's Introduction

Elmo Automation

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.

Volumes

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.

Containers

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.

hg-poller

This container scrapes hg for new pushes, by continuously loading the json-pushes endpoint for each known repository. It feeds newly found pushes to rabbitmq.

a10n-hg-worker

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.

bb

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 elmo database.

It also runs the slave, which is doing the actual work. The build steps contain

  • Ensure the Index and Mapping on es
  • 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 es.

es and rabbitmq

These two are stock instances of ElasticSearch and RabbitMQ.

elmo-automation's People

Contributors

arky avatar milescrabill avatar mozilla-github-standards avatar pike avatar rhelmer avatar sciurus avatar stasm avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.