Merge "IRC #openstack-ironic gerritbot CI failed messages"

This commit is contained in:
Zuul 2020-01-21 08:43:20 +00:00 committed by Gerrit Code Review
commit 98402d34e3
2 changed files with 4 additions and 1 deletions

View File

@ -993,6 +993,8 @@ openstack-ironic:
events: events:
- patchset-created - patchset-created
- change-merged - change-merged
- comments-added
- x-vrif-minus-2
projects: projects:
- openstack/bifrost - openstack/bifrost
- openstack/ironic - openstack/ironic

View File

@ -35,7 +35,8 @@ def access_gerrit_check():
print("Basic check of gerritbot/channels.yaml") print("Basic check of gerritbot/channels.yaml")
REQUIRED_ENTRIES = ("branches", "events", "projects") REQUIRED_ENTRIES = ("branches", "events", "projects")
VALID_EVENTS = ("change-merged", "patchset-created") VALID_EVENTS = ("change-merged", "comments-added",
"patchset-created", "x-vrif-minus-2")
for channel in gerrit_config: for channel in gerrit_config:
for entry in REQUIRED_ENTRIES: for entry in REQUIRED_ENTRIES:
if entry not in gerrit_config[channel]: if entry not in gerrit_config[channel]: