Pipelines
Pipelines and CI
2 min read
Versora follows your repository's continuous integration without you leaving the app:
- state indicators everywhere a commit appears (commit details, branches, merge requests, stacks, Home);
- the pipelines screen, with stages, jobs, actions (retry, cancel, run a manual job) and artifacts;
- the live job log, with search and sections;
- validation of the
.gitlab-ci.ymlbefore the commit and the push, and a screen to validate and simulate the pipeline.
On GitLab, the app talks about pipelines, with stages and jobs. On GitHub, it talks about checks in the indicators and about GitHub Actions runs on the screen (the workflows; GitHub Actions has no stages, so the jobs are grouped by workflow name).
- The repository's remote has to be on a GitLab (including self-hosted) or a GitHub (github.com or GitHub Enterprise).
- The server has to be registered in Git servers, with the right type and an access token (or
the OAuth sign-in in Preferences › Accounts):
- GitLab:
apiscope; - GitHub:
reposcope (a fine-grained token may also need "Checks: read"). To retry and cancel, the classic token needsrepoorworkflow, and the fine-grained one needs "Actions: Read and write".
- GitLab:
- The commit has to be on the server: a commit that only exists on your machine has no pipeline.
Without this, the screen explains what's missing:
- "This repository has no remote: there are no pipelines to show."
- "This repository's remote isn't on GitLab or GitHub: there are no pipelines to show."
- "Couldn't tell which service gitlab.exemplo.com is. Register the server in Git servers, choosing GitLab or GitHub, with an access token."
- "To see the pipelines, register an access token for gitlab.exemplo.com with the "api" scope in Git servers." (on GitHub: "To see the workflows, …")
In these cases the Git servers button appears. See Git servers and Sign in with GitLab or GitHub.
| Task | Page |
|---|---|
| Know where the pipeline state appears and what each icon means | Pipeline and check indicators |
| See stages and jobs, retry, cancel, run a manual job, download artifacts | Pipelines screen |
| Read a job's log while it runs, search and copy | Live job log |
Check the .gitlab-ci.yml before committing, simulate the pipeline on a branch | Validating the .gitlab-ci.yml |
- Notifications: the bell lets you know when the pipeline of a push made by Versora finishes, and when a pipeline fails. Clicking opens the pipelines screen. See Notifications.
- Merge request review: the overview shows the pipeline of the latest commit, and the Merge card says whether the project requires it to pass. See Review and Merging.
- Stacks and stack merge: each row of the STACKS section has the indicator, and the stack merge waits for the pipeline. See Stacks.
When the server rate-limits your account's requests, live updates stop for a while and resume on their own. The screen shows "The server rate-limited the requests: live updates resume at 14:32:10.".
- CI validation has the Preferences › CI validation page.
- The proxy and the certificates used in the calls to GitLab and GitHub are in Preferences › Network (see Network and updates).
- The
allowed_serverskey of the company policy limits the servers accepted in the API calls (see Administrators).