我们已经将包裹放在单独的回购中,以包含在圈子中构建的包裹。我们使用github用户密钥(https://circleci.com/docs/github-security-ssh-keys/)设置了构建,以便它可以访问包含依赖项的私有repos。但是,调用godep restore会导致git clone https:// ... call。
是否可以使用SSH类型网址强制godep恢复包?或者,是否可以以某种方式使用用户密钥通过HTTPS启用身份验证?
我已尝试过这里建议的所有内容,但到目前为止还没有任何快乐:https://gist.github.com/shurcooL/6927554
答案 0 :(得分:2)
好像你在滥用Godeps: - )
根据their FAQ,您应该考虑在<!DOCTYPE html>
<html>
<head>
<style type="text/css">
@-moz-document url-prefix() {
h1 {
color: red;
}
}
</style>
</head>
<body>
<h1>This should be red in FF</h1>
</body>
</html>
目录中检查您正在构建的仓库(即:所有外部依赖项)。