git-pipeline-dashboard

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2022 License: MIT Imports: 11 Imported by: 0

README

git-pipeline-dashboard

Build Status PkgGoDev Coverage Go Report Card Docker Pulls

A small dashboard application that provides an overview for git-based CI/CD pipelines like GitLab CI. While these tools are awesome, they usually not provide a good overview over multiple pipelines in multiple repositories, at least not for free.

A few alternatives do already exist, but none of them suited my personal needs, especially considering an enterpise context, so I decided to do my own implementation. Maybe it is of use for you aswell 😉.

Configuration

Since the dashboard is designed to be served from a container, configuration is mainly done via environment variables.

PIPELINE_DASHBOARD_ENDPOINT=https://my-gitlab-host.com/api/v4
PIPELINE_DASHBOARD_GITLAB_TOKEN=XXX

PIPELINE_DASHBOARD_GROUPS=Test Group 1,Test Group 2

PIPELINE_DASHBOARD_TEST_GROUP_1_SOURCE=gitlab
PIPELINE_DASHBOARD_TEST_GROUP_1_NAMESPACES=some/group
PIPELINE_DASHBOARD_TEST_GROUP_1_USERS=SomeUsername

PIPELINE_DASHBOARD_TEST_GROUP_2_SOURCE=gitlab
PIPELINE_DASHBOARD_TEST_GROUP_2_REPOSITORIES=someRepo1,someRepo2

Settings these environment variables and starting the application, will lead to a dashboard with two collapsable groups with pipelines tiles inside of them. Selecting pipelines can be done by either scrapping a "namespace" or a user for all repositories or by manually selecting individual repositories.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL