An OpenStack third-party CI monitoring tool
Go to file
Skyler Berg 0e03bec4b1 Add CI Watch, a third-party CI monitoring dashboard
Original Change-Id: I8611f25a6700c6e0c64c3fadf820dbc9adcd5ea5

Change-Id: I847016f87ebd6da559ecd6298c5ad007bc935cb8
2015-10-06 11:58:39 -05:00
ciwatch Add CI Watch, a third-party CI monitoring dashboard 2015-10-06 11:58:39 -05:00
.gitreview Added .gitreview 2015-10-05 22:17:09 +00:00
LICENSE Add CI Watch, a third-party CI monitoring dashboard 2015-10-06 11:58:39 -05:00
README.md Add CI Watch, a third-party CI monitoring dashboard 2015-10-06 11:58:39 -05:00
ci-watch.conf.sample Add CI Watch, a third-party CI monitoring dashboard 2015-10-06 11:58:39 -05:00
ciwatch.wsgi Add CI Watch, a third-party CI monitoring dashboard 2015-10-06 11:58:39 -05:00
requirements.txt Add CI Watch, a third-party CI monitoring dashboard 2015-10-06 11:58:39 -05:00
run.py Add CI Watch, a third-party CI monitoring dashboard 2015-10-06 11:58:39 -05:00
setup.py Add CI Watch, a third-party CI monitoring dashboard 2015-10-06 11:58:39 -05:00

README.md

CI Watch

Installation

From this folder, run the following commands.

pip install -r requirements.txt
pip install -e .

These instructions are for development and testing installations.

Usage

At the moment, this package provides three commands.

ci-watch-server. Launch a development server.

ci-watch-stream-events. Stream events from Gerrit and append valid events to third-party-ci.log.

ci-watch-populate-database. Add all entries from third-party-ci.log to the database.

Configuration

Configuration is stored in the ci-watch.conf file. Importantly, you can specify a directory to store the third-party-ci.log file (data_dir) as well as the database to connect to. Look at ci-watch.conf.sample for an example.

Other settings should be self explanatory based on the provided configuration file.

State of the project

This project is a work in progress and the code is pretty rough in some places.

TODO

  • Add tests.
  • Use a different cache other than SimpleCache. It is not threadsafe. We should use something like redis instead.

These items are far from the only work needed for this project.

Acknowledgements

This code was originally forked from John Griffith's sos-ci project. Some of it can still be found in the code and configuration file.