matbest1 / gitlab-dashboard

📺 TV dashboard for a global view on Gitlab Pipelines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

NOTE: gitlab-dashboard works only with Purescript >= 0.12.x. To run with a previous version, use this commit.

Quickstart:

  • Install yarn
  • yarn install -E
  • yarn start to serve a hot-reload server on http://localhost:1337/
  • optional: you might want to have pulp, purs, psc-package available 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

About

📺 TV dashboard for a global view on Gitlab Pipelines

License:MIT License


Languages

Language:PureScript 89.8%Language:HTML 5.7%Language:JavaScript 1.9%Language:Dockerfile 1.4%Language:Shell 1.2%