2017-06-20 5 views
0

Ich versuche, von einem Git Repository ein Openshift bauen zu initialisieren:Openshift von git Repo bauen

$ oc new-build --name=modelingweb [email protected]:genettasoft/gs_modelling_web.git --build-secret deploymentkey 

Aber es scheint, wie meine git url als git url wird nicht erkannt :

error: no match for "[email protected]:genettasoft/gs_modelling_web.git" 

The 'oc new-build' command will match arguments to the following types: 

    1. Images tagged into image streams in the current project or the 'openshift' project 
    - if you don't specify a tag, we'll add ':latest' 
    2. Images in the Docker Hub, on remote registries, or on the local Docker engine 
    3. Git repository URLs or local paths that point to Git repositories 

--allow-missing-images can be used to force the use of an image that was not matched 

See 'oc new-build -h' for examples. 

Was fehlt mir?

Antwort

0

Können Sie dies mit OpenShift Origin v3.6.x ausprobieren? Offenbar wurden beide Probleme in der neuesten Version behoben. Sie können die neueste Version hier herunterladen: https://github.com/openshift/origin/releases