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

[UI team] Test initial rhdh-plugin-export-overlays container images / PRs

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • UI
    • None
    • [UI team] Test initial rhdh-plugin-export-overlays container images / PRs
    • M
    • False
    • Hide

      None

      Show
      None
    • False
    • In Progress
    • QE Needed, Docs Needed, TE Needed, Customer Facing, PX Needed
    • 0% To Do, 0% In Progress, 100% Done

      EPIC Goal

      In 1.7, we want to ship all or most plugins as container images instead of 'wrappers'. For this the dynamic plugins team created a build pipeline: https://github.com/redhat-developer/rhdh-plugin-export-overlays

      All teams are requested to test and review these container images / PRs.

      Acceptance Criteria

      1. In this Epic, PRs for plugins that are written by the UI team, or that are mostly UI plugins should be reviewed, tested and in best case merged.
      2. For now, review just release-1.5 PRs.
      3. The PR review should contain a YAML example how the plugin was configured, a good starting point should be https://github.com/redhat-developer/rhdh/blob/release-1.5/dynamic-plugins.default.yaml

      Rough steps

      1. Double-check if the plugin isn't merged already into release-1.5 branch: https://github.com/redhat-developer/rhdh-plugin-export-overlays/tree/release-1.5/workspaces
      2. Search for the plugin PR https://github.com/redhat-developer/rhdh-plugin-export-overlays/pulls and add it to the GitHub PR field of your task.
      3. If there is no recent container image available, create one with /publish
      4. Test the container image with rhdh-local or rhdh on a cluster
      5. Add /lgtm and GitHub approval when everything is working fine. If you find any issue, please share it on slack, #team-rhdh or #rhdh-dynamic-plugins-wg
      6. Please capture your findings how to test the plugins in a google doc

      Here is an example configuration for a plugin that has a frontend and backend:

      plugins:
        - package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-npm-backend:pr_1029__1.3.0!backstage-community-plugin-npm-backend
          disabled: false
          pluginConfig:
            npm:
              defaultRegistry: npmjs
              registries:
                - name: npmjs
                  url: https://registry.npmjs.com
                - name: github
                  url: https://npm.pkg.github.com
                - name: gitlab
                  url: https://gitlab.com/api/v4/packages/npm
        - package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-npm:pr_1029__1.3.0!backstage-community-plugin-npm
          disabled: false
          pluginConfig:
            dynamicPlugins:
              frontend:
                backstage-community.plugin-npm:
                  entityTabs:
                    - mountPoint: entity.page.npm
                      path: /npm
                      title: npm releases
                      config:
                        if:
                          allOf:
                            - isNpmAvailable
                  mountPoints:
                    - mountPoint: entity.page.overview/cards
                      importName: EntityNpmInfoCard
                      config:
                        layout:
                          gridColumnEnd:
                            xs: "span 12"
                            md: "span 8"
                        if:
                          allOf:
                            - isNpmAvailable
                    - mountPoint: entity.page.overview/cards
                      importName: EntityNpmReleaseOverviewCard
                      config:
                        layout:
                          gridColumnEnd:
                            xs: "span 12"
                            md: "span 8"
                        if:
                          allOf:
                            - isNpmAvailable
                    - mountPoint: entity.page.npm/cards
                      importName: EntityNpmReleaseTableCard
                      config:
                        layout:
                          gridColumnEnd:
                            xs: "span 12"
                        if:
                          allOf:
                            - isNpmAvailable
      

              jakumar jaivardhan Kumar
              cjerolim Christoph Jerolimov
              RHIDP - Frontend Plugins & UI
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: