diff --git a/playbooks/manual/staging-sync/templates/koji-reset-staging.sql b/playbooks/manual/staging-sync/templates/koji-reset-staging.sql index 6660a2a8b5..bc5a769125 100644 --- a/playbooks/manual/staging-sync/templates/koji-reset-staging.sql +++ b/playbooks/manual/staging-sync/templates/koji-reset-staging.sql @@ -60,6 +60,7 @@ update build set volume_id=(select id from volume where name='prod') where volum -- files are not there; keeping rpminfo's ma delete from archive_rpm_components where rpm_id in (select id from rpminfo where build_id in (select id from build where state<>1)); delete from image_listing where rpm_id in (select id from rpminfo where build_id in (select id from build where state<>1)); +delete from buildroot_listing where rpm_id in (select id from rpminfo where build_id in (select id from build where state<>1)); delete from rpminfo where build_id in (select id from build where state<>1); -- expire any active buildroots