IRC #openstack-ironic gerritbot CI failed messages
When a gerrit comment of type Verified with value -2 is posted, send a message to the #openstack-ironic channel. This will raise awareness of CI job failures preventing changes from landing, and is proposed as a trial for later refinement. Update irc_tests.py for the dependend change to pass tests. Change-Id: I251e9e5ea760fe5da1a8fbca7cee365dd3ae563b Depends-On: https://review.opendev.org/#/c/698089/
This commit is contained in:
parent
ac7ffa6808
commit
abefaaea44
@ -995,6 +995,8 @@ openstack-ironic:
|
||||
events:
|
||||
- patchset-created
|
||||
- change-merged
|
||||
- comments-added
|
||||
- x-vrif-minus-2
|
||||
projects:
|
||||
- openstack/bifrost
|
||||
- openstack/ironic
|
||||
|
@ -35,7 +35,8 @@ def access_gerrit_check():
|
||||
|
||||
print("Basic check of gerritbot/channels.yaml")
|
||||
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 entry in REQUIRED_ENTRIES:
|
||||
if entry not in gerrit_config[channel]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user