GitLab Runner
GitLab Runner[1] released in January 2015[2] and written in Go offers continuous integration in GitLab, it is used to run your CI/CD jobs and send the results back to GitLab.
Configuration allows to define
- How many jobs you can run in parallel
concurrent
option - Integration with sentry
- Integration with Prometheus
- Runners cache: [runners.cache] https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-runnerscache-section
Configuration
/etc/gitlab-runner/config.toml
. Read https://docs.gitlab.com/runner/configuration/advanced-configuration.html
Known problems: shell executor doesn't clean up build directories [3]
Commands
Full command list: https://docs.gitlab.com/runner/commands/
gitlab-runner --help
gitlab-runner verify
gitlab-runner status
gitlab-runner list
(Provides executor information Executor=docker|Executor=shell)gitlab-runner exec docker validate
gitlab-runner exec docker --docker-privileged $JOB
New
Activities
- Install Gitlab runner
- Read GitLab Runner Changelog, approximately monthly releases: https://gitlab.com/gitlab-org/gitlab-runner/blob/master/CHANGELOG.md
- Read GitLab CI/CD Pipeline Configuration Reference:
.gitlab-ci.yml
https://docs.gitlab.com/ee/ci/yaml/ - Read GitLab release notes
- Learn differences between TeamCity Agents and Gitlab runners
Related terms
See also
- Gitlab Runner:
gitlab-runner
[status | verify | list
]gitlab-runner --help
,GIT_STRATEGY
- Gitlab runner, runners:
gitlab-runner
,gitlab-ci.yml
,config.toml
, GitLab Runner Changelog - GitLab: Install GitLab, Upgrade GitLab Gitlab runner (changelog),
gitlab.rb, .gitlab/, gitlab-ci.yml
,gitlab-ctl, gitlab-rake, gitlab-backup, gitlab-rails
, GitLab editions, GitLab Security Dashboards, GitLab environments, GitLab environment variables, Auto DevOps, permissions, GitLab Pages,gitlab-rails
, GitLab scheduled pipelines, GitLab logs, GitLab changelog , GitLab Release CLI, GitLab Omnibus, GitLab Advanced Search, GitLab container registry, GitLab infrastructure registry
Advertising: