-
Task
-
Resolution: Done
-
Blocker
-
1.5.0
-
None
-
5
-
False
-
-
False
-
-
-
RHDH Core Platform 3270, RHDH Core Platform 3271, RHDH Core Platform 3272, RHDH COPE 3273
a tool to fetch plugin sources from the 3+ upstream repos (b/b, bcp, roadiehq?, rhdh-plugins, janus-idp/backstage-plugins) - new sync-midstream.sh script
GL repo format should look like this:
/overlay-repo/<content of the overlay-repo> /workspaces/backstage/<whole backstage repo content> /workspaces/ocm/<root of community plugins repo + sparse checkout of workspaces/ocm> /workspaces/quay/<root of community plugins repo + sparse checkout of workspaces/quay>
Steps:
- clone https://github.com/davidfestal/rhdh-dynamic-plugin-export-overlays from a specific branch into GL repo
- then use instructions in that repo to fetch more content by repo + digest + path into /workspaces/
- then transform:
- To improve performance we can strip out the postinstall command from the workspace root package.json files so that we don't need to include workspaces/repo-tools/ and all the bcp repo root files copied over for every workspace.
Once that's done we can run the export command from https://github.com/davidfestal/rhdh-plugin-export-utils/blob/multi-plugins-repo/export-dynamic/export-dynamic.sh
See parent issue RHIDP-2449. Continued in RHIDP-2450 once we have the repo populated.
This will live in https://gitlab.cee.redhat.com/rhidp/rhdh-plugin-catalog and borrow heavily from https://gitlab.cee.redhat.com/rhidp/rhdh
get RHD version of davidfestal/rhdh-plugin-export-utils into sync-midstream.sh -
RHIDP-5972get RHD version of davidfestal/rhdh-dynamic-plugin-export-overlays into upstream_repos.yml -
RHIDP-5972
TODOs:
- include more than b/b and quay and ocm packages -
RHIDP-6073,RHIDP-6075- see https://github.com/redhat-developer/rhdh-plugin-export-overlays/tree/release-1.5/workspaces and the 100 PRs that need merging in https://github.com/redhat-developer/rhdh-plugin-export-overlays/pulls?q=is%3Apr+is%3Aopen+release-1.5+
run sync-midstream.sh to pull latest content - via crontab?
wrap export-dynamic.sh in tkn task and enable in new application/component/pipeline -
RHIDP-5415make it work including all installed dependencies like yq and yarn -
RHIDP-6243figure out how to use the same pipeline to release 1 or more changed plugins (not all of them every time) - likely working in the publish task, but need to verify
Exclude most of the community plugins when sync-midstream.sh fires that won’t be included downstream -
RHIDP-5969- include/exclude regexps
- Exclude entire workspaces
- Exclude plugins within a workspace (b/b)
create a Snapshot for the specific OCI artifacts we want to Release
script to create a snapshot done in
RHIDP-5970- test it out & publish to RHEC stage - TBD
- blocks
-
RHIDP-2450 Set up RHDH plugin container images build in Konflux w/ release flow
-
- Closed
-
- mentioned on