Skip to content
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

Adding redhat marketplace annotations #770

Merged
merged 1 commit into from
May 19, 2023
Merged

Adding redhat marketplace annotations #770

merged 1 commit into from
May 19, 2023

Conversation

cniackz
Copy link
Contributor

@cniackz cniackz commented May 18, 2023

Objective:

To add needed annotations for RedHat MarketPlace Catalog right after we generate the bundle.

Reason:

[annotations-validation : bundle-parse] ++ cat operators/minio-directpv-operator-rhmp/4.0.4/metadata/annotations.yaml
[annotations-validation : bundle-parse] ++ yq -r '.annotations."operators.operatorframework.io.bundle.package.v1"'
[annotations-validation : bundle-parse] + ANNOTATIONS_PACKAGE_NAME=minio-directpv-operator-rhmp
[annotations-validation : bundle-parse] + [[ minio-directpv-operator-rhmp != minio-directpv-operator-rhmp ]]
[annotations-validation : bundle-parse] + [[ redhat-marketplace == \r\e\d\h\a\t\-\m\a\r\k\e\t\p\l\a\c\e ]]
[annotations-validation : bundle-parse] ++ realpath operators/minio-directpv-operator-rhmp/4.0.4
[annotations-validation : bundle-parse] + BUNDLE_PATH=/workspace/source/operators/minio-directpv-operator-rhmp/4.0.4
[annotations-validation : bundle-parse] ++ find /workspace/source/operators/minio-directpv-operator-rhmp/4.0.4 -name '*clusterserviceversion.yaml' -o -name '*clusterserviceversion.yml'
[annotations-validation : bundle-parse] + CSVFILE=/workspace/source/operators/minio-directpv-operator-rhmp/4.0.4/manifests/minio-directpv.clusterserviceversion.yaml
[annotations-validation : bundle-parse] ++ yq -r '.metadata.annotations."marketplace.openshift.io/remote-workflow"'
[annotations-validation : bundle-parse] ++ cat /workspace/source/operators/minio-directpv-operator-rhmp/4.0.4/manifests/minio-directpv.clusterserviceversion.yaml
[annotations-validation : bundle-parse] + MARKETPLACE_REMOTE_WORKFLOW=null
[annotations-validation : bundle-parse] ++ cat /workspace/source/operators/minio-directpv-operator-rhmp/4.0.4/manifests/minio-directpv.clusterserviceversion.yaml
[annotations-validation : bundle-parse] ++ yq -r '.metadata.annotations."marketplace.openshift.io/support-workflow"'
[annotations-validation : bundle-parse] Missing or incorrect 'marketplace.openshift.io/remote-workflow' annotation.
[annotations-validation : bundle-parse] To fix this issue define the annotation in 'manifests/*.clusterserviceversion.yaml' file.
[annotations-validation : bundle-parse] The correct value for the annotation is: https://marketplace.redhat.com/en-us/operators/minio-directpv-operator-rhmp/pricing?utm_source=openshift_console
[annotations-validation : bundle-parse] + MARKETPLACE_SUPPORT_WORKFLOW=null
[annotations-validation : bundle-parse] + EXPECTED_MARKETPLACE_REMOTE_WORKFLOW='https://marketplace.redhat.com/en-us/operators/minio-directpv-operator-rhmp/pricing?utm_source=openshift_console'
[annotations-validation : bundle-parse] + EXPECTED_MARKETPLACE_SUPPORT_WORKFLOW='https://marketplace.redhat.com/en-us/operators/minio-directpv-operator-rhmp/support?utm_source=openshift_console'
[annotations-validation : bundle-parse] + [[ null != https://marketplace.redhat.com/en-us/operators/minio-directpv-operator-rhmp/pricing?utm_source=openshift_console ]]
[annotations-validation : bundle-parse] + echo 'Missing or incorrect '\''marketplace.openshift.io/remote-workflow'\'' annotation.'
[annotations-validation : bundle-parse] + echo 'To fix this issue define the annotation in '\''manifests/*.clusterserviceversion.yaml'\'' file.'
[annotations-validation : bundle-parse] + echo 'The correct value for the annotation is: https://marketplace.redhat.com/en-us/operators/minio-directpv-operator-rhmp/pricing?utm_source=openshift_console'
[annotations-validation : bundle-parse] + exit 1

@cniackz cniackz self-assigned this May 18, 2023
@cniackz cniackz added the certification for any given certification label May 18, 2023
olm.sh Outdated Show resolved Hide resolved
@cniackz cniackz requested a review from balamurugana May 18, 2023 15:58
@Praveenrajmani Praveenrajmani merged commit fcba7dd into minio:master May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
certification for any given certification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants