Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-7067

github/gitlab/bitbucket do not support clone repository by HTTP in build feature

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • quay-v3.11.0, quay-v3.9.6, quay-v3.10.5
    • quay-builder, quay-ui
    • None
    • False
    • None
    • False
    • 0

      Description of problem:

      When create a custom git repository push build trigger, There is a message in create trigger wizard, "Custom git triggers support any externally accessible git repository, via either the normal git protocol or HTTP."

      The message in old UI

       

      The message in new UI

       

      But for the popular git repositories, such as github, gitlab, Bitbucket,  they only support SSH and HTTPS access method. 

      github

       

      gitlib

       

      bitbucket

       

      When I tried to configure build trigger by HTTPS style URL,  I can not find the username and password input boxes in creating build trigger wizard.  If I just follow the wizard to finish the configuration, when the build pod start,  I will get error in build pod log.

      time="2024-04-23T09:35:31Z" level=fatal msg="failed to build buildpack: Error cloning git repository (exit status 128)\nCloning into '/tmp/build_pack2728938595'...\nfatal: could not read Username for 'https://github.com': No such device or address\n"
      

       

      https style URL build trigger

      github webhook ssl disabled

      For custom git repository push trigger,  only the SSH style URL works well.  If we only support SSH style URL,  we need to update the message in both the old UI and new UI. If we plan to support HTTPS style URL at the same,  we need to add interfaces in UI to let customer input user name and password. 

       

            Unassigned Unassigned
            rhwhu Weihua Hu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: