From 9b1e240b1cf84bc0fce801a4b4773f81aa998c58 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 15 May 2024 09:52:11 -0700 Subject: [PATCH] Run Koji scratch builds with --background This gives them a lower priority. Per @nirik, scratch build tasks from dist-git PRs (both from this pipeline and the zuul one) 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 --- scratch-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scratch-build.sh b/scratch-build.sh index 7501a16..d92bfd0 100755 --- a/scratch-build.sh +++ b/scratch-build.sh @@ -40,7 +40,7 @@ fi kinit -k -t ${KOJI_KEYTAB} ${KRB_PRINCIPAL} -koji -p ${profile} build --scratch --fail-fast --nowait ${target} ${source_url} > ${koji_log} +koji -p ${profile} build --scratch --background --fail-fast --nowait ${target} ${source_url} > ${koji_log} cat ${koji_log} cat ${koji_log} | grep '^Task info: ' | awk '{ print $3 }' > ${koji_url}