研究CI/CD部署页面打包文件时,复制报错: Host key verification failed.
解决方法:
1. 注册 gitlab-runner
连接自己的gitlab的服务器,按照界面的参数进行填写
[root@localhost home]# gitlab-runner register
Running in system-mode.
Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/):
> http://10.10.10.191/ # 在 Runner 设置时指定以下 URL:
Please enter the gitlab-ci token for this runner:
> LsoZksHpJuMtXgEn8pma # 在安装过程中使用以下注册令牌:
Please enter the gitlab-ci description for this runner:
> Test # Runner 的描述
Please enter the gitlab-ci tags for this runner (comma separated):
> project-test # Runner 的Tags
Registering runner...