Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9575

Openshift (EGit) Server adapter/behavior cannot push cloned github project to openshift

XMLWordPrintable

    • Hide

      1. ASSERT: you have created an openshift domain + app
      2. ASSERT: you have cloned a github project (ex. https://github.com/openshift/seambooking-example.git) and imported the repo + the project into your
      3. ASSERT: you have a deploy only server adapter that is set to use the EGit deployment behavior
      eclipse
      4. ASSERT: you have added the openshift git repo to your github clone as remote repo

      ex. with seambooking-example:

      • "cd" to your (cloned) seambooking-example directory
      • "rhc-user-info" to find out about the git repo on openshift
      • add this repo as remote: "git remote add openshift ssh://312097d9973f43d4bafc12d7a47710e9@test-jbosstools.rhcloud.com/~/git/test.git/"

      5. EXECUTE: add your cloned github project to the server adapter

      Result:
      The adapter starts deploying (which is committing and pushing your project to the openshift repo). It erroneously pushes the project to github. You get a dialog that asks you for github credentials

      Expected result:
      The adapter pushes to openshift. Since openshift uses key based authentication, you'd get a dialog that asks you for the passphrase to the key that you share with openshift

      Show
      1. ASSERT: you have created an openshift domain + app 2. ASSERT: you have cloned a github project (ex. https://github.com/openshift/seambooking-example.git ) and imported the repo + the project into your 3. ASSERT: you have a deploy only server adapter that is set to use the EGit deployment behavior eclipse 4. ASSERT: you have added the openshift git repo to your github clone as remote repo ex. with seambooking-example: "cd" to your (cloned) seambooking-example directory "rhc-user-info" to find out about the git repo on openshift add this repo as remote: "git remote add openshift ssh://312097d9973f43d4bafc12d7a47710e9@test-jbosstools.rhcloud.com/~/git/test.git/" 5. EXECUTE: add your cloned github project to the server adapter Result: The adapter starts deploying (which is committing and pushing your project to the openshift repo). It erroneously pushes the project to github. You get a dialog that asks you for github credentials Expected result: The adapter pushes to openshift. Since openshift uses key based authentication, you'd get a dialog that asks you for the passphrase to the key that you share with openshift

          adietish@redhat.com André Dietisheim
          adietish@redhat.com André Dietisheim
          Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

            Created:
            Updated:
            Resolved: