Uploaded image for project: 'Red Hat Workload Availability'
  1. Red Hat Workload Availability
  2. RHWA-313

Create Catalogs by PipelinRuns

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • Low

      The current method of building the File-Based Catalog (FBC) using the gen_fbc.sh script should be replaced by a new task by Konflux, such as run-opm-command task within the fbc-builder Konflux pipeline.

      This new task simplifies the process by building the catalog.json directly from the catalog-template.yaml during the pipeline run. This means the pre-generated catalogs directory is no longer needed and can be deleted. This change is recommended for better automation and maintenance.

      Completed

      • Create catalog-template.yamls per application/package/operator as follows
      opm alpha convert-template basic catalogs-rhwa-25-9/v420/catalog/self-node-remediation/catalog.yaml > catalog/4.21-0/snr-basic-catalog-template.json

      Problem

      The task only handles one package at a time. If you have multiple packages, you'll need to run the task for each one. 
      This is a big problem for using this initiative. Using a Matrix or run it multiple times won't work as we need it aggreagated eventually and automated

      Definition of Done:

      1. New catalog templates are created for all the catalogs in one Tekton PipelineRun
      2. The FBC build succeeds with the new run-opm-command task.

      References

              Unassigned Unassigned
              rh-ee-slevi Shai Shimon Levi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: