CLI based pipeline watcher
- Rust 100%
| src | ||
| .gitignore | ||
| .rustfmt.toml | ||
| Cargo.lock | ||
| Cargo.toml | ||
| config.toml | ||
| LICENSE | ||
| README.md | ||
pipeponder
pipeponder is a terminal-based GitLab pipeline watcher tool written in Rust.
It allows you to monitor the status of GitLab pipelines either by repository or by pipeline ID, and continuously refreshes the status in your terminal.
Features
- Authenticate to GitLab using basic LDAP credentials.
- Watch pipelines by repository and branch/ref.
- Watch pipelines by specific pipeline ID.
- Periodically refresh and display the pipeline statuses in the terminal.
Installation
Clone the repository and build the project:
git clone https://github.com/pkoscik/pipeponder.git
cd pipeponder
cargo build --release
Configuration
Create a .env file in the root directory with your GitLab credentials and server address:
GITLAB_USERNAME=your_username
GITLAB_PASSWORD=your_password
GITLAB_ADDRESS=https://gitlab.example.com
Modify the config.toml file to define which repositories or pipeline IDs to watch and set the refresh interval:
refresh_duration = 30 # json refresh interval in seconds
[[watch]]
repo = "group/repo" # "repositories/repository1"
ref_field = "main" # branch name
source = "push" # one of: push, trigger, schedule
[[watch]]
id = 123456