1.安装gitlabhtml
https://about.gitlab.com/installation/#ubuntulinux
2.安装runnergit
https://docs.gitlab.com/runner/install/linux-repository.htmlubuntu
3.注册runnergitlab
https://docs.gitlab.com/runner/register/index.htmlhtm
关联摸个git项目.经过token.token