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

Make error detection an array and local setting by repository CR

XMLWordPrintable

    • Pipelines Sprint CrookShank 42, Pipelines Sprint CrookShank 43

      Story (Required)

      As a developer trying to configure error detection for pipelines, I want
      _error detection to be an array of regex patterns and configurable via
      repository CR_, so that _I can define multiple error patterns and manage them
      per repository_.

      Background (Required)

      Currently, error detection in Pipelines as Code is limited to a single global
      regex pattern. This restricts flexibility, as users may need to detect multiple
      types of errors. Additionally, the configuration is not tied to the repository
      CR, making it less modular and harder to manage on a per-repository basis.

      Approach (Required)

      • Update the error detection configuration to support an array of regex patterns.
      • Allow the error detection configuration to be defined in the repository CR.
      • Ensure backward compatibility with the existing single regex pattern setup.

      Dependencies

      • None identified at this time.

      Acceptance Criteria (Mandatory)

      • Error detection supports an array of regex patterns.
      • Error detection configuration can be defined in the repository CR.
      • Existing single regex pattern configurations continue to work without modification.
      • Documentation is updated to reflect the new configuration options.

      INVEST Checklist

      • Dependencies identified: None
      • Blockers noted: None
      • Design is implementable: Yes
      • Acceptance criteria agreed upon: Pending
      • Story estimated: Pending

      Done Checklist

      • Code is completed, reviewed, documented, and checked in.
      • Unit and integration test automation delivered and running cleanly.
      • Continuous Delivery pipeline(s) can proceed with new code.
      • Customer-facing documentation is updated and published.
      • Acceptance criteria are met.

              rh-ee-akpant Akshay Pant
              cboudjna@redhat.com Chmouel Boudjnah
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: