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

replace ghcr.io refs in catalog index and DPDY when equivalent quay.io or reg.acc.rh.com image exists for the same plugin tag

    • RHDH COPE 3287

      To make it easier to migrate from community builds to CI builds to GA builds, we need a rule added to the code that generates the index and DPDY files so that:

      • when looking at catalog metadata for the packages, if the reference contains ghcr.io... bs_1.yy.z__x.y.z, eg., ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-orchestrator-form-widgets:bs_1.45.3__1.6.1
      • search for a GA plugin of the same name/version in reg.acc.rh.com; if not found, fall back to quay
      • search on quay for the same tag for the current release, eg., https://quay.io/repository/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-form-widgets?tab=tags ... quay.io/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-form-widgets:1.9.0--1.6.1 (or 1.10.0--1.6.1)

      See https://gitlab.cee.redhat.com/rhidp/rhdh-plugin-catalog/-/blob/rhdh-1-rhel-9/build/scripts/generateCatalogIndex.py#L352-353

              nickboldt Nick Boldt
              nickboldt Nick Boldt
              RHDH Cope
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: