Wednesday, 2025-12-24

tkajinamI'm wondering if there is a guide describing the way to add a new git repo to infra mirror09:53
tonybtkajinam: I don't under what you mean by adding a new git repo into the mirror?10:47
tonybare you asking for a new project?10:48
tkajinamtonyb, we've seen frequent failure in ironic jobs caused by unstable https://thekelleys.org.uk/dnsmasq . I wonder if we can mirror that repo in infra to avoid using the upstream one12:06
tkajinamThere is https://github.com/imp/dnsmasq in github but it does not contain the updated contents, unfortunately12:06
tkajinamthe url is long. Please see https://review.opendev.org/c/openstack/ironic/+/971750/2/devstack/lib/ironic12:06
tkajinams/long/wrong/12:06
tkajinammy brain is dying ...12:07
fungitkajinam: the only "mirrors" we have for git repos are to add them as projects to the zuul configuration, e.g. https://opendev.org/openstack/project-config/src/branch/master/zuul/main.yaml#L137514:12
fungithen you can set them as required-projects in a job and zuul will supply a relevant checkout in the workspace14:13
fungiadding a new zuul connection isn't done very often, but goes here: https://opendev.org/opendev/system-config/src/branch/master/inventory/service/group_vars/zuul.yaml14:21
tkajinamfungi, thanks. checking it14:22
fungiin this case you'll probably want the "git" driver, which there isn't an example of in our config yet but is documented at https://zuul-ci.org/docs/zuul/latest/drivers/git.html14:22
opendevreviewTakashi Kajinami proposed openstack/project-config master: Add dnsmasq repository to mirror  https://review.opendev.org/c/openstack/project-config/+/97176914:29
tkajinamfungi, yeah I checked that doc, too. I created https://review.opendev.org/q/topic:%22dnsmasq-mirror%22 accordingly14:30
tkajinamhm, wait. what is really unstable now is http://14:37
tkajinamgit:// works better. let me try it first14:37
fungiyeah, my guess is they have a small webserver that's getting overrun with crawlers, so git protocol might not be affected14:42
tkajinamyeah14:44
tkajinamif their web server is actually left dead that is a different problem, though14:44
fungithough also, having zuul clone and cache the repository would probably be more polite than ironic's jobs doing a full clone on every build14:45
tkajinamyeah I totally agree14:45
tkajinamlet me adjust the mirror patch as well. I needed a working endpoint before adding it to mirror14:46
opendevreviewTakashi Kajinami proposed openstack/project-config master: Add dnsmasq repository to mirror  https://review.opendev.org/c/openstack/project-config/+/97176914:48

Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!