gl-pipeline-watcher
Terminal UI for watching GitLab CI pipelines. Shows pipeline status, job states, last few log lines, and Docker build progress for running and recently failed pipelines.
Install
pip install gl-pipeline-watcher
No dependencies outside the standard library.
Usage
Run from inside a git repo:
wp [branch]
If no branch is given, the current branch is detected automatically. The GitLab URL and project path are detected from git remote get-url origin. Both SSH (git@host:group/repo) and HTTPS remotes work.
Token setup
You need a GitLab personal access token with read_api scope.
Simple: set GITLAB_TOKEN in your environment.
Per-domain: create ~/.config/gitlab-pipeline-tokens.json mapping hostnames to files containing tokens:
{
"gitlab.example.com": "/path/to/token-file"
}
GITLAB_TOKEN takes priority over the file map when both are set.
Environment variables
| Variable | Default | Description |
|---|---|---|
GITLAB_TOKEN |
Token (takes priority over token map) | |
GITLAB_URL |
auto | Base URL, e.g. https://gitlab.com |
GITLAB_PROJECT |
auto | Project path, e.g. mygroup/myrepo |
REFRESH |
10 |
Polling interval in seconds |
LOG_LINES |
5 |
Trace lines shown per running/failed job |
Keys
| Key | Action |
|---|---|
j / k, arrow keys |
Scroll |
PgUp / PgDn |
Page up/down |
Home / End |
Jump to top/bottom |
r |
Force refresh |
q, Esc |
Quit |
License
MIT
Metadata
Release files for gl-pipeline-watcher 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gl_pipeline_watcher-0.1.1.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gl_pipeline_watcher-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.1 kB
Release files / gl_pipeline_watcher-0.1.1.tar.gz
| Download URL | gl_pipeline_watcher-0.1.1.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b5b9a84951344d08be7549982e1363281af0cdb0251d453d0ebca38dc6de9fc
|
|
BLAKE2b-256 checksum How to use checksums |
b8cea2751cbce6903152c34a68f793f1b913c1033d2a7fc8bde7cb1d75d9189a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.13
|
Release files / gl_pipeline_watcher-0.1.1-py3-none-any.whl
| Download URL | gl_pipeline_watcher-0.1.1-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ccc917fcfb0850a67ebd6cd69daf1c76bbfeb23a1d33ef6f26919d80c484ee03
|
|
BLAKE2b-256 checksum How to use checksums |
76de3b91970d922df64b6899b9143495d6bdee2736d8b3a70cc71cb9f5fdb1b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.13
|