third-party-ci-tools/monitoring/scoreboard
Patrick East 934987bd8c A few fixups with how the user filtering works
You can now put something like ‘jenkins,my-ci-system,another-co-system’
into the user filter and it will only show those three.

Change-Id: Icabd81526812aa52cb7785f44e034b0aac13f981
2015-06-04 13:22:02 -07:00
..
infra Import ci scoreboard tool. 2015-05-11 13:40:20 -07:00
static A few fixups with how the user filtering works 2015-06-04 13:22:02 -07:00
templates Import ci scoreboard tool. 2015-05-11 13:40:20 -07:00
.gitignore Import ci scoreboard tool. 2015-05-11 13:40:20 -07:00
README.md Import ci scoreboard tool. 2015-05-11 13:40:20 -07:00
ci-scoreboard.conf Import ci scoreboard tool. 2015-05-11 13:40:20 -07:00
config.py Import ci scoreboard tool. 2015-05-11 13:40:20 -07:00
db_helper.py Import ci scoreboard tool. 2015-05-11 13:40:20 -07:00
env.sh Import ci scoreboard tool. 2015-05-11 13:40:20 -07:00
logger.py Import ci scoreboard tool. 2015-05-11 13:40:20 -07:00
requirements.txt Import ci scoreboard tool. 2015-05-11 13:40:20 -07:00
scoreboard_gerrit_listener.py Import ci scoreboard tool. 2015-05-11 13:40:20 -07:00
scoreboard_ui.py A few fixups with how the user filtering works 2015-06-04 13:22:02 -07:00
users.py Import ci scoreboard tool. 2015-05-11 13:40:20 -07:00

README.md

Very simple 3rd party CI dashboard tool

It is two python scripts, one is a Flask app that serves up the UI and handles REST calls. The other one monitors gerrit and records ci results in the database.

Requires:

  • mongodb
  • python-dev
  • python-pip
  • virtualenv

Setup the config files.. alter the path in config.py to match the location of ci-scoreboard.conf. And update the ci-scoreboard.conf to have the right values for your gerrit account, keyfile, and mongodb server.

To run the server first init things with:

./env.sh

Then source the virtual environment:

source ./.venv/bin/activate

And run the app with:

./scoreboard_ui.py runserver ./scoreboard_gerrit_listener.py