【发布时间】:2016-10-06 16:42:00
【问题描述】:
我在 gitlab 中有 2 个项目。出于示例目的,我们将它们称为 foo/main 和 foo/dep。
在foo/main 中,我正在使用 gitlab-ci 和在另一台机器上运行的 docker-runner 来执行自动化测试和构建。
由于 foo/dep 是 foo/main 的依赖项,我需要在构建 main 时 git clone 它。
两个存储库都是私有的/访问受限。
如何将 docker-runner 的访问权限授予其他存储库?
目前我收到一个:
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.
【问题讨论】:
标签: gitlab gitlab-ci gitlab-ci-runner