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
.glpfile with project ID (which makes it the best candidate for your global.gitignorefile 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
-fparam for "finished at" info for each pipeline - added internal remaphore to prevent Gitlab flood
- code structured to modeles
-cparam for setting the number of pipelines on output (instead of fixed 3)- pipeline total run time added
- initial release
- error handling + comfy error outputs
-cparam for setting the number of pipelines on output (instead of fixed 3)