-
Task
-
Resolution: Done
-
Blocker
-
None
PART 1
- Copy the marketplace entities from the RHDH repository to the Overlay repository
- For plugin-level (==bundle) entities, as well as collections: copy them verbatim in a top-level folder in the overlay repository,
- For package-level entities:
- copy them in the `metadata`sub-folder of the corresponding workspace,
- Create a simple GH workflow on the overlay that regularly checks differences between the entities in the overlay and entities in the RHDH repo (until they are removed from there)
not required if we just move things over and publish a new 1.9 catalog index image that same day; see part 2
PART 2
For catalog index creation, we need a script that can take the contents of the workspaces/*/metadata/ folders and merge them into a single tree in https://gitlab.cee.redhat.com/rhidp/rhdh-plugin-catalog/-/blob/rhdh-1-rhel-9/build/containerfiles/index.Containerfile?ref_type=heads#L6 - DONE, see https://gitlab.cee.redhat.com/rhidp/rhdh-plugin-catalog/-/blob/rhdh-1-rhel-9/build/scripts/generateCatalogIndex.py
- would involve a new script to:
copy from workspaces/*/metadata/ into catalog-index/catalog-entities/...
generate new plugins/all.yaml and packages/all.yaml
- would involve a new script to:
Script can be run as part of CI process for now, called by sync-midstream.sh
do we need this readme in the catalog index image? https://github.com/redhat-developer/rhdh-plugin-export-overlays/blob/main/catalog-entities/marketplace/README.md Assuming no: https://gitlab.cee.redhat.com/rhidp/rhdh-plugin-catalog/-/tree/rhdh-1-rhel-9/catalog-index/catalog-entities/marketplace?ref_type=heads (removed)