GitLab-CI
Some Common CI Scripts
· β˜• 3 min read
Because I am responsible for the team’s shared CI matters, I often need to configure CI pipelines or help others solve problems, so I put together the CI scripts I use most often for easy reference. 1. Structure of .gitlab-ci.yml Below is the structure of a GitLab CI configuration file.

Configuring the GitLab CI Runner
· β˜• 4 min read
1. Downloading and Configuring the Runner 1.1 Downloading the Runner The GitLab CI Runner is a program package written in Go; you can download it from the official site to your local machine. 1 2 yum install -y wget wget -O /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-amd64 Add execute permission 1 chmod +x /usr/local/bin/gitlab-runner 1.

GitLab CI Continuous Integration
· β˜• 3 min read
1. Basic Concepts GitLab-CI: the continuous integration system provided by GitLab. It manages the build status of a project and runs build tasks through GitLab Runner. GitLab-Runner: used to execute build tasks. The script portion of .gitlab-ci.yml is run by GitLab-Runner. .gitlab-ci.yml: a file in the root directory of a git project that records a series of stages and execution rules.