FBC for the Windows Machine Config Operator
The olm-sample should be used as a source of truth, over the information here.
# Copy an existing directory
cp -r windows-machine-config-operator/release-4.15/ windows-machine-config-operator/new-stream
# Replace references to old OCP version with new
...
# Generate catalog using a recent bundle build
opm render quay.io/redhat-user-workloads/windows-machine-conf-tenant/windows-machine-config-operator/windows-machine-config-operator-bundle-<$release>@<$DIGEST> --migrate-level=bundle-object-to-csv-metadata >catalog.json
# Convert the catalog to a basic template
opm alpha convert-template basic catalog.json >catalog-template.json
# Both the catalog and the template should be committed to source
# Adding 4.17 as an example
# Copy an existing directory
cp -r windows-machine-config-operator/release-4.15/ windows-machine-config-operator/release-4.17
# Replace references to old OCP version with new
...
# Pull Red Hat operators catalog for the given OCP version
opm migrate registry.redhat.io/redhat/redhat-operator-index:v4.17 ./catalog-migrate
# Copy the WMCO catalog
cp catalog-migrate/windows-machine-config-operator/catalog.json windows-machine-config-operator/release-4.17/catalog/catalog.json
# Convert the catalog to a basic template
opm alpha convert-template basic catalog.json >catalog-template.json
# Both the catalog and the template should be committed to source