Skip to content

Commit

Permalink
Run Koji scratch builds with --background
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
AdamWill committed May 15, 2024
1 parent a3eb9ec commit 9b1e240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scratch-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 9b1e240

Please sign in to comment.