Skip to content

qoneci/dashi

Repository files navigation

dashi

Jenkins Dashboard to display test results in cards. frontend written in React, current backend written i python. tested with junit test reports.

demo image

install

$ pip install -r requirements.txt
$ npm install -g bower
$ bower install

copy the example config to config.yaml and configure it to to one or multiple Jenkins. point to a redis host, if you like to run with docker-compose set the host to redis

$ cp example.config.yml config.yml

run from shell you can access the webUI on http://<host>:3000

$ python server.py

docker build

to build the container using the pre build base container use make for a full build container with make fullbuild

$ make

docker run

start docker, stack contains redis and a haproxy

$ docker-compose up -d

development env

the pre commmit hock is running flake8 tests post commit. if it fails the commit will abort and you will get flake8 data out that you need to fix pre commit.

$ pip install -r requirements.txt
$ pre-commit install

manual test with pre-commit, this will run the hocks on all files.

$ pre-commit run --all-files