-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate catalog for 4.17 with olm.csv.metadata #3012
Generate catalog for 4.17 with olm.csv.metadata #3012
Conversation
@@ -38,8 +38,15 @@ function generate_catalog { | |||
add_channel "${catalog_template}" "$channel" "$(metadata.get 'olm.replaces')" | |||
done < <(metadata.get 'olm.channels.list[*]') | |||
|
|||
level=none |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😅 nice level
argument
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah.
ᐅ opm alpha render-template basic -h
Generate a file-based catalog from a single 'basic template' file
When FILE is '-' or not provided, the template is read from standard input
Usage:
opm alpha render-template basic basic-template-file [flags]
Flags:
-h, --help help for basic
--migrate-level string Name of the last migration to run (default: none)
The migrator will run all migrations up to and including the selected level.
Available migrators:
- none : do nothing
- bundle-object-to-csv-metadata : migrates bundles' "olm.bundle.object" to "olm.csv.metadata"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: matzew, mgencur The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Merging. As this part is not tested in CI anyway. |
Fixes errors such as this one in Konflux pipeline:
Example: https://console.redhat.com/application-pipeline/workspaces/ocp-serverless/applications/serverless-operator-135-fbc-417/pipelineruns/serverless-index-135-fbc-417-on-pull-request-97tvx
There are already fbc-validation checks in Konflux pipeline that verify that: https://github.com/konflux-ci/build-definitions/blob/main/task/fbc-validation/0.1/USAGE.md#bundle-metadata-in-the-appropriate-format
The catalogs will be re-generated on the next "make generated-files" PR.
Proposed Changes