Publishing private code to OpenShift

送分小仙女□ 提交于 2019-12-12 02:49:59

问题


I don't have any technical problems publishing a python wsgi app using OpenShift. My concern is that they generate a Git repo for you to use, and you have to push to that repo in order to publish your code. Private Git repos cost money, so I assume the repo they generate is public. Making this code public is not an option as it could someday be proprietary. I really like OpenShift and want to use it for this project. Does anyone know of a way to publish using OpenShift but still keep the code private?

Note: I'm NOT looking for a way to keep a private Git repo synced with OpenShift's Git repo. I am looking for a way to prevent other people from looking at OpenShift's Git repo and seeing my source code.


回答1:


You don't need to do anything. According to the OpenShift documentation:

Every OpenShift application you create has its own Git repository that only you can access.




回答2:


The git repository for your application is private, protected by SELinux and SSH public/private key authentication. It is not shared with anyone unless you choose to share it with them.



来源:https://stackoverflow.com/questions/24318038/publishing-private-code-to-openshift

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!