-
Task
-
Resolution: Unresolved
-
Undefined
-
None
-
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.
- blocks
-
RHIDP-9842 [catalog index] DUPLICATE all 'dynamic-plugin/dist/' paths with their matching oci:// references, but disabled
-
- Review
-