Desktop app / Pipelines
Pipelines
See every pipeline of the repository as an activity graph of stages, jobs and dependencies or as its YAML, and color the graph with the status of any run.
The Pipelines page shows what your CI/CD pipelines do and how their runs went: GitHub Actions workflows, GitLab CI/CD and Azure Pipelines. Each pipeline can be read as a graph or as text, and any run can be laid over the graph. Open it from Pipelines in the navigation.
The page needs the hosting service of the repository to be connected; until then it offers Connect. See Local only vs connected.
Supported pipelines
| Service | What mergecat reads |
|---|---|
| GitHub | GitHub Actions workflows (.github/workflows/*.yml) and their runs. |
| GitLab | GitLab CI/CD (.gitlab-ci.yml), with the merged YAML from the CI lint API (includes resolved), and the pipelines that ran. |
| Azure DevOps | Azure Pipelines YAML, expanded through the pipeline preview API (templates resolved), and the runs. |
Classic Azure DevOps release pipelines are not covered: only YAML pipelines.
Layout
The left column lists the Pipelines of the repository, each with the status of its last run, and below them the Runs of the selected pipeline. The right side shows the selected pipeline: its name, the path of its YAML file, the Activity | Text switch and a button that opens the pipeline on the hosting service.
Activity
Activity draws what the pipeline does:
- the trigger, the stages and the jobs as boxes, with arrows for
needsanddependsOn; - columns that follow the dependencies: a box starts when the boxes pointing to it are done, and boxes in the same column can run in parallel;
- deployment jobs with the environment they deploy to;
- conditions (“Runs only if: …”) and matrix jobs (“Runs N times in parallel”);
- the steps of each job: open one job, or use Show all steps and Hide steps.
When the graph is wider than the page, the zoom button switches between fitting the width and 100%. Things mergecat cannot resolve, such as templates stored in another repository, are listed as warnings above the graph.
Activity: stages, jobs and their dependencies, from the YAML.
Runs
Without a selected run, the graph shows the structure from the YAML. Select a run in the Runs list to color every stage, job and step by its status, with durations. The bar above the graph shows the run’s status, duration, branch and start time, and Logs opens it on the hosting service. Structure only returns to the plain structure.
The statuses are those reported by the hosting service: Succeeded, Failed, Partially succeeded, Running, Queued, Canceled, Skipped and Unknown.
A failed run: the graph shows which job failed and how long each one took.
Text
Text shows the YAML of the pipeline with line numbers, the file path and the number of lines. Keys and comments are tinted. The templates expanded badge appears when the hosting service returned the YAML with all templates inserted, as it runs.
If the YAML is not available, for example because the pipeline is defined in the web editor or in another repository, the page says so.
Text: the YAML as the service runs it.
Permissions
The scopes listed for each service cover this page: GitHub repo and workflow (fine-grained: Actions read among others), GitLab read_api or api, Azure DevOps Build (Read). If the service denies access, the page shows its reason, with the missing permission where mergecat can tell. See GitHub, GitLab and Azure DevOps.