Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-9611

kfuxRelease.sh should support pushing plugin(s) filtered by regex

    • RHDH COPE 3282

      Currently the --plugin flag will fetch all the plugins listed in plugin_builds/ folders which is great for a true push to prod, but for testing on stage we need the option to push just one or two artifacts at a time.

      elif [[ $TYPE == "plugin" ]]; then
        # search all plugin_builds/{workspace}/{plugin_name}.json files to collect sorted list of registryReferences
        while IFS= read -r -d '' file; do
          componentsUnsorted="${componentsUnsorted} $(grep registryReference "$file" | sed -r -e 's|.+registryReference": "(.+)",*|\1|')"
        done < <(find "$pluginBuildsDir" -name "*.json" -print0)
        componentsSorted=$(echo "$componentsUnsorted" | tr " " "\n" | sort -uV)
        SYNOPSIS_TOPIC="Red Hat Developer Hub ${RHDH_FULL_VERSION//-/.} Plugin Catalog plugins release."
      

              nickboldt Nick Boldt
              nickboldt Nick Boldt
              RHIDP - Cope
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: