Gitlab Pipelines TV Dashboard
April 19, 2023 ยท View on GitHub
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:

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:

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
You need to give to the page some parameters:
private_token: your Gitlab auth tokengitlab_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 -Eyarn build- Open
file://path/to/gitlab-dashboard/index.html?private_token=<gitlabtoken>&gitlab_url=https://gitlab.domain.tldin a browser
Docker
Build image docker build -t gitlab-dashboard:latest . Run the server docker run -t -p 80:80 --rm gitlab-dashboard