13:05:41 <cverna> #startmeeting Container SIG
13:05:41 <zodbot> Meeting started Mon Jun 17 13:05:41 2019 UTC.
13:05:41 <zodbot> This meeting is logged and archived in a public location.
13:05:41 <zodbot> The chair is cverna. Information about MeetBot at http://wiki.debian.org/MeetBot.
13:05:41 <zodbot> Useful Commands: #action #agreed #halp #info #idea #link #topic.
13:05:41 <zodbot> The meeting name has been set to 'container_sig'
13:05:53 <cverna> #topic Roll Call
13:06:00 <cverna> .hello cverna
13:06:01 <zodbot> cverna: cverna 'None' <clems.verna@gmail.com>
13:06:15 <cverna> I am mister None :P
13:08:02 <cverna> give a few more minutes to see if we have people joining :)
13:09:55 <ttomecek> .hello2
13:09:56 <zodbot> ttomecek: ttomecek 'Tomas Tomecek' <ttomecek@redhat.com>
13:11:36 <ttomecek> nothing to report personally, way too busy with my other projects
13:12:05 <cverna> I did a few thing on my side
13:12:52 <cverna> first about the base image size, I found out that we are installing all the english locale ( ~65MB) instead of just using the minimal locale package from gilbc
13:13:02 <cverna> so I have a PR to make sure we don't install that
13:13:31 <cverna> that should make the base image smaller \o/
13:13:57 <cverna> #link https://pagure.io/fedora-kickstarts/pull-request/530
13:14:18 <ttomecek> wow :O -65MB is ridiculuous!
13:14:58 <cverna> yes I was comparing UBI rootfs with our image and found that we had all these extra locale
13:15:28 <cverna> And second thing I done I wrote an ansible module to take care of the prunning of old images on the candidate registry
13:15:45 <ttomecek> nice!
13:16:12 <cverna> #link https://infrastructure.fedoraproject.org/cgit/ansible.git/tree/playbooks/manual/oci-registry-prune.yml
13:16:18 <cverna> this is the playbook ^^
13:16:42 <cverna> it is now setup to be run manually and configure to delete everything that is older than 30 days
13:17:13 <cverna> we could configure the playbook to run as part of the master playbook (run every night) so that would act as a cron job
13:17:51 <ttomecek> where can we find delete_old_oci_images?
13:18:11 <cverna> #link https://infrastructure.fedoraproject.org/cgit/ansible.git/tree/library
13:18:23 <cverna> actually https://infrastructure.fedoraproject.org/cgit/ansible.git/tree/library/delete_old_oci_images.py
13:18:26 <cverna> #link https://infrastructure.fedoraproject.org/cgit/ansible.git/tree/library/delete_old_oci_images.py
13:19:09 <ttomecek> cverna, neat! really simple
13:20:07 <cverna> I decided to go with ansible because after that we need to run the registry garbage collection, so all can be done in one playbook
13:20:14 <cverna> which is cool
13:20:28 <ttomecek> yeah
13:20:41 <cverna> I think that all from my side
13:21:12 <cverna> I ll be on extended leave ( ~ 1 month) when my second child arrives :-)
13:21:20 <ttomecek> cverna, looking at the module: I'm wondering if it's possible the module would remove blobs from an image even when the top layer is younger than 30 days while the bottom layer being older
13:21:39 <ttomecek> cverna, that was my question over PM whether it already happened
13:22:18 <cverna> ttomecek: not yet :) June 26 is the expected date :)
13:22:42 <ttomecek> cverna, oki
13:22:59 <ttomecek> cverna, I take my comment back, you're not iterating over blobs, but over tags, so all good
13:23:07 <ttomecek> cverna++
13:23:07 <zodbot> ttomecek: Karma for cverna changed to 13 (for the current release cycle):  https://badges.fedoraproject.org/tags/cookie/any
13:23:10 <ttomecek> nicely done!
13:23:39 <cverna> ttomecek: ah nice I struggled a bit with the APIs tbh
13:23:51 <cverna> it was not straight forward :)
13:24:08 <ttomecek> cverna, that's registry, the API is not suitable for humans :X
13:24:19 <cverna> indeed :)
13:24:57 * cverna hopes we can move to quay.io one day so that this will become someone else problem :P
13:26:52 <cverna> I am going to leave the meeting on for another 4 mins
13:29:49 <ttomecek> cverna, thanks for the update! I'm gonna focus again, fighting kube api with torches and pitchforks
13:30:28 <cverna> ttomecek: good luck with that, thanks for showing up :)
13:30:36 <cverna> #endmeeting