Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-6703

gitlab hooks are failing to be recognized with a large number of files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • None
    • False
    • None
    • False

      Description of problem:
      OpenStack is now hitting this in Konflux (KFLUXBUGS-1796) where components in a mono-repo are failing to get a pipeline run on MR.

      How reproducible:
      Happens everytime for components that are not picked up

      Steps to Reproduce:
      1. Have 20 or more tekton hooks in .tekton folder
      2. Create a MR for one of the components later in the list
      3. Watch for pipeline results for the MR

      Actual results:
      MR has no pipeline results

      Expected results:
      MR has pipeline results

      Likely related to pipeline-as-code not wrapping paganation around ListTree function from vendor/github.com/xanzy/go-gitlab/repositories.go

      likely need to wrap paganation around GetTektonDir function in pkg/provider/gitlab/gitlab.go

      rbean@redhat.com was looking at results from pipeline as code controller logs and noted that MR in question was not getting picked up by the webhook?

       

              Unassigned Unassigned
              jschluet@redhat.com Jon Schlueter
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: