Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gl_pipeline_watcher-0.1.1.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gl_pipeline_watcher-0.1.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file gl_pipeline_watcher-0.1.1.tar.gz.

File metadata

  • Download URL: gl_pipeline_watcher-0.1.1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.13

File hashes

Hashes for gl_pipeline_watcher-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7b5b9a84951344d08be7549982e1363281af0cdb0251d453d0ebca38dc6de9fc
MD5 7f918018e7ccbb7ef3be90b761304fea
BLAKE2b-256 b8cea2751cbce6903152c34a68f793f1b913c1033d2a7fc8bde7cb1d75d9189a

See more details on using hashes here.

File details

Details for the file gl_pipeline_watcher-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for gl_pipeline_watcher-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ccc917fcfb0850a67ebd6cd69daf1c76bbfeb23a1d33ef6f26919d80c484ee03
MD5 9c5dd96636771f05390632857d892af4
BLAKE2b-256 76de3b91970d922df64b6899b9143495d6bdee2736d8b3a70cc71cb9f5fdb1b7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page