Script to republish a CCV version in a life cycle environment

Latest response

Has anyone created a script that can republish a Composite Content View version in a specific life cycle environment automatically?

Like:
Add a new CV to CCV mycontentview
Run republish-cv mycontentview mylifecycleenv
Which does:
1. Save current CCV layout, which versions are used etc
2. List and store what component versions that are used for mycontentview in mylifecycleenv
3. Change mycontentview layout to component versions stored in step 2.
4. Publish mycontentview
5. Promote mycontentview mylifecycleenv
6. Restore mycontentview layout as saved in step 1

Result: mycontentview with same CV components + additional new CV component

Responses

Hi Göran Törnqvist (Conoa)

Examine this not-updated script at github.

Additionally, examine this RH discussion https://access.redhat.com/discussions/3497661

This link here https://www.koendiels.be/index.php?controller=post&action=view&id_post=14 was from 2017, maybe it will apply (maybe not)

This link from github was updated 26 days ago (as I type this).

Start with those, let us know

Regards,

RJ

Thanks. https://github.com/RedHatSatellite/katello-cvmanager and Automated Updates looks like it maybe could do the job ...

Glad it can help Göran Törnqvist (Conoa)

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.