我希望能夠將python軟件包安裝到openshift中,但這些軟件包位於我的私有存儲庫中,位於bitbucket上。Openshift:如何從私有存儲庫安裝python模塊?
如何爲Openshift創建SSH密鑰,以及如何讓Openshift在安裝軟件包時使用它? (加入相應的公共密鑰後到位桶的部署重點)
我已經試過:
我以前ssh-keygen
創建於~/.openshift_ssh/
的關鍵。它已經創建,但我不確定它正在被使用。
我也嘗試在<jenkins_dir>/app-root/data/.ssh/jenkins_id_rsa.pub
上添加publick鍵,但結果總是相同的。在buildjob的jenkins控制檯輸出上:
Doing git clone from ssh://[email protected]/jpimentel/zed.git to /tmp/easy_install-FpEKam/zed.git
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
有什麼可以做的嗎?
坦率地說,這不是一個可行的選擇,特別是如果你有一個相當大的回購協議增加(在我的情況,主要是靜態文件Django的,但我想它可以與各種墨盒的情況)。 FTR,我提出了一個支持案例,希望在實施適當的解決方案之前找到一些解決方法。 – giallu
@giallu您可以分享支持案例的結果(如果有的話)嗎? – jpimentel
完成,看我自己的答案。 – giallu