-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
None
Currently in the generated catalog-index/dynamic-plugins.default.yaml file we see:
** [2] ./dynamic-plugins.default.yaml ** 922- skipTLSVerify: true 923- serviceAccountToken: ${K8S_CLUSTER_TOKEN} 924:- package: oci://quay.io/rhdh/backstage-plugin-notifications:1.9.0--0.5.8!backstage-plugin-notifications 925- disabled: true 926- pluginConfig: -- 937- importName: NotificationsSidebarItem 938- path: /notifications 939:- package: oci://quay.io/rhdh/backstage-plugin-notifications:1.9.0--0.5.8!backstage-plugin-notifications-backend-dynamic 940- disabled: true 941:- package: oci://quay.io/rhdh/backstage-plugin-notifications:1.9.0--0.5.8!backstage-plugin-notifications-backend-module-email-dynamic 942- disabled: true 943- pluginConfig:
But if we unpack the quay.io/rhdh/backstage-plugin-notifications:1.9.0--0.5.8 plugin, we find only the `backstage-plugin-notifications` folder, not the other ones.
PLUGIN="backstage-plugin-notifications:1.9.0--0.5.8" DIR="/tmp/${PLUGIN//:/_}"; mkdir -p $DIR; container_id=$(podman create "quay.io/rhdh/${PLUGIN}") podman export $container_id -o /tmp/image.tar && tar xf /tmp/image.tar -C "${DIR}/"; podman rm $container_id; rm -f /tmp/image.tar cd $DIR; tree *plugin* -d -L 3 backstage-plugin-notifications ├── dist-scalprum │ └── static │ └── react-syntax-highlighter └── src 5 directories
This suggests either the container image is wrong, or the other two backend plugins have not yet been built.
Either way, the https://gitlab.cee.redhat.com/rhidp/rhdh-plugin-catalog/-/blob/rhdh-1-rhel-9/build/scripts/generateCatalogIndex.py script needs a fix here.
- clones
-
RHIDP-9842 [catalog index] DUPLICATE all 'dynamic-plugin/dist/' paths with their matching oci:// references, but disabled
-
- Review
-