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
16 lines
291 B
Bash
Executable File
16 lines
291 B
Bash
Executable File
#!/bin/bash
|
|
|
|
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
|
VENV=${DIR}/.venv
|
|
|
|
INSTALL_REQS=False
|
|
if [ ! -d ${VENV} ]; then
|
|
virtualenv ${VENV}
|
|
INSTALL_REQS=True
|
|
fi
|
|
|
|
source ${VENV}/bin/activate
|
|
|
|
if [ ${INSTALL_REQS} == True ]; then
|
|
pip install -r ${DIR}/requirements.txt
|
|
fi |