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

Show Tag label and tag name if tag is detected in repository PipelineRun list and details page

XMLWordPrintable

    • Moderate
    • None
    • ODC Sprint 231, ODC Sprint 232
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • NA

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

      Description of problem:

      When we detect a refs/heads/branchname we should show the label as what we have now:
      
      - Branch: branchname
      
      And when we detect a refs/tags/tagname we should instead show the label as:
      
      - Tag: tagname
      
      

      I haven't implemented this in cli but there is an old issue for that here openshift-pipelines/pipelines-as-code#181

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

      4.11.z

      How reproducible:

       

      Steps to Reproduce:

      1. Create a repository
      2. Trigger the pipelineruns by push or pull request event on the github  

      Actual results:

      We do not show tag name even is tag is present instead of branch

      Expected results:

      We should show tag if tag is detected and branch if branch is detedcted.

      Additional info:

      https://github.com/openshift/console/pull/12247#issuecomment-1306879310

              avik6028 Avik Kundu
              openshift-crt-jira-prow OpenShift Prow Bot
              Sanket Pathak Sanket Pathak
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: