Skip to content

Publish workflow has completed with success should include a better hint how to test the plugin #22

@christoph-jerolimov

Description

@christoph-jerolimov

Currently the publish command creates a success message like this:

Publish workflow has completed with success.

  • Published container images:
    • ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-npm:pr_948__1.3.0

(from redhat-developer/rhdh-plugin-export-overlays#948 (comment))

I would be nice if it includes a dynamic plugin yaml example that includes also the used path, like;

Publish workflow has completed with success.

  • Published container images:
    • ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-npm:pr_948__1.3.0

You can test this container image in RHDH like this:

plugins: 
  - package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-npm:pr_948__1.3.0!backstage-community-plugin-npm-dynamic
    disabled: false
    pluginConfig:
      dynamicPlugins:
        frontend:
          backstage-community.plugin-npm: {}

or you could include some examples

plugins: 
  - package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-npm:pr_948__1.3.0!backstage-community-plugin-npm-dynamic
    disabled: false
    pluginConfig:
      dynamicPlugins:
        frontend:
          backstage-community.plugin-npm:
            # entityTabs:
            #   - mountPoint: entity.page.npm
            #     path: /TODO
            #     title: TODO
            #     config:
            #       if:
            #         allOf:
            #           - TODO
            # mountPoints:
            #   - mountPoint: entity.page.overview/cards
            #     importName: TODO
            #     config:
            #       layout:
            #         gridColumnEnd:
            #           xs: "span 12"
            #           md: "span 8"
            #       if:
            #         allOf:
            #           - TODO

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions