#230 Generate Pulp repositories only if OSBS/Koji does not support pulp_repos and content-sets.
Merged by jkaluza. Opened by jkaluza.
jkaluza/freshmaker more-versions-advisory  into  master

Download 230.patch

OSBS team will be using ODCS directly, so Freshmaker does not have to create ODCS composes at all if container image is configured to use this new OSBS feature.

Freshmaker basically have to detect if "content_sets.yml" exists in git repository next to Dockerfile. Then it also needs to detect it "contaienr.yaml" exists and "pulp_repos" is set to True. In this case, we should not create Pulp repos in Freshmaker - OSBS will do it automatically for us.

We still need to keep the old code there as a fallback, because it will take some time for all images to switch to this new ODCS feature.

Pull-Request has been merged by jkaluza

Metadata