Get an overview of the state of the pipelines of a GitLab instance
You will need to create a GitLab application.
For that, go to your GitLab instance, then on Settings > Applications.
Give a name, for example Pipelines dashboard
.
The redirection URL should be set to http://localhost:3000/oidc/callback
if you want to run it locally (for developement) or to https://YOUR-PUBLIC-URL/oidc/callback
(for production).
Make sure that Confidential
is unchecked.
You will need the following scopes:
api
read_user
read_api
openid
profile
email
You will get a client ID.
Copy the .env.example
file into .env
.
cp .env.example .env
And update the values with you information:
GITLAB
: the public URL of your GitLab instance (for example: https://gitlab.com)OIDC_CLIENT_ID
: the client ID you got from the previous stepSELECTED_TAGS
: tags to be selected by default (for example:monitoring
), should be separated by commas
# install dependencies
npm install
# start locally
npm run start
And open http://localhost:3000/ .