Open
Description
Using the 3.6 S2I container, pip
needs to pull a dependency from a private git repo as specified in my requirements.txt
, e.g:
git+ssh://git@github.organization.org:github-user/githib-repo.git@some_tag
The same SSH key source secret that the OpenShift build is presently using to pull the application source code also permits access to this dependency, however the git+ssh
clone is failing:
Collecting git+ssh://git@github.organization.org:github-user/githib-repo.git@some_tag (from -r requirements.txt (line 9))
Cloning ssh://git@github.organization.org:github-user/githib-repo.git@some_tag (to some_tag) to /tmp/pip-7tf7baqk-build
ssh: Could not resolve hostname github.organization.org: Name or service not known
fatal: Could not read from remote repository.
Is there anything I can do that would allow pip
to make use of the same SSH key source secret used to clone my app code when installing requirements.txt
dependencies?
Thanks.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status