fedora-copr / copr

RPM build system - upstream for https://copr.fedorainfracloud.org/
113 stars 62 forks source link

custom method submitter is always random #1024

Open fedora-copr-github-bot opened 1 year ago

fedora-copr-github-bot commented 1 year ago

Original issue: https://pagure.io/copr/copr/issue/1024 Opened: 2019-09-24 06:35:28 Opened by: praiskup

... for each BuildChroot, which effectively means that each build chroot requires separate VM.

We probably aren't able to detect the submitter precisely, but we should at least make sure that all BuildChroots related to the custom Build have the same "submitted_by" field so they can share builders.

praiskup commented 1 year ago

Triage time: take a random webhook-triggered build witch multiple BuildChroots; every buildchroot has a different sandbox string => receives a different builder VM in Resalloc.

praiskup commented 1 year ago

Triage time: Packit uses a deterministic sandbox string, so this is only about webhook-triggers, there are not builds like that likely?