Small CLI tool for fetching Gitlab pipeline states and other info.
App uses following data sources:
- environment variable
GLP_PRIVATE_TOKEN
- your Gitlab personal API token - positional argument "project ID" - Gitlab project ID
pipelines should be fetched for or a
.glp
file with project ID (which makes it the best candidate for your global.gitignore
file when you put the file into your every project)
$ GLP_PRIVATE_TOKEN=123 glp 456 # fetches pipelines for project with ID 456
- clone this repository
- run
cargo install --path=.
or download prebuild binaries for amd64
here.
- space between pipelines added
- added
-f
param for "finished at" info for each pipeline - added internal remaphore to prevent Gitlab flood
- code structured to modeles
-c
param for setting the number of pipelines on output (instead of fixed 3)- pipeline total run time added
- initial release
- error handling + comfy error outputs
-c
param for setting the number of pipelines on output (instead of fixed 3)