Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-31093

Gitea is not recognized as a valid source for Git compatible repositories

XMLWordPrintable

    • Moderate
    • No
    • ODC Sprint 3258
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      When adding an application from Git from the Developer Console and the Git URL points to a Gitea repository (either the internal service URL or the external route URL) the repository is not recognized - even if the repository was migrated over from a Github repository.

      S2I Builder Images etc. have to be manually selected instead of automatically being determined by the contents of the repo.

      oc new-app does work as expected however so this must be a developer console issue.

      This is a quite annoying bug because we use Gitea a lot for our demo environments - e.g. to give each customer workshop attendee their own customized repository instead of having them fork a repo into their personal Github account.

      Version-Release number of selected component (if applicable): Tested on 4.15 and 4.14

      How reproducible: Always

      Steps to Reproduce:
      1. Set up a Gitea server somewhere. For example using the operator at https://github.com/rhpds/gitea-operator/
      2. Migrate a repository from Github over to Gitea (e.g. https://github.com/aws-redhat-gameday/object-detection-rest.git)
      3. Try to add an application to the Developer Console pointing the migrated repo in Gitea.

              avik6028 Avik Kundu
              wkulhanek Wolfgang Kulhanek
              Sanket Pathak Sanket Pathak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: