图1.1.1.3中Use the following registration token during setup:后面被涂掉的部分就是registration-token,Register the runner with this URL部分就是url参数的值。 executor参数代表当前 runner 的运行模式,默认为shell模式,代表在 runner 所在机器上的 shell 环境(Linux 下默认为 bash)中运行。executor其他常见的可选...
gitlab-ci-multi-runner register #加上locked参数就不会锁 gitlab-runner register --locked="false" [root@minio1 piggymetrics-master]# gitlab-runner register --locked="false" WARN[0000] boolean parameters must be passed in the command line with --locked=false WARN[0000] parameters after this...
docker exec -it 容器id gitlab-runner register 意思就是我要去某个镜像内部执行gitlab-runner register 上面的容器id用下面的命令查看 docker container ps -a 注册填写信息 注册命令执行的时候会让我们填写Url与Token,这个参数在图里找: 或者打开一个项目: 设置标签 你可以理解成是设置一个别名, 方便我们之后管...
gitlab-runner unregister--urlhttp://gitlab.example.com/--tokent0k3n # 按名字 gitlab-runner unregister--namehj_project 1. 2. 3. 4. 5. 6. 7. 8. 9. 5. 安装gitlab-runner install #复制gitlab-runner到/usr/bin/目录下 cp/root/gitlab-runner-linux-amd64 /usr/bin/git...
gitlab-runnerregister\--non-interactive\--url"http://10.6.215.220/"\--registration-token"osG39v5FQQ63nvk5xucx"\--executor"shell"\--description"buildrunner"\--tag-list"build,k8s,go"\--run-untagged="true"\--locked="false"\--access-level="not_protected" ...
gitlab-runner register ## 输入url a、Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com ) ## 输入token b、Please enter the gitlab-ci token for this runner ## 写个描述 c、Please enter the gitlab-ci description for this runner ...
gitlab-runner register 1. (2)输入gitlab地址: Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com ) http://your_ip_addr 1. 2. (3)输入步骤2获取到的注册令牌: Please enter the gitlab-ci token for this runner
> gitlab/gitlab-runner:latest# 注册runnersudo dockerexec-it runnertest-deploy gitlab-runner register# 配置runnerPlease enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/): http://git.greedyint.com/ Please enter the gitlab-ci tokenforthis runner: ...
新建项目--设置--CI/CD--Runner image.png 2.2 注册 [root@bogon~]# gitlab-runner registerRuntimeplatform arch=amd64 os=linux pid=56291revision=943fc252 version=13.7.0Runninginsystem-mode.EntertheGitLabinstanceURL(forexample,https://gitlab.com/):http://10.xx.xx.xx/Enterthe registration token...