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.
Using the 3.6 S2I container,
pipneeds to pull a dependency from a private git repo as specified in myrequirements.txt, e.g: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+sshclone is failing:Is there anything I can do that would allow
pipto make use of the same SSH key source secret used to clone my app code when installingrequirements.txtdependencies?Thanks.