Skip to content

Create a new command to generate reports based on annotations #130

@camilamacedo86

Description

@camilamacedo86

Description

Create a new command for the audit tool that can generate reports which will return all Operators of some index that has some specific annotation. This new command would work similar to audit custom validator [OPTIONS] --filter-validation="" that returns a list of Operators which containers that validation.

See the code for the validator command as an example:
https://github.com/operator-framework/audit/tree/main/cmd/custom/validator

See the code for a specific need script report that looks for a specific annotation:
https://github.com/operator-framework/audit/tree/main/hack/specific-needs/openshift-ns
(the command would perform the same but look for annotations where the key/value is like what is informed via flags)

The report should return:
Package Name | List of Bundles | Annotation found with value

We can do a template similar to multi-arches: https://operator-framework.github.io/audit/testdata/reports/redhat_redhat_operator_index/dashboards/multiarch_registry.redhat.io_redhat_redhat_operator_index_v4.11.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.size/MDenotes a PR that changes 30-99 lines, ignoring generated files.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions