Pipeline Visualization
glci show renders your pipeline as a terminal-friendly graph showing stages, jobs, and DAG edges.
Usage#
glci show # show pipeline graph
glci show --watch # re-render on file save
glci show --watch --debounce 500ms # custom debounce interval
glci show --context tag=v1.0.0 # see what runs in a specific context
glci show --env DEPLOY_ENV=prod # preview variable-scoped rules: without running
glci show --input force_build=true # apply pipeline inputs
glci show -p quick # visualize a named pipeline preset
glci show --json # machine-readable output for scripting
Sample output#
Pipeline: 5 jobs across 3 stages
○ pending ● running ✓ passed ✗ failed ▶ manual ⊘ skipped ⚠ allow_failure
build test deploy
───── ──── ──────
○ compile ○ unit ← compile ○ staging
○ lint ▶ production
○ e2e ← compile
glci show evaluates rules: using the active context, so the graph only shows jobs that would actually run. Without --context that is the pipeline pushing HEAD would create, usually branch=<current branch>, and glci names it on stderr. Pass --env KEY=VALUE (repeatable) or --env-file to supply the variables your rules: test against — handy for previewing variable-scoped pipeline groups without running any jobs. See Context Simulation for details.
The interactive TUI’s Browse Pipeline (bare glci) draws the same planned graph, under the default context. See glci.
DAG annotations#
Inline needs: annotations (e.g., unit <- compile) are shown by default. Use --no-dag to replace them with a grouped needs section below the graph.
Annotations show the resolved graph, so a needs: optional: true edge whose target is not in the pipeline is absent. glci merged still shows the needs: as written.
Both glci show and glci history show support --plain and --no-dag.
On a terminal the graph opens in less. When stdout is redirected or piped (glci show > show.log, glci show | grep compile) it is written straight through, uncolored, with no pager. Setting NO_COLOR also disables colors.
Flags#
| Flag | Description |
|---|---|
-w, --watch | Watch for file changes and re-render |
--debounce | Debounce interval for watch mode (default 300ms) |
--plain | Disable colors in output |
--no-dag | Move needs annotations from inline to a section below the graph |
--json | Output pipeline as JSON |
--context | CI context: branch=NAME, merge_request, tag=NAME, env=NAME, or preset name (default: the pipeline pushing HEAD would create, usually branch=<checked-out branch>) |
--mr-source | Source branch for merge_request context; implies merge_request when neither --context nor the preset sets one |
--mr-target | Target branch for merge_request context; implies merge_request when neither --context nor the preset sets one |
--input KEY=VALUE | Set pipeline input (repeatable) |
--inputs-file | Load pipeline inputs from YAML file |
-p, --pipeline | Named pipeline preset from .glciconfig.toml |
-f, --file | Path to CI config file |