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

Set up RHDH plugin registry container images build in Konflux w/ release flow

Create Doc EPIC for Fe...Prepare for Y ReleasePrepare for Z ReleaseRemove QuarterXMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • None
    • 1.3
    • Build, Dynamic plugins
    • None
    • RHDH Core Team 3261, RHDH Core Team 3262

      To be fleshed out;

      current idea is to use David's https://github.com/redhat-developer/rhdh-plugin-export-utils to generate plugins, then package them into a container image along with some generated index/metadata. See https://docs.google.com/document/d/1gO-UQGYI8zlBnFM0RRxwd6qOqo69z-5bg_e8mzBQ78A/edit#heading=h.4838ucujn3d

      Now the plan is to have 1 OCI artifact per npm package tarball. See other JIRAs under epic RHIDP-2449.

      If we want something lighterweight via GH action we can do RHIDP-2107 too; but if Konflux works for us then there's no need for the GH action too.

      WIP here:

      Plugins are here (for backstage/backstage):

      Plugins (community):

      Exporter:

      Ref docs for Konflux/Cachi2:

      TODO:

      • build stage
        • fetch prebuilt deps from npmjs.com or yarnpkg.org with cachi2 and/or hermetic build
        • repackage them (export them) as dynamic plugins for backstage
        • generate metadata [spec TBD]
      • deploy/run stage (scratch image)
        • COPY --from=build the dynamic plugins and metadata (json/yaml) that into a 1-layer FROM scratch layer (previous layers will be discarded)
        • ignore warning from Konflux about ubi base images
        • sbom will list the packages you pulled from npm and report CVEs against the upstream images

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

                Created:
                Updated: