third-party-ci-tools/monitoring/scoreboard
Evgeny Antyshev d291e7f1e7 Keepalives for gerrit connections
It is off by default (keepalive=0), which means connections may hang forever
when media is not reliable.
This change applies the same change as proposed for Zuul:
https://review.openstack.org/238988

Support in puppets going with dependent review

Change-Id: Ifaf6aa28ad65305592839c1bd2ca90157a32ab3c
2016-01-18 10:05:08 +00:00
..
infra Keepalives for gerrit connections 2016-01-18 10:05:08 +00:00
static Switch the Scoreboard stats into charts 2015-07-03 18:17:50 -07:00
templates Switch the Scoreboard stats into charts 2015-07-03 18:17:50 -07:00
.gitignore Import ci scoreboard tool. 2015-05-11 13:40:20 -07:00
ci-scoreboard.conf Keepalives for gerrit connections 2016-01-18 10:05:08 +00:00
config.py Keepalives for gerrit connections 2016-01-18 10:05:08 +00: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
README.md 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 Keepalives for gerrit connections 2016-01-18 10:05:08 +00:00
scoreboard_ui.py Add pagination to the Scoreboard 2015-06-22 17:17:02 -03:00

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