Merge "IRC #openstack-ironic gerritbot CI failed messages"
This commit is contained in:
commit
98402d34e3
|
@ -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
|
||||||
|
|
|
@ -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]:
|
||||||
|
|
Loading…
Reference in New Issue