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

Generated dynamic-plugins.default.yaml is invalid

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • None
    • 1.9.0
    • Overlay
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      Description of problem:

      https://github.com/redhat-developer/rhdh/blob/3ac1714b49caad2bee0ab41aa37a62b59f2c1f7d/dynamic-plugins.default.yaml#L1172 

       

      - package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-quay:bs_1.45.3__1.28.1!backstage-community-plugin-quay
        disabled: true
        pluginConfig:
          dynamicPlugins:
            frontend:
              backstage-community.plugin-quay:
                mountPoints:
                - mountPoint: entity.page.image-registry/cards
                  importName: QuayPage
                  config:
                    layout:
                      gridColumn: 1 / -1
                    if:
                      anyOf:
                      - isQuayAvailable
        pluginConfig:
          servicenow:
            baseUrl: ${SERVICENOW_BASE_URL}
            username: ${SERVICENOW_USERNAME}
            password: ${SERVICENOW_PASSWORD} 

      Second pluginConfig: entry originally belongs to servicenow plugin which is deleted.

       

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

      Steps to Reproduce

      Can also be reproduced on rhdh-plugin-catalog repo sequentially calling:

      • generateDynamicPluginsDefaultYaml.py - ok
      • generateCatalogIndex.py - adds OCI entries, here the problem shows up

      Actual results:

      Invalid YAML with removed servicenow plugin

      Expected results:

      valid YAML with servicenow plugin

      Reproducibility (Always/Intermittent/Only Once):

       

              nickboldt Nick Boldt
              gazarenk-1 Gennady Azarenkov
              RHDH Cope
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: