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
This commit is contained in:
Khai Do 2014-05-05 18:08:22 -07:00
parent 84bbc2589e
commit dcc53b1560
1 changed files with 1 additions and 0 deletions

View File

@ -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',