[英]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.