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

Replacing generate-fbc.sh with New Pipeline Task

XMLWordPrintable

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

      The current method of building the File-Based Catalog (FBC) using the generate-fbc.sh script should be replaced. We will now use the 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.

      Key Points:

      • Action: Replace generate-fbc.sh with the run-opm-command task.
      • Result: Catalogs are built on-demand, and the catalogs directory will be removed.
      • Limitation: The task only handles one package at a time. If you have multiple packages, you'll need to run the task for each one

      Definition of Done:

      1. The FBC build succeeds with the new run-opm-command task.
      1. The generate-fbc.sh script and catalogs directory are removed.

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

                Created:
                Updated: