/gitlab-dashboard

📺 TV dashboard for a global view on Gitlab Pipelines

Primary LanguagePureScriptMIT LicenseMIT

Gitlab Pipelines TV Dashboard

Problem

Our internal Gitlab was missing a nice, global, TV-friendly view for CI Pipelines.
There is an open issue about it, and a very nice mockup already:

Mockup

But the feature is tagged as a "moonshot", so not sure we'll get it baked in Gitlab soon.

Solution

We made a simple dashboard that lists all CI builds, together with their status, completion time, etc:

Screenshot

We currently list all the Pipelines on all branches (polling the APIs and updating every 30s), but we'd like to implement also a simpler view that tracks the status of the master branch.
This effort is tracked here.

We very much welcome PRs, if you'd like to contribute take a look at the issue list for Issues tagged with "Good first issue"!

Demo

Github-pages hosted version

You need to give to the page some parameters:

  • private_token: your Gitlab auth token
  • gitlab_url: the URL to your Gitlab instance

Example: https://ksf-media.github.io/gitlab-dashboard/index.html?private_token=YOUR-TOKEN-HERE&gitlab_url=https://YOUR-GITLAB-URL

Developing

Quickstart:

  • Install yarn
  • Install spago
  • yarn install -E
  • yarn build
  • Open file://path/to/gitlab-dashboard/index.html?private_token=<gitlabtoken>&gitlab_url=https://gitlab.domain.tld in a browser

Docker

Build image docker build -t gitlab-dashboard:latest . Run the server docker run -t -p 80:80 --rm gitlab-dashboard