1.安装gitlab
https://about.gitlab.com/installation/#ubuntu
2.安装runner
https://docs.gitlab.com/runner/install/linux-repository.html
3.注册runner
https://docs.gitlab.com/runner/register/index.html
关联摸个git项目.通过token.