[root@k3s-node4 ~]# gitlab-runner register Running in system-mode. Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/)gitlab url: http://192.168.56.104:30088/ Please enter the gitlab-ci token for this runner - gitlab token: sm1Zsg-hnz5vyYwBczC9 Please enter the gitlab-ci description for this runner - 随意: [k3s-node4]: build-runner Please enter the gitlab-ci tags for this runner (comma separated)这里是需要注意的,需要和gitlab-ci.yaml配置文件一一对应才会执行: build-runner Whether to run untagged builds [true/false] - 如果没有对应到tag(也就是上面这个tag),会不会执行: [false]: true Whether to lock Runner to current project [true/false] - 是否会锁定z当前的runner的: [false]: false Registering runner... succeeded runner=sm1Zsg-h Please enter the executor: docker+machine, docker-ssh+machine, docker-ssh, ssh, virtualbox, kubernetes, docker, parallels, shell: shell Runner registered successfully. Feel free to start it, but if it's running already the config should be automatically reloaded! [root@k3s-node4 ~]# gitlab-runner register Running in system-mode. Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/): http://192.168.56.104:30088/ Please enter the gitlab-ci token for this runner: sm1Zsg-hnz5vyYwBczC9 Please enter the gitlab-ci description for this runner: [k3s-node4]: back-release Please enter the gitlab-ci tags for this runner (comma separated): back-release Whether to run untagged builds [true/false]: [false]: true Whether to lock Runner to current project [true/false]: [false]: false Registering runner... succeeded runner=sm1Zsg-h Please enter the executor: docker+machine, docker, parallels, shell, ssh, docker-ssh, virtualbox, docker-ssh+machine, kubernetes: shell Runner registered successfully. Feel free to start it, but if it's running already the config should be automatically reloaded! [root@k3s-node4 ~]# gitlab-runner register Running in system-mode. Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/): http://192.168.56.104:30088/ Please enter the gitlab-ci token for this runner: sm1Zsg-hnz5vyYwBczC9 Please enter the gitlab-ci description for this runner: [k3s-node4]: back-master Please enter the gitlab-ci tags for this runner (comma separated): back-master Whether to run untagged builds [true/false]: [false]: true Whether to lock Runner to current project [true/false]: [false]: false Registering runner... succeeded runner=sm1Zsg-h Please enter the executor: docker, docker+machine, docker-ssh+machine, kubernetes, docker-ssh, parallels, shell, ssh, virtualbox: shell Runner registered successfully. Feel free to start it, but if it's running already the config should be automatically reloaded!