[Pulp-list] repository environments and promoting

Vaclav Adamec vaclav.adamec at suchy-zleb.cz
Mon Sep 5 06:28:13 UTC 2016


Hi,
 I'm using Ansible playbooks for deployment and Puppet+Hiera to setup
repozitories on servers (right now about 30 repozitories at all, about 5
per server). All servers have disabled live repozitories (for security
patches) and enabled assigned stage (dev has live, integration unstable,
production stable). Than it's just a pipeline of commands on Ansible
playbook like this:

# Live repo runs two times per day
rpm repo sync run --repo-id=centos_live
rpm repo publish run --repo-id=centos6_live

#Every week
rpm repo copy rpm --from-repo-id=centos6_live centos6_unstable
rpm repo publish run ...

#Every month
rpm repo copy rpm --from-repo-id= centos6_unstable centos6_stable
rpm repo publish run ...

After publishing Ansible playbook will run update on all servers in given
stage.

Is that something what do you want to achieve ? As a simple GUI I'm using
Jenkins (as a smarter crontab) and ocsreports to get back installed
packages and system overview. Pulp server is behind caching Nginx proxies
(just RPMs, not metadata). I don't using any kind of registration to Pulp
as for dynamic/cloud environment it's more or less stupid idea.

Vasek


On Sat, Sep 3, 2016 at 12:56 PM, Vladimir Vasilev <vvasilev at redhat.com>
wrote:

> Hi,
>
> I checked the latest pulp docs and can't find this..
> Is there a way to have environments (dev->stage->prod or any) and kind
> of promote RPMs to the upper?
> I see some "content environment" in [1] but the idea is different.
> There's copy from one repo to another and again to method to copy
> specific RPMs or latest versions.
>
> Looks like juicer [2] is trying to solve this. We use it for one client
> and it works. Downside is that I'm stuck with 3rd party tool.
>
> [1] https://docs.pulpproject.org/plugins/pulp_rpm/user-guide/recipes.html
> [2] https://github.com/juicer/juicer
>
>
> _______________________________________________
> Pulp-list mailing list
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list
>



-- 
-- May the fox be with you ...
   /\
  (~(
   ) )         /\_/\
  (_=---_(@ @)
    (          \   /
    /|/----\|\  V
    " "     " "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20160905/f8c71bfc/attachment.htm>


More information about the Pulp-list mailing list