问题
I am working with an OpenShift cluster deployed on a laptop asminishift. When I make changes to my source code, I have to commit to the GitHub repository before I can trigger a build and a deploy. I am using the Source build strategy.
It seems a bit roundabout to commit to GitHub before I trigger a build and deploy on my local OpenShift cluster. One way I can think of is to have a GitLab based installation locally (at least, on LAN) to which code is committed. However, is there a way to do away with commit to GitHub/GitLab completely? Or a git repository is a minimum requirement?
回答1:
I tried GitLab CE on Ubuntu; but, for some reason the login page won't come up ever. So, I ended up using git-http-server package; not ideal, but it does the trick.
:rolleyes:
来源:https://stackoverflow.com/questions/58075389/openshift-s2i-without-source-repository