From b0ffcf5f3177a0cee823d742a579aee54e220a84 Mon Sep 17 00:00:00 2001 From: Slawek Kaplonski Date: Thu, 30 Aug 2018 10:18:48 +0200 Subject: [PATCH] Update abandon_old_reviews script to check Zuul votes Before this patch script was looking for patches which have -1 vote from "jenkins". This was given in the past by zuul v2. Now we have zuul v3 and there is "verified" vote give by "zuul" instead so script needs to be updated also. Change-Id: Ieba7a6d1babee99b14af45836c788741d23bc560 --- tools/abandon_old_reviews.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/abandon_old_reviews.sh b/tools/abandon_old_reviews.sh index b98a6b2a786..7933de82105 100755 --- a/tools/abandon_old_reviews.sh +++ b/tools/abandon_old_reviews.sh @@ -142,7 +142,7 @@ done # then purge all the reviews that are > 4w with no changes and Jenkins has -1ed -failing_reviews=$(ssh review.openstack.org "gerrit query --current-patch-set --format json $PROJECTS status:open age:4w NOT label:Verified>=1,jenkins" | jq .currentPatchSet.revision | grep -v null | sed 's/"//g') +failing_reviews=$(ssh review.openstack.org "gerrit query --current-patch-set --format json $PROJECTS status:open age:4w NOT label:Verified>=1,Zuul" | jq .currentPatchSet.revision | grep -v null | sed 's/"//g') failing_msg=$(cat <