Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-28364

[Quickstarts] Improve CI validation for quickstarts metadata

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Unset
    • No

      Came up from: https://github.com/RedHatInsights/quickstarts/pull/133#discussion_r1328548740

      Currently, we are not validating if the name of quickstart matches the name in the metadata. We only match file names, but not the actual value of the content.

       

      We should add a validation job to CI, that matches the contents. Example of validation error:

      // metadata.yml
      kind: QuickStarts
      name: name-to-match // this name has to be used in the quickstarts content file
      tags:  
        - kind: bundle
          value: openshift-ai
      
      // name-to-match.yml
      apiVersion: console.openshift.io/v1
      kind: QuickStarts
      metadata:  
        name: name-to-match // this value has to match the name attribute in metadata.yml
        externalDocumentation: true
      ...
      

       

       

       

            rh-ee-jacobb Janet Cobb
            mmarosi123 Martin Marosi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: