Hi

I am working on automating deployment across a bunch of our repositories 
and have run into a roadblock with forward_agent in a bastion server setup. 
Our infrastructure is setup as follows

We have a CI server which can connect to the internets.
After a build finishes successfully the deploy step is kicked off.
This attempts to ssh through the bastion server to the server(s) it is 
deploying to but fails. The pastie (http://pastie.org/10481797) shows the 
error.

We found this article 
: 
http://www.randomerrata.com/articles/2015/deploying-via-a-bastion-host-with-capistrano-3/
 
: and have put that IF block in our deploy.rb
My staging.rb has http://pastie.org/10482088

Versions:

   - Ruby : 2.2.3
   - Capistrano: 3.4.0

Platform:

   - Working on a NodeJS App
   - Deploying to EC2 infrastructure
   
Logs:

   - http://pastie.org/10481797
   
----
Thanks
Chaitanya

-- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to capistrano+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/capistrano/dd807bab-7d48-4423-8f3c-a140eb4d1605%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to