From 5d92a3e633cc7ede59038de0db11c68448d1582f Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: May 15 2024 16:47:04 +0000 Subject: Run Koji scratch builds with --background This gives them a lower priority. Per @kevin, scratch build tasks from dist-git PRs (both from this zuul pipeline and the Fedora CI pipeline) are currently more or less DoSing Koji. Running them with --background gives them a lower priority, which should help alleviate the pressure somewhat. Signed-off-by: Adam Williamson --- diff --git a/roles/fedpkg-build-ng/tasks/main.yaml b/roles/fedpkg-build-ng/tasks/main.yaml index 3a919ac..0fba707 100644 --- a/roles/fedpkg-build-ng/tasks/main.yaml +++ b/roles/fedpkg-build-ng/tasks/main.yaml @@ -27,7 +27,7 @@ - name: Build package in Fedora build system {% if scratch_build %}(scratch build){% endif %} command: | fedpkg --release {{ release }} build - {% if scratch_build %} --scratch --arches {{ arches }} --srpm {{ srpm }} {% endif %} + {% if scratch_build %} --scratch --arches {{ arches }} --srpm {{ srpm }} --background {% endif %} --target {{ target }} args: chdir: "{{ zuul.project.src_dir }}"