third-party-ci-tools/monitoring/scoreboard
marcusvrn 5dbddc2c7e Add date filter to query-box
Replace the timeframe filter to date filter

Change-Id: Iaae7efe8e850db2c631e254f067028b9ef2ec701
2015-06-12 15:27:54 -03:00
..
infra Import ci scoreboard tool. 2015-05-11 13:40:20 -07:00
static Add date filter to query-box 2015-06-12 15:27:54 -03: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 Add date filter to query-box 2015-06-12 15:27:54 -03:00
users.py Merge "Add Hitachi CIs" 2015-06-10 16:21:59 +00: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