[英]clone git repository in gitlab runner
我需要有关 gitlab 跑步者的帮助。 我需要克隆另一个启动运行器的 gitlab 存储库。
例如: CI runner runner-repo-a在repo -a 中执行,我需要在runner-repo- a 中克隆repo-b 。
我现在有:
GO_CHEF: git.developers.mycompany.com/chef/myrepo-chef-repo.git
[...]
Update databags:
stage: update
script:
- git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@git.developers.mycompany.com:".insteadOf "https://git.developers.mycompany.com"
- go get -u ${GO_CHEF}
这是错误:
package git.developers.mycompany.com/chef/myrepo-chef-repo.git: cannot download,
git://git.developers.mycompany.com/chef/myrepo-chef-repo uses insecure protocol
问候,
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.