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

Pass deploy_key to bundle_install resource? #78

Open

Description

@giorgian

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.

Activity

  1. coderanger commented on Oct 23, 2015

    @coderanger
    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.

  2. giorgian commented on Oct 23, 2015

    @giorgian
    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions