-
Notifications
You must be signed in to change notification settings - Fork 0
verify project distribution
Cesar Celis Hernandez edited this page May 23, 2023
·
1 revision
[verify-project-distribution : verify-project-distribution] + case "$ORGANIZATION" in
[verify-project-distribution : verify-project-distribution] + '[' connect '!=' marketplace ']'
[verify-project-distribution : verify-project-distribution] This project is not permitted to distribute to the redhat-marketplace catalog.
[verify-project-distribution : verify-project-distribution] + echo 'This project is not permitted to distribute to the redhat-marketplace catalog.'
[verify-project-distribution : verify-project-distribution] + exit 1
Hi Cesar,
Let me simply explain the meaning of "ORGANIZATION" in pipeline test. There are two Organizations:
1.certified-operators https://github.com/redhat-openshift-ecosystem/certified-operators/blob/main/config.yaml
2.redhat-marketplace https://github.com/redhat-openshift-ecosystem/redhat-marketplace-operators/blob/main/config.yaml
For the organization value, you don't need to change them, RedHat has set them by default. You just submit the prs in the different repos.
In previous certification workflow, you only need to submit one image in your project, and the tool would split it to two images, one is for certified-operators, and another is for redhat-marketplace.
And it is changed in the new certification workflow, if you want to post the operator to these two, you should create the individual projects in connect.redhat.com, and submit the separate prs.
The project(5fc5d832c273d0f0db71aae9) in ci.yaml is for certified-operator, but your pr https://github.com/redhat-openshift-ecosystem/redhat-marketplace-operators/pull/163 is in redhat-marketplace-operators repo,this mismatch caused "verify-project-distribution" failure.
You can following the steps to post your operator to redhat-marketplace-operators.
1. create a new bundle project for marketplace
2. select marketplace as the distribution
3. Finish the check-list (Even though you are already a Marketplace seller, please click "become a seller" in the checklist to kick off that task.)
4. Put the new project id in ci.yaml
5. package name will need to have "-rhmp" in the suffix (see the existing folders in the redhat-marketplace GitHub repo)
Please let me know once you create the project and finish the checklist, I will help to escalate to get that approved quickly, as obviously you are already a Marketplace seller.
Sincerely,
Jinhua Li