我跑的时候cap <stage> deploy --trace得到了:
> $ bundle exec cap production deploy --trace
** Invoke production (first_time)
** Execute production
** Invoke load:defaults (first_time)
** Execute load:defaults
** Invoke rbenv:validate (first_time)
** Execute rbenv:validate
** Invoke rbenv:map_bins (first_time)
** Execute rbenv:map_bins
** Invoke bundler:map_bins (first_time)
** Execute bundler:map_bins
** Invoke deploy (first_time)
** Execute deploy
** Invoke deploy:starting (first_time)
** Invoke deploy:set_shared_assets (first_time)
** Execute deploy:set_shared_assets
** Execute deploy:starting
** Invoke deploy:check (first_time)
** Execute deploy:check
** Invoke git:check (first_time)
** Invoke git:wrapper (first_time)
** Execute git:wrapper
INFO [d204de77] Running /usr/bin/env mkdir -p /tmp/control-panel/ on 10.0.1.6
INFO [d204de77] Finished in 0.274 seconds with exit status 0 (successful).
INFO Uploading /tmp/prey-control-panel/git-ssh.sh 100.0%
INFO [a9e748c9] Running /usr/bin/env chmod +x /tmp/control-panel/git-ssh.sh on 10.0.1.6
INFO [a9e748c9] Finished in 0.274 seconds with exit status 0 (successful).
** Execute git:check
Run Code Online (Sandbox Code Playgroud)
它停在那里.我认为问题与其他公钥有关.我作为DevOps工作,我经常使用5种不同的键.
有任何想法吗?我应该删除所有的钥匙还是什么?:)
谢谢.
我解决了删除和添加我的ssh密钥的问题.看起来我的ssh-agent上的键太多了......
ssh-add -D ; ssh-add ~/.ssh/id_rsa
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2263 次 |
| 最近记录: |