I set up a new project using this one as a template, but it took me a bit of thought to realise the right way to do a deployment based on that.
-
Push the imported sample code up to the source repo
-
Use that source repo in the deployment command rather than deploying directly from the local system:
oc new-app python:3.5~https://github.com/ncoghlan/srpminfo.git
That way the deployed app is correctly associated with the relevant source repo.