gitlab-dashboard
gitlab-dashboard copied to clipboard
📺 TV dashboard for a global view on Gitlab Pipelines
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:

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
NOTE: gitlab-dashboard works only with Purescript >= 0.12.x. To run with a previous version, use this commit.
Quickstart:
- Install yarn
yarn install -Eyarn startto serve a hot-reload server on http://localhost:1337/- optional: you might want to have
pulp, purs, psc-packageavailable globally:yarn global add purescript pulp psc-package
Docker
Build image docker build -t gitlab-dashboard:latest . Run the server docker run -t -p 80:80 --rm gitlab-dashboard