gerrit: ignore replication event
After upgrading to Zuul to version 4.0 and Gerrit to version 3.2, the scheduler logs are flooded with trigger event related to replication. Change-Id: I3dbed80c717fee091e34530a52944278ae83e322
This commit is contained in:
parent
ab9e808def
commit
b0edc4e291
|
@ -119,6 +119,9 @@ class GerritEventConnector(threading.Thread):
|
|||
|
||||
IGNORED_EVENTS = (
|
||||
'cache-eviction', # evict-cache plugin
|
||||
'ref-replicated',
|
||||
'ref-replication-scheduled',
|
||||
'ref-replication-done'
|
||||
)
|
||||
|
||||
log = logging.getLogger("zuul.GerritEventConnector")
|
||||
|
@ -217,9 +220,6 @@ class GerritEventConnector(threading.Thread):
|
|||
'comment-added': 'author',
|
||||
'ref-updated': 'submitter',
|
||||
'reviewer-added': 'reviewer', # Gerrit 2.5/2.6
|
||||
'ref-replicated': None,
|
||||
'ref-replication-done': None,
|
||||
'ref-replication-scheduled': None,
|
||||
'topic-changed': 'changer',
|
||||
'project-created': None, # Gerrit 2.14
|
||||
'pending-check': None, # Gerrit 3.0+
|
||||
|
|
Loading…
Reference in New Issue