dongshi1880 2016-08-30 10:07
浏览 69

强制Godep在SSH圈中通过SSH从github提取软件包

We have go packages in separate repos to the package being built in circle. We have setup the build with a github user key (https://circleci.com/docs/github-security-ssh-keys/) so that it can access the private repos that contain the dependencies. However, calling godep restore results in a git clone https://... call.

Is it possible to force godep restore packages using SSH type urls? Alternatively, is it possible to somehow use the user key to enable auth over HTTPS?

I have tried everything suggested here but so far no joy: https://gist.github.com/shurcooL/6927554

  • 写回答

1条回答 默认 最新

  • donkey199024 2016-08-30 10:24
    关注

    It seems like you're misusing the Godeps :-)

    According to their FAQ you should consider checking in vendor directory to the repo, you're building (that is: all the external dependencies).

    评论

报告相同问题?

悬赏问题

  • ¥15 寻一个支付宝扫码远程授权登录的软件助手app
  • ¥15 解riccati方程组
  • ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
  • ¥30 用arduino开发esp32控制ps2手柄一直报错
  • ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
  • ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
  • ¥50 树莓派安卓APK系统签名
  • ¥65 汇编语言除法溢出问题
  • ¥15 Visual Studio问题
  • ¥20 求一个html代码,有偿