Skip to content
This repository has been archived by the owner on May 14, 2021. It is now read-only.

Pass deploy_key to bundle_install resource? #78

Open
giorgian opened this issue Oct 22, 2015 · 2 comments
Open

Pass deploy_key to bundle_install resource? #78

giorgian opened this issue Oct 22, 2015 · 2 comments

Comments

@giorgian
Copy link

Issue related to this pull request.

I'm trying to deploy a Rails application with this cookbook, but it fails because our Gemfile includes some private repos.

It would be nice to automatically share application_git's deploy_key attribute to bundle_install—I'd submit a pull request, but I have no idea how to do that.

@coderanger
Copy link
Member

Yeah, the right way is probably to add a git_ssh into the application environment on that side. I'll see if I can find time to add it, but probably won't be immediate so I would move forward with the ENV['GIT_SSH'] trick I mentioned on the other ticket.

@giorgian
Copy link
Author

Sure, I'll try. Is there a way to obtain the ssh wrapper path created by application_git, so that I can set ENV['GIT_SSH'] accordingly?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants