Git Product home page Git Product logo

gerritbot's Introduction

gerritbot

Table of Contents

About

This is the bot that takes care of running make check on new code reviews and patchsets pushed to cr.joyent.us.

Configuration

The configuration file contains the following values:

  • "my_name", the host name workers should use to connect back to the supervisor server

  • "port", the port that the supervisor server should listen on

  • "spares", the number of spare worker zones to maintain

  • "max", the maximum number of worker zones that should be allowed to run

  • "dryrun", a boolean indicating whether the "make check" results should be posted to Gerrit

  • "gerrit", an object describing how to connect to Gerrit: — "host", the Gerrit instance’s hostname — "port", the SSH port that Gerrit is listening on — "user", the user to listen and post as to Gerrit — "keyFile", a path to an SSH key for the "user"

  • "docker", an object describing how to connect to Docker: — "host", a Triton Docker hostname — "network", the name of the network that the workers should be placed on — "user", the user to authenticate as — "keyFile", a path to an SSH key for the "user"

  • "repos", an object describing configurations for repository processing — "check", a map of project names to booleans indicating whether to force disable or enable "make check" for a repo

  • "workers", an object describing the configuration for the worker zones: — "image", the image UUID to provision — "pkgsrc", a list of pkgsrc packages to install (or remove if they begin with -) — "memory", the amount of memory (in megabytes) each worker zone should have — "npm", npm packages that should be installed globally

License

MPL-v2

gerritbot's People

Contributors

arekinath avatar jclulow avatar melloc avatar trentm 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.