Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-22375

Delete results results.tekton.dev annotations on rerun of PipelineRuns

    XMLWordPrintable

Details

    • Important
    • No
    • ODC Sprint 3247
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None

    Description

      This is a clone of issue OCPBUGS-20362. The following is the description of the original issue:

      Description of problem:

      Creating a pipelinerun with previous annotations leads to the result not being created. But records are updated with new taskruns.
      
      

      https://github.com/tektoncd/results/issues/556

       

      Version-Release number of selected component (if applicable):

       

      How reproducible:

       

      Steps to Reproduce:

      1. Install TektonResults on the cluster
      2. Create a Pipeline and start the Pipeline
      3. Rerun the PipelineRun
      3. Check the records endpoint. eg: https://tekton-results-api-service-openshift-pipelines.apps.viraj-11-10-2023.devcluster.openshift.com/apis/results.tekton.dev/v1alpha2/parents/viraj/results/-/records
      the new PipelineRun is not get saved. 

      Actual results:

      New PipelineRun get created after the rerun is not get saved in the records

      Expected results:

      All PipelineRun should be saved in the records

      Additional info:

      Document to install TektonResults on the cluster https://gist.github.com/vikram-raj/257d672a38eb2159b0368eaed8f8970a

      Attachments

        Issue Links

          Activity

            People

              viraj-1 Vikram Raj
              openshift-crt-jira-prow OpenShift Prow Bot
              Sanket Pathak Sanket Pathak
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: