Uploaded image for project: 'OpenShift CFE'
  1. OpenShift CFE
  2. CFE-32

Implement File Globbing Omission

XMLWordPrintable

    • CFE Sprint 206

       To allow the customer to omit certain files from the final must-gather, we give the option to supply a globbing pattern like that: 

         # this omits all crt files
         - type: file
           pattern: "*.crt"
      

      That should omit all files ending in ".crt". We should allow customers to also run against the whole relative path (from the must-gather root) and use globbing like this:

      pattern: "release-4.10/ingress_controllers/*/haproxy.*"
      

      Which match all different ingress controllers and all below files prefixed by haproxy.
       
      AC: 

      • well tested and working logic to supply regex and globs to filter out files

              anaik.openshift Arjun Naik (Inactive)
              tjungblu@redhat.com Thomas Jungblut
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: