我有一个git存储库,用SSH密钥对用户进行身份验证,我想将该repo用作GoCD资料.GoCD给了我这个错误:
Error performing command: --- Command ---
git ls-remote ssh://git@server/repo.git refs/heads/master
--- Environment ---
{GIT_ALLOW_PROTOCOL=http:https:ssh:git:file:rsync}
--- INPUT ----
--OUTPUT ---
--- ERROR ---
STDERR: Host key verification failed.
STDERR: fatal: Could not read from remote repository.
STDERR:
STDERR: Please make sure you have the correct access rights
STDERR: and the repository exists.
---
Run Code Online (Sandbox Code Playgroud)
有什么方法可以将SSH密钥添加到GoCD吗?
我正在进行有关持续集成工具的研究,并从中受益。对于我的研究,我正在研究以下工具:
现在,我不会为您带来所有要求和好处。但是到目前为止,除以下这些以外,我在这些工具之间没有发现太多差异:
我想知道是否有些必须选择持续集成工具的人也可以分享那里的经验,为什么他们选择该工具,以及在选择我没有介绍的内容之前是否存在一些值得考虑的差异。
现在,由于有扇入扇出支持和连续交付管道的可视化,我倾向于GoCD的人对这个工具的支持有经验吗?
谢谢,
continuous-integration continuous-deployment continuous-delivery go-cd gitlab-ci
我正在尝试使用 docker-dind 运行 Go CD 代理来自动构建我的一些 docker 映像。
我无法让用户go访问 docker 守护进程。
当我尝试访问 docker info 时,我得到以下信息:
[go] Task: /bin/sh ./builder.shtook: 2.820s
[START]
[USER] go
[TAG] manual
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.32/containers/fish/angular-cli/json: dial unix /var/run/docker.sock: connect: permission denied
Sending build context to Docker daemon 3.072kB
Step 1/8 : FROM node:8-alpine
---> 4db2697ce114
Step 2/8 : MAINTAINER jack@fish.com
---> Using cache
---> 22f46bf6b4c1
Step 3/8 : VOLUME /usr/local/share/.cache/yarn/v1
---> Using …Run Code Online (Sandbox Code Playgroud) 我禁用/删除了GOCD go-agent. 看来我无法再尝试注册它go-agent,因为它没有出现在服务启动时的代理列表中。
该代理被删除后是否已被列入黑名单?只是尝试禁用/删除另一个工作正常的 go-agent,它也不再出现在服务启动时的列表中。
我检查了cruise-config.xml,没有提到删除的代理。UI 也不显示已删除的代理。