2024-07-11
한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina
GitLab CI/CD is a set of continuous integration, continuous delivery, and continuous deployment tools for software development integrated in GitLab. This system allows development teams to automate the software delivery process, from detecting code changes, building, testing to the final deployment to the production environment.
Continuous Integration (CI)
Continuous Delivery (CD)
Continuous Deployment (CD)
GitLab CI/CD is a set of services integrated into the GitLab platform that manages the build, test, and deployment processes in the software development lifecycle. It defines various tasks (Jobs) and processes (Pipelines) by reading the .gitlab-ci.yml configuration file in the project, thereby achieving the goals of continuous integration and continuous deployment.
GitLab Runner is the actual worker or execution engine that implements these CI/CD processes. It is a separately deployed program that can be installed on different operating systems (such as Linux, macOS, Windows), and registered and bound to the GitLab instance. Once a new commit triggers the GitLab CI/CD process, GitLab will schedule the registered Runner to execute the tasks defined in .gitlab-ci.yml.
In simple terms, GitLab CI/CD is the planner and coordinator responsible for defining when and how to execute tasks, while GitLab Runner is the entity that specifically executes these tasks. Runner can be shared (serving multiple projects) or dedicated (serving only a single project), and different execution environments can be configured according to project requirements (for example, using Docker containers to isolate the build environment).
# 安装
sudo rpm -ivh gitlab-runner-16.6.0-1.x86_64.rpm
# 查看是否安装成功
gitlab-runner -h