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

[PAC] upgrade retains hub-catalog-name field post upgrade

XMLWordPrintable

    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      Included in 1.20.1: https://github.com/openshift/openshift-docs/pull/100998

      Before this fix, during the upgrade from 1.19.x to 1.20.0, the `hub-catalog-name` field was set to the deprecated Tekton Hub catalog name(tekton) in the Pipelines-as-Code ConfigMap. With this fix, it now defaults to the ArtifactHub catalog name, and users can override it with their custom value if needed.
      Show
      Included in 1.20.1: https://github.com/openshift/openshift-docs/pull/100998 Before this fix, during the upgrade from 1.19.x to 1.20.0, the `hub-catalog-name` field was set to the deprecated Tekton Hub catalog name(tekton) in the Pipelines-as-Code ConfigMap. With this fix, it now defaults to the ArtifactHub catalog name, and users can override it with their custom value if needed.
    • Bug Fix
    • Proposed
    • Pipelines Sprint CrookShank 39, Pipelines Sprint CrookShank 40

      Description of problem:

      Upgrade from 1.19.3 to 1.20.0 OSP with PAC. The Hub_catalog_name value is set to tekton by default and will remain as tekton post upgrade to 1.20. and it will not pick up the git-clone task from the correct catalog from artifacthub.io. In field hub-catalog-name is pointed to tekton post upgrade this value is changed to tekton-catalog-task in artifacthub and the old value should be removed for users using default catalogname as tekton, should be removed from configmap of PAC.

      Workaround:

      The catalog_hub_name in the configmap needs to be removed to work properly.

      Prerequisites (if any, like setup, operators/versions):

      OSP 1.20.0

      Actual results:

      There was an issue validating the commit: "error getting remote task from pipelinerun annotations: error getting remote task "git-clone": could not fetch remote task git-clone, artifacthub API returned: could not fetch task git-clone from hub, url: https://artifacthub.io/api/v1/packages/tekton-task/tekton/git-clone: Non-OK HTTP status: 404"

      Expected results:

      Pipelinerun should succeed

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Additional info (Such as Logs, Screenshots, etc):

       

       *

              shverma Shiv Verma
              rhn-support-sselvan Sri Vignesh Selvan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: