Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-2748

rhdh-supported-plugins.sh script in the docs repo runs with errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • 1.10.0
    • 1.9.0
    • Documentation
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Important

      Description of problem:

      When running the script (./modules/dynamic-plugins/rhdh-supported-plugins.sh -b release-1.9), errors spew out e.g.

      [ERROR] ! Path not found for @backstage-community/plugin-topology 2.9.4 
      [ERROR] ! Path not found for @backstage-community/plugin-tech-radar 1.13.0 
      [ERROR] ! Path not found for @backstage-community/plugin-tech-radar-backend 1.12.0 
      [ERROR] ! Path not found for @backstage-community/plugin-catalog-backend-module-scaffolder-relation-processor 2.11.0 
      [ERROR] ! Path not found for @backstage-community/plugin-topology 2.9.4 
      [ERROR] ! Path not found for @backstage-community/plugin-scaffolder-backend-module-kubernetes 2.13.0 
      [ERROR] ! Path not found for @backstage-community/plugin-scaffolder-backend-module-regex 2.11.0 
      [ERROR] ! Path not found for @backstage-community/plugin-catalog-backend-module-scaffolder-relation-processor 2.11.0 
      

      Which is a bit strange since the Path is extracted from "spec.dynamicArtifact" which does exist:

      https://github.com/redhat-developer/rhdh-plugin-export-overlays/blob/release-1.9/workspaces/tech-radar/metadata/backstage-community-plugin-tech-radar-backend.yaml#L19
      https://github.com/redhat-developer/rhdh-plugin-export-overlays/blob/release-1.9/workspaces/topology/metadata/backstage-community-plugin-topology.yaml#L19

      There's also a fallback option in the script that will construct the path if it doesn't exist. Didn't have time to debug further but this has impact on the generated files.

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

       # <steps>

      Actual results:

      Expected results:

      Reproducibility (Always/Intermittent/Only Once):

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

              nickboldt Nick Boldt
              ktsao@redhat.com Kim Tsao
              RHDH Documentation
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: