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.0.tar.gz (6.0 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.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gl_pipeline_watcher-0.1.0.tar.gz
  • Upload date:
  • Size: 6.0 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.0.tar.gz
Algorithm Hash digest
SHA256 5eaf712f14413609690fbde7f41962c05f839df96eaa521a1b5aa5d2edfa5898
MD5 a64f4898a233c996b6de21abfc2d170e
BLAKE2b-256 8d3fae3048255a4c259229451b554ed71da0a6b764787a7783804a49a7111f13

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gl_pipeline_watcher-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c968d9c591621de10b89be3954f3bc340f38cff9f5bfe864c982ab87cde10efd
MD5 ea7ffd6343466576e00689957e1f5c71
BLAKE2b-256 15a56fe573b77529a380d04497020f20d1535a6ae78e63eaa90f05152f6822eb

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