-
Story
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
None
-
Strategic Product Work
-
3
-
False
-
None
-
False
-
OCPSTRAT-586 - [Pilot phase] Enable managing releases with the file-based catalog for Red Hat Operator teams with RHTAP
-
-
-
OSDK 232, OPECO 233
The composite template currently issues several `docker run` commands based on the base image which contains opm, to ensure that the same version is used for build/verify/serve. However, the run does not pass through authentication configuration available to the author where the top-level operation is run. Repositories like registry.redhat.io are private and we expect most operator-authors to be generating their catalog contributions against them.
Modify the implementation to no longer extract opm from the provided baseImage in the spec and instead process the specified templates internally. That is, instead of:
- pull baseImage docker
- foreach fragment in the composite template
- shell out to docker to run an instance of that image and use it to generate the contribution fragment
we will now do:
- foreach fragment in the composite template
- invoke the library to generate the contribution fragment
This is a reduction in capability since we cannot guarantee the version of opm that is used to render contributions, but this is a good compromise in terms of unblocking the pipeline.
A/C:
- user can create contributions of all supported builder types (semver, basic, raw, custom) which refer to base images homed in private repositories (registry.redhat.io/openshift4/ose-operator-registry:v4.12, quay.io/operator-framework/opm:v1.26.3)
- documentation of the methodology if it's not "just handled for the author".
- utest/e2e test of the methodology if not ^^^^
- blocks
-
OPECO-2737 [DOWNSTREAM] rename `veneer` to `template` for all code, docs references
- Closed
- relates to
-
OPECO-2594 Spike: catalog generation pipeline integration with HACBS
- Closed
- links to