On 02/26/2010 02:15 PM, Doug Reiland wrote:
>
> You can emulate chain-build with a series of build and wait-repo
> commands if you like.
>
I want to be able to improve build throughput.
Is the following valid approach?
koji build --skip-tag mytag srpm1 srpm2 ....
after done
koji tag-pkg mytag pkg1 pkg2 ....
koji regen-repo ...
I think you're assuming that a repo-regen will block other builds from
taking place. That's not the case. A build will use the most recently
created valid repo for the tag. Other builds can go on while a repo is
being regenerated. When the repo regen is complete, it will be marked
as the new latest repo, and any builds submitted after that will use the
new repo instead of the old. Using --skip-tag doesn't improve
throughput at all over using chain-build or wait-repo in between
(dependent) builds.