Uploaded image for project: 'Docs for Red Hat Developers'
  1. Docs for Red Hat Developers
  2. RHDEVDOCS-7250

on-path-change annotation is wrongly documentated as on-path-changed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Pipelines 1.19, Pipelines 1.20, Pipelines 1.21
    • None
    • ---
    • ---

      Description of problem:

      The Openshift pipelines documentation wrongly suggests to use annotation pipelinesascode.tekton.dev/on-path-changed and pipelinesascode.tekton.dev/on-path-changed-ignore , while it should be pipelinesascode.tekton.dev/on-path-change-ignore and pipelinesascode.tekton.dev/on-path-change.

       

      Steps to Reproduce

       1. Create a Pipeline run instance along with your code

       2.  Add pipelinesascode.tekton.dev/on-path-changed-ignore to ignore the path, where file change should not trigger pipeline run.

       3. Under path configured in on-path-changed-ignore make change in a file and observe if PipelineRun is not initiated. The PipelineRun is still initiated. 

       

      Actual results:

      • PipelineRun is initiated when a file present under the path pipelinesascode.tekton.dev/on-path-changed-ignore is updated.

      Expected results:

      • PipelineRun should not be initiated when a file present under the path pipelinesascode.tekton.dev/on-path-changed-ignore is updated.

       

              rhn-support-kavverma Kavya Verma
              rh-ee-shubbhar Shubham Bhardwaj
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: