2017-06-20 3 views
0

Je suis en train d'initialiser un OpenShift construire à partir d'un dépôt git en utilisant une clé ssh comme secret:OpenShift construire à partir git

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

Mais il semble que mon URL git est pas reconnu comme une url git :

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. 

Que manque-t-il?

Répondre

0

Pouvez-vous essayer avec OpenShift Origin v3.6.x? Il semble que les deux problèmes ont été corrigés dans la dernière version. Vous pouvez télécharger la dernière version ici: https://github.com/openshift/origin/releases