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

remove `dynamicArtifact:` and `package:` wrapper paths from metadata files and DPDY

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • 1.9.0
    • None
    • Build, Catalog, Marketplace
    • None

      Currently, dynamicArtifact fields are being replaced in https://gitlab.cee.redhat.com/rhidp/rhdh-plugin-catalog/-/blob/rhdh-1-rhel-9/catalog-index/catalog-entities/marketplace/packages/backstage-community-plugin-quay.yaml?ref_type=heads#L20

      But I could change that so that instead of seeing the obsolete wrapper path ref and replacing it, the field is blank (dynamicArtifact:'') until I fill it during the index creation.

      Similarly we refer to wrappers paths in the dynamic-plugins.default.yaml file:

      - package: ./dynamic-plugins/dist/pagerduty-backstage-plugin
      

      Currently we do a string transformation to turn ./dynamic-plugins/dist/backstage-community-plugin-quay into oci://quay.io/rhdh/backstage-community-plugin-quay:1.9.0--1.24.0!backstage-community-plugin-quay

      But Tomas' suggestion in this thread is that it would be cleaner to change the catalog index generation script to add this field with the generated value, which would avoid seeing ./dynamic-plugins/dist/ in any of the package yamls; this would also mean the field is simply REMOVED from the metadata files and only inserted when meaningful (in the catalog index).

      This is a related issue to RHIDP-9842, and may in fact block it.

              Unassigned Unassigned
              nickboldt Nick Boldt
              RHIDP - Cope
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated: