koji-reset-staging: Try adjusting the script for koji 1.11 - Take #2
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
16cff3ea76
commit
653e82b17c
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ update build set volume_id=(select id from volume where name='prod') where volum
|
||||||
-- filesystem; these builds are on default (staging) volume and their
|
-- filesystem; these builds are on default (staging) volume and their
|
||||||
-- files are not there; keeping rpminfo's ma
|
-- 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 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 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
|
-- expire any active buildroots
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue