Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-2790

[rhdh-plugin-catalog] Validate catalog-index dynamic-plugins.default.yaml (DPDY) image refs are valid/pullable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 1.10.0
    • 1.9.0
    • Build, Catalog
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      Add a check in the plugin-catalog index build (the build that produces the plugin-catalog-index image and its dynamic-plugins.default.yaml / DPDY content) so that oci:// refs in the DPDY exist and are pullable. If any ref is invalid, the index build SHOULD FAIL immediately with error.

      Scope

      • Parse DPDY (and any similar config) for image/OCI refs (e.g. oci://... or image URLs).
      • For each ref, verify it is pullable (e.g. skopeo inspect or equivalent). If not found, check quay.io/rhdh/ equivalent for the reg.acc.rh.com or reg.rh.io reference)
      • Fail the build if any ref is invalid.

      Acceptance criteria

      • Index build (or designated CI job) fails when DPDY contains a ref to a non-existent or non-pullable image.
      • Error output identifies which ref(s) failed and call to action to ... respin the plugin build or inspect the bad URL

              Unassigned Unassigned
              rh-ee-fndlovu Fortune Ndlovu
              RHDH Cope
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: