<div dir="ltr"><div>Hi,<br></div><div> 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:</div><div><br></div><div># Live repo runs two times per day</div><div>rpm repo sync run --repo-id=centos_live<br></div><div>rpm repo publish run --repo-id=centos6_live<br></div><div><br></div><div>#Every week</div><div>rpm repo copy rpm --from-repo-id=centos6_live centos6_unstable</div><div>rpm repo publish run ...<br></div><div><br></div><div>#Every month</div><div>rpm repo copy rpm --from-repo-id= centos6_unstable centos6_stable<br></div><div>rpm repo publish run ...<br></div><div><br></div><div>After publishing Ansible playbook will run update on all servers in given stage.</div><div><br></div><div>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.</div><div><br></div><div>Vasek</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 3, 2016 at 12:56 PM, Vladimir Vasilev <span dir="ltr"><<a href="mailto:vvasilev@redhat.com" target="_blank">vvasilev@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I checked the latest pulp docs and can't find this..<br>
Is there a way to have environments (dev->stage->prod or any) and kind<br>
of promote RPMs to the upper?<br>
I see some "content environment" in [1] but the idea is different.<br>
There's copy from one repo to another and again to method to copy<br>
specific RPMs or latest versions.<br>
<br>
Looks like juicer [2] is trying to solve this. We use it for one client<br>
and it works. Downside is that I'm stuck with 3rd party tool.<br>
<br>
[1] <a href="https://docs.pulpproject.org/plugins/pulp_rpm/user-guide/recipes.html" rel="noreferrer" target="_blank">https://docs.pulpproject.org/<wbr>plugins/pulp_rpm/user-guide/<wbr>recipes.html</a><br>
[2] <a href="https://github.com/juicer/juicer" rel="noreferrer" target="_blank">https://github.com/juicer/<wbr>juicer</a><br>
<br>
<br>
______________________________<wbr>_________________<br>
Pulp-list mailing list<br>
<a href="mailto:Pulp-list@redhat.com">Pulp-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/pulp-list</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">-- May the fox be with you ...<br>   /\<br>  (~(<br>   ) )         /\_/\<br>  (_=---_(@ @)<br>    (          \   /  <br>    /|/----\|\  V<br>    " "     " "<br><br><br></div>
</div>