Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-9056

Update EC Policy to Exclude Nameless Pinned Task References (<NAMELESS>)

    • Icon: Task Task
    • Resolution: Done
    • Icon: Blocker Blocker
    • 1.6.5
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • RHDH COPE 3280

      Summary

       

      Update the Enterprise Contract Policies (ECPs) for both the production and staging environments to add an exclusion for the Conforma rule tasks.pinned_task_refs when it flags a task as <NAMELESS>. This is a temporary fix to unblock the build/release pipeline.

      Description

       

      A recent Conforma error indicates that the Enterprise Contract Policy (ECP) is failing due to a task being resolved without a stable name, which the checker reports as the literal string <NAMELESS>. This violates the tasks.pinned_task_refs rule.

      We already have an exception for tasks.pinned_task_refs:publish-helm. We must now add a similar exception for the nameless task resolver case to bypass this check temporarily.

      The longer-term solution will involve pinning the TaskRef in the affected pipeline using a commit SHA or a Tekton bundle digest so Conforma can correctly detect the pinned reference and the exception can be removed.

              rh-ee-mpolasko Martin Polasko
              rh-ee-mpolasko Martin Polasko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: