From a2fdd21aa581462a71f846bb118ead6fdc380ded Mon Sep 17 00:00:00 2001 From: Samuel Verschelde Date: Fri, 5 Sep 2025 19:16:49 +0200 Subject: [PATCH] koji_build.py: wait for the internal repo to be up to date Add `--wait-repo` to `koji build` so that it starts the task with a waitrepo subtask which ensures that the internal repository for the build tag is up to date. Signed-off-by: Samuel Verschelde --- scripts/koji/koji_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/koji/koji_build.py b/scripts/koji/koji_build.py index d9ed546..6f78f40 100755 --- a/scripts/koji/koji_build.py +++ b/scripts/koji/koji_build.py @@ -229,7 +229,7 @@ def main(): check_commit_is_available_remotely(git_repos[0], hash, None if is_scratch else target, args.force) url = koji_url(remote, hash) command = ( - ['koji', 'build'] + ['koji', 'build', '--wait-repo'] + (['--scratch'] if is_scratch else []) + [target, url] + (['--nowait'] if is_nowait else [])