Giter VIP home page Giter VIP logo

buildbot-dashboard's Introduction

buildbot-dashboard Join the chat at https://gitter.im/ghophp/buildbot-dashboard Build Status Coverage Status

If you have a CI/CD setup, it is really important to keep a central display and follow the builds and process going on the CI tool. This project aims to be the dashboard that will allow you to do present better results at a central display with buildbot.

Features

  • Non-reload monitoring
  • Enhanced UI with better visualization of the builders
  • Easy usage with single command
  • Filter options allow you to just show what matters
  • Save arrangement of the dashboard
  • Zoom compliant layout

Preview

Apache Board

As we use gridster and a structured style, if your buildbot has a lot of builders, you can take advantage of the browser zoom to reduce the size of the blocks and so, use more space to move your grid.

Apache Board Small

Running with Docker

$ docker run \
    -e "STATIC_PATH=/go/src/github.com/ghophp/buildbot-dashboard/static/" \
    -e "BUILDBOT_URL=https://ci.apache.org" \
    -e "PORT=8000" \
    -e "MARTINI_ENV=development" \
    -p 127.0.0.1:8000:8000/tcp ghophp/buildbot-dashboard

Or if you have clone/downloaded the repository you can run locally with:

$ make run.docker

This will build the image with the name ghophp/buildbot-dashboard and run it with the .env.example file if no .env file is present at the directory. To use other environment variables, please create a .env file next to the .env.example file.

Running from Binary

First you have to build the project for you current architecture:

$ make build.local
$ make build.linux.armv8
$ make build.linux.armv7
$ make build.linux
$ make build.osx
$ make build.windows

This will yield a binary into the bin folder, which can be executed, buildbot is the only required flag, you must provide the base url of the running builbot.

$ ./buildbot_dashboard -h
-buildbot string
	buildbot url eg. http://10.0.0.1/
-filter string
	regex applied over the builder name
-invalidate int
	cache invalidate in seconds (default and min 5 minutes) (default 10)
-refresh int
	refresh rate in seconds (default and min 20 seconds) (default 20)

How to use with runit.

Running with go run

$ BUILDBOT_URL="https://ci.apache.org" PORT=8000 MARTINI_ENV=development make run.local

Martini

As this project is build over martini please consider setting this env variables when deploy:

export PORT=3000
export MARTINI_ENV=production

Clean Cache

By default the project will cache the builders to avoid the delay of reloading it every time. If you insert a new builder or remove one, you can force the reload of the cache in the UI, there is a button on left side. This button will force the builders to be reloaded and the localStorage will also be cleaned.


Thanks to nbari and paw for helping and supporting open source.

buildbot-dashboard's People

Contributors

ghophp avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.