Skip to content

Instantly share code, notes, and snippets.

@aristotelesbr
Created September 8, 2017 01:38
Show Gist options
  • Save aristotelesbr/b79ff75579bd24db31167daf3fd74205 to your computer and use it in GitHub Desktop.
Save aristotelesbr/b79ff75579bd24db31167daf3fd74205 to your computer and use it in GitHub Desktop.
...
** Execute deploy
** Invoke deploy:starting (first_time)
** Execute deploy:starting
** Invoke deploy:check (first_time)
** Execute deploy:check
** Invoke git:check (first_time)
** Invoke git:wrapper (first_time)
** Execute git:wrapper
00:00 git:wrapper
01 mkdir -p /tmp/test-api/
✔ 01 [email protected] 0.409s
Uploading /tmp/test-api/git-ssh.sh 100.0%
02 chmod +rx /tmp/test-api/git-ssh.sh
✔ 02 [email protected] 0.553s
** Execute git:check
00:01 git:check
01 git ls-remote --heads [email protected]:aristotelesbr/test-api.git
01 Permission denied (publickey).
01 fatal: Could not read from remote repository.
01
01 Please make sure you have the correct access rights
01 and the repository exists.
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as [email protected]: git exit status: 128
git stdout: Nothing written
git stderr: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
/home/aristoteles/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sshkit-1.14.0/lib/sshkit/runners/parallel.rb:15:in `rescue in block (2 levels) in execute'
/home/aristoteles/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sshkit-1.14.0/lib/sshkit/runners/parallel.rb:11:in `block (2 levels) in execute'
SSHKit::Command::Failed: git exit status: 128
git stdout: Nothing written
git stderr: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
/home/aristoteles/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sshkit-1.14.0/lib/sshkit/command.rb:99:in `exit_status='
/home/aristoteles/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sshkit-1.14.0/lib/sshkit/backends/netssh.rb:167:in `execute_command'
/home/aristoteles/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sshkit-1.14.0/lib/sshkit/backends/abstract.rb:141:in `block in create_command_and_execute'
/home/aristoteles/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sshkit-1.14.0/lib/sshkit/backends/abstract.rb:141:in `tap'
/home/aristoteles/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sshkit-1.14.0/lib/sshkit/backends/abstract.rb:141:in `create_command_and_execute'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment