<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">If the directory structure is the same across all directories and releases, is there a reason why we couldn't simply run a cron on the machine that woule regularly delete older images ?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">The migration from the previous (fedora) machine on OS1 to the new CentOS server on RDO Cloud was largely manual and there wasn't any playbooks involved.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">We'd like to run full automation like upstream -infrastructure does. This would allow anyone to submit a change to our playbooks, they'd be reviewed and applied automatically.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Setting up this cron could be one part of the tasks involved in setting up the image server.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><br>David Moreau Simard<br>Senior Software Engineer | OpenStack RDO<br><br>dmsimard = [irc, github, twitter]</div></div>
<br><div class="gmail_quote">On Tue, Oct 24, 2017 at 10:55 AM, Gabriele Cerami <span dir="ltr"><<a href="mailto:gcerami@redhat.com" target="_blank">gcerami@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>
we'd like to participate actively in cleaning up after ourselves the<br>
images we upload at each tripleo promotion. We are planning to do so<br>
also for the container images in dockerhub, so part of this process has<br>
to be done anyway. (maybe we should also do it in rdoregistry)<br>
Since our access to the server is limited to sftp, we are thinking about<br>
using paramiko library in our promoter script, to get the list of hashes<br>
uploaded and their mtimes, so we can delete the oldest ones.<br>
<br>
Is there any better solution ?<br>
<br>
Thanks<br>
______________________________<wbr>_________________<br>
dev mailing list<br>
<a href="mailto:dev@lists.rdoproject.org">dev@lists.rdoproject.org</a><br>
<a href="http://lists.rdoproject.org/mailman/listinfo/dev" rel="noreferrer" target="_blank">http://lists.rdoproject.org/<wbr>mailman/listinfo/dev</a><br>
<br>
To unsubscribe: <a href="mailto:rdo-list-unsubscribe@redhat.com">rdo-list-unsubscribe@redhat.<wbr>com</a><br>
</blockquote></div><br></div>