diff options
author | Khai Do <zaro0508@gmail.com> | 2014-05-05 18:08:22 -0700 |
---|---|---|
committer | Khai Do <zaro0508@gmail.com> | 2014-08-13 14:42:34 -0700 |
commit | dcc53b156025525c1d371400d037db4a62b5cde4 (patch) | |
tree | 4117d9c76fdc92c1527afcc24b2abf151b5a0ecc | |
parent | 84bbc2589ef34556130a31782e482d4e5871be1e (diff) | |
download | zuul-dcc53b156025525c1d371400d037db4a62b5cde4.tar.gz |
add support for draft-published event
Gerrit 2.4 did not provide a stream event for draft patchsets therefore it was not
supported in zuul either. We've just upgraded to Gerrit 2.8 which does provide a
new draft-published stream event. This change will make zuul aware of the draft-published
event.
Change-Id: Ica363b4672cfce375d64463636d84e92c2949fd6
Partial-Bug: #1255166
-rw-r--r-- | zuul/layoutvalidator.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zuul/layoutvalidator.py b/zuul/layoutvalidator.py index 1984aaa26..7256bc42e 100644 --- a/zuul/layoutvalidator.py +++ b/zuul/layoutvalidator.py @@ -45,6 +45,7 @@ class LayoutSchema(object): gerrit_trigger = {v.Required('event'): toList(v.Any('patchset-created', + 'draft-published', 'change-abandoned', 'change-restored', 'change-merged', |