Skip to content

jenkins-x-plugins/lighthouse-webui-plugin

Repository files navigation

Lighthouse Web UI

This is a Web UI for Lighthouse, to visualize:

  • Webhook events (push, comments, ...) and the related jobs triggered by each event
  • Lighthouse Jobs
  • Lighthouse Merge Status from Keeper
  • Lighthouse Merge History from Keeper

The goal is to make it easy to see what is happening inside Lighthouse.

Screenshots

events

jobs

merge-status

merge-history

How It Works

It is a Lighthouse External Plugin, and as such, it receives all the webhook events. It stores them in a Bleve index - which can be persisted on disk in a PVC (when deployed in Kubernetes).

It also uses the "informer" Kubernetes pattern to keep a local cache of the Lighthouse Jobs, and index them in an in-memory Bleve index.

And it periodically sync the Lighthouse Keeper state, by polling the "merge pool" JSON and "merge history" JSON from the Keeper service.