Friday, 2024-10-25

mnasiadkaclarkb: seems centos9 jobs feel happy in Kolla right now - thanks for orchestrating the images update :-)05:44
opendevreviewSlawek Kaplonski proposed zuul/zuul-jobs master: Drop support for user/password authentication to the readthedocs.org  https://review.opendev.org/c/zuul/zuul-jobs/+/93339508:29
opendevreviewSlawek Kaplonski proposed openstack/project-config master: Remove rtd_secret from the trigger-readthedocs-webhook job  https://review.opendev.org/c/openstack/project-config/+/93339608:33
opendevreviewSlawek Kaplonski proposed openstack/project-config master: Remove rtd_secret from the trigger-readthedocs-webhook job  https://review.opendev.org/c/openstack/project-config/+/93339608:35
opendevreviewSlawek Kaplonski proposed openstack/project-config master: DNM Just test of the new config of the trigger-readthedocs-webhook job  https://review.opendev.org/c/openstack/project-config/+/93339708:35
opendevreviewSlawek Kaplonski proposed openstack/project-config master: Remove rtd_secret from the trigger-readthedocs-webhook job  https://review.opendev.org/c/openstack/project-config/+/93339609:17
opendevreviewSlawek Kaplonski proposed openstack/project-config master: DNM Just test of the new config of the trigger-readthedocs-webhook job  https://review.opendev.org/c/openstack/project-config/+/93339709:17
slaweqfungi hi, I proposed https://review.opendev.org/c/openstack/project-config/+/933396 and https://review.opendev.org/c/zuul/zuul-jobs/+/933395 today to address this rtd webhook change09:56
slaweqI wanted to test it with https://review.opendev.org/c/x/tobiko/+/933248 but it is complaining for me that I can't inherit from trigger-readthedocs-webhook" job as it is "final" (which is not with my patch)09:57
slaweqso do I need to first get merged https://review.opendev.org/c/openstack/project-config/+/933396  to be able to inherit from that job in tobiko ?09:57
fricklerslaweq: yes, changes in config repos cannot be speculatively tested due to security concerns10:24
fricklerslaweq: I think even with that change it would be better to keep using the template as documented in https://docs.openstack.org/infra/openstack-zuul-jobs/project-templates.html#project_template-docs-on-readthedocs ? so we'd need to update that part, too?10:28
slaweqfrickler but how we can use template and pass secret to it? I was trying to do so in https://review.opendev.org/c/x/tobiko/+/933248 and it was always failing for me10:54
slaweqzuul was complaining for such config10:54
slaweqand IIUC, secret can be used only in the job defined in the same repo as secret so we need to define own trigger-readthedocs-webhook job which will inherit from that "generic" one and use secret there10:55
slaweqif there is different way to do this using this template as previously, please let me know how :)10:55
fricklerslaweq: I need to check the details, but there is a "pass-to-parent" option that tobiko could set and have the secret be available to the job defined in the parent11:22
fungiyes, the child job in x/tobiko would need to set pass-to-parent but also as noted that can't be tested successfully until the update to the parent merges to remove the "final" flag (since changes for trusted config repos can't be tested speculatively for safety reasons)12:08
slaweqfrickler yes, I set that "pass-to-parent" there already12:21
slaweqfungi but is it possible to use secret somehow without creating own job and using simply template and job defined in the project-config repo (as frickler suggested) or do I need to inherit from that job and create own which will use secret (how I did it currently)? Do you know?12:22
fungii'd need to look in the docs and see if it's possible to pass variables when adding a project template, though using a job variant instead of inheriting in a completely separate job might be a middle-ground (not sure if you can do that with secrets either)12:39
slaweqplease check, I only knew the way of inheritiing job to achieve that so far12:39
fungiclarkb might know once he's around, i'm about to be in ptg sessions and then hitting the road to go out of town, won't be back until sometime monday12:39
Clark[m]I think you can generally provide info to jobs in templates using project level vars. But that won't work for secrets as secrets are distinct from vars and you don't want all jobs to have access to them12:51
fungiyeah, i suspect what slaweq has is basically the only way, which is why the per-org github mirroring jobs are done similarly12:52
Clark[m]If you search code search for pass to parent you may find examples of variants doing this instead of full blown child jobs but I don't think you can do that with templates12:52
fungiit's just unfortunate that rtd won't accept webhook calls authenticated with user/password any longer and insists on per-project tokens (presumably someone has tried to call tobiko's webhook with a token generated for the openstackci account?)12:53
fungiyeah, i think the relevant section of the docs for applying project templates is https://zuul-ci.org/docs/zuul/latest/config/project.html#attr-project.templates and it doesn't mention being able to pass any vars or secrets or pragmas that way (they'd have to be included in the template definition instead)13:08
clarkbor set at the project level13:08
fungiright, as a variant13:08
clarkbno I mean as project level config like vars13:09
clarkbthis works for vars but not secrets13:09
fungioh! i forgot about that, but yeah still no secrets that way13:09
fungihttps://zuul-ci.org/docs/zuul/latest/config/project.html#attr-project.vars is for setting vars at the project level13:10
fungihttps://zuul-ci.org/docs/zuul/latest/config/job.html#attr-job.secrets doesn't actually talk about variants, but i guess pass-to-parent is handled the same way as for child jobs13:12
*** dhill is now known as Guest742213:32
clarkbmnasiadka: thank you for confirming that fixed things. And happy to help I just wasn't exactly sure what needed to be done. Glad you were able to track it down13:39
*** dhill is now known as Guest742914:38
clarkball meetpad ptg sessions are complete per the schedule now. I will remove the meetpad servers from the emergency file17:06
clarkbdone17:07
clarkbjitsi meet should update in about ~9 hours17:07
corvushttps://zuul.opendev.org/t/zuul/build/6052dad383244780849aff4fb92bcff7/log/job-output.txt#1240419:53
corvushrm, "push tag to intermediate registry" appears to have timed out19:53
corvusi think it's doing that weird thing with ssl errors that we've still never tracked down but a restart fixes19:54
corvus#status log restarted zuul-registry19:55
Clark[m]I'm finishing up lunch do you want me to restart it? Or are you doing it19:55
opendevstatuscorvus: finished logging19:55
Clark[m]That answers that question:)19:55
corvus:)19:55
*** elodilles is now known as elodilles_pto20:28
opendevreviewLars Kellogg-Stedman proposed openstack/diskimage-builder master: Support Fedora cloud images for Fedora 40 and later  https://review.opendev.org/c/openstack/diskimage-builder/+/93336120:48

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