c0d0d4cac8
This is a simple set of scripts that can listen to gerrit, track 3rd party ci systems reviews, and display a web dashboard showing their results. A demo system can be found here: http://ec2-54-67-102-119.us-west-1.compute.amazonaws.com:5000/?project =openstack%2Fcinder&user=&timeframe=24 It is not intended to do much more than just show success/fail, and can work nicely as a quick way to compare your systems results with others to catch any issues you might be having. Change-Id: I682c5426fe834a63d3e4f27ebde7d40ee7f9749b
739 B
739 B
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