From 6c1c790245e63775d6b55b2b8e4228ef953866b8 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Wed, 16 Oct 2013 14:53:24 +0000 Subject: [PATCH] Rerun checks when an abandoned change is restored * modules/openstack_project/files/zuul/layout-dev.yaml * modules/openstack_project/files/zuul/layout.yaml: Also trigger the check pipeine on Gerrit's change-restored event. Changes can often sit dormant in an abandoned state for months, and need a freshness check... which will of course almost always be a merge failure, but at least it's called out visibly when that happens. Change-Id: I83e27788d213607292cf40bfbf8c99edd1a971bb --- modules/openstack_project/files/zuul/layout-dev.yaml | 1 + modules/openstack_project/files/zuul/layout.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/openstack_project/files/zuul/layout-dev.yaml b/modules/openstack_project/files/zuul/layout-dev.yaml index 9fdcb4f529..da5797bb5c 100644 --- a/modules/openstack_project/files/zuul/layout-dev.yaml +++ b/modules/openstack_project/files/zuul/layout-dev.yaml @@ -8,6 +8,7 @@ pipelines: trigger: gerrit: - event: patchset-created + - event: change-restored - event: comment-added comment_filter: (?i)^\s*recheck(( (?:bug|lp)[\s#:]*(\d+))|( no bug))\s*$ diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index 17a5f7bd29..1d72fce4ff 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -10,6 +10,7 @@ pipelines: trigger: gerrit: - event: patchset-created + - event: change-restored - event: comment-added comment_filter: (?i)^\s*recheck(( (?:bug|lp)[\s#:]*(\d+))|( no bug))\s*$ success: