cilium / cilium-olm

Other
10 stars 13 forks source link

bundle validation error - operator-packagename-uniqueness-bundle-image #16

Closed errordeveloper closed 3 years ago

errordeveloper commented 3 years ago
===== Test: operator-packagename-uniqueness-bundle-image =====

Package cilium does not yet exist but an entry already exists with the following:

source       == certified-operators
package_name == cilium-openshift-operator
association  == ospid-c3cd8e7a-1577-4dac-bc32-cfce4a207813

---------------------------------
---------------------------------
Package Name Uniqueness Overview:
---------------------------------
---------------------------------

The use of Operators requires that all packageNames are *globally unique* across all quay.io namespaces.
This test effectively 'claims' a package name by locking it to a specific operator / source.

Source
------

Source is defined as where an operator is coming from:

All Operators come one of 4 sources:
- Upstream
- Community
- Certified
- Redhat

Association
-----------

Association is defined as an item from the source that can used
to align the packageName to.

All Operators have an association within their source that helps identify them.

For Upstream and Community operators, the association is derived from the operator's folder name within the GitHub repo.
For Certified operators, the association is derived from the projectID from RHConnect.
For RedHat operators, the association is derived from the Brew Package Name

Details for this Operator
-------------------------

This operator-under-test has a package name of cilium

Its source is certified-operators with an association of ospid-c3cd8e7a-1577-4dac-bc32-cfce4a207813

-------------------
Execution Reference:

-> /cvp/cvp-isv-operator-bundle-image-validation-test/marketplace-ospid-c3cd8e7a-1577-4dac-bc32-cfce4a207813-f49b38e9-8bd4-4916-ad2c-579540c80cea/f49b38e9-8bd4-4916-ad2c-579540c80cea/
errordeveloper commented 3 years ago

Looks like this obscurity is all about ilium-openshift-operator being used in the very first image, which changed in c8fff2f2f6c64eee544bb72e0b6f3ec5c86c7cd4.

https://redhat-connect.gitbook.io/partner-connect-kbase/operator-metadata-issues/operator-packagename-uniqueness-failed

errordeveloper commented 3 years ago

c94e990 should fix this.