首页 文章

授予gitlab-ci跑步者的访问权限

提问于
浏览
0

我在gitlab有2个项目 . 对于示例目的,我们称之为 foo/mainfoo/dep .

foo/main 我正在使用gitlab-ci和另一台机器上运行的docker-runner来执行自动化测试和构建 .

由于 foo/depfoo/main 的依赖项,我需要在构建main时git克隆它 .

两个存储库都是私有/具有受限访问权限 .

如何授予docker-runner访问其他repo的权限?

目前我收到的是:

npm ERR! Host key verification failed.
npm ERR! fatal: Could not read from remote repository.
npm ERR! 
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.

2 回答

相关问题