registration-token:runner注册token,项目、admin、group的token都可以 description:runner相关描述 tag-list:runner的标签,可以指定多个,流水线运行时可以通过runner标签指定runner运行,如果你忘记填写,可以在注册后修改 tls-ca-file:如果你使用了https且使用了自签证书,需要指定证书使runner信任此证书(https://docs.gitla...
registration-token:runner注册token,项目、admin、group的token都可以 description:runner相关描述 tag-list:runner的标签,可以指定多个,流水线运行时可以通过runner标签指定runner运行,如果你忘记填写,可以在注册后修改 tls-ca-file:如果你使用了https且使用了自签证书,需要指定证书使runner信任此证书(https://docs.gitla...
http://192.168.1.200## 输入Runner注册TokenEnter the registration token: m5ucdGk2_uPJ2K9BP8-d## 填写该注册Runner的描述信息Enter a descriptionforthe runner:[zeyang-nuc-service]: build runner## 为该Runner配置一个标签(后续作业可以通过tag指定在哪个runner上面运行构建)Enter tagsforthe runner(comma-sep...
2. 在部署 gitlab-runner 的服务器上执行注册指令 gitlab-runner register 配置步骤详解 #在gitlab的组或项目中的设置-cicd-runner或获取:GitLab 地址 Enter the GitLab instance URL (for example, https://gitlab.com/): >输入gitlab的服务URL #输入 GitLab Token Enter the registration token: >输入令...
gitlab-runner register 配置步骤详解 #在gitlab的组或项目中的设置-cicd-runner或获取:GitLab 地址 Enter the GitLab instance URL (for example, https://gitlab.com/): > 输入gitlab的服务URL # 输入 GitLab Token Enter the registration token: ...
Enter the registration token: xCSHukMrhb8giYxZ9tJA Enter a description for the runner: [hyperv01]: gitlabrunner Enter tags for the runner (comma-separated): build,deploy Enter optional maintenance note for the runner: docker Registering runner... succeeded runner=xCSHukMr ...
docker run -d --name gitlab-runner --restart=always -v /opt/gitlab-runner/config:/etc/gitlab-runner gitlab/gitlab-runner:v12.9.0 register \--non-interactive \--executor "shell" \--url "http://192.168.95.20:88/" \--registration-token "JRzzw2j1Ji6aBjwvkxAv" \--description "dev...
在部署GitLab Runner之前,要准备两个关键的配置信息,以便GitLab Runner启动后可以顺利连接上GitLab: 浏览器访问GitLab,打开用来做CI的代码仓库,点击Settings -> CI/CD -> Runners -> Expand: 如下图,红框1中是gitlab url,红框2中是registration token,记好这两个参数,稍后会用到: ...
按照下图红框的顺序取得gitlab url和registration token: 部署RitLab Runner 请确保当前可以通过kubectl命令在kubernetes进行常规操作; 创建名为gitlab-runner的namespace: kubectl create namespace gitlab-runner 创建一个secret,把minio的access key和secret key存进去,在后面配置cache的时候会用到: ...
可以根据需要配置任意数量的Runner。 类型 shared 共享类型,运行整个平台项目的所有作业(gitlab 点开Menu---》admin)下面可以看到在后台拿到的token基本上都是shared类型的token group 项目组类型,运行特定group下的所有项目的作业(group)这是注册一个group级别的token,那么就是这个组的runner,不能让其他组去使用 speci...