Add a third-party check pipeline to OpenDev

This will use the checks API so we can perform builds of Gerrit
and related plugins.

Depends-On: https://review.opendev.org/682749
Change-Id: Iff53836aa63317f86222d3819ecd32cb590e6bba
This commit is contained in:
James E. Blair 2019-09-17 14:58:44 -07:00
parent d898b18bd6
commit fb503b7ac5
1 changed files with 41 additions and 0 deletions

View File

@ -162,3 +162,44 @@
failure:
gerrit: {}
mysql:
- pipeline:
name: third-party-check
description: |
Newly uploaded patchsets to external projects enter this
pipeline to receive an initial +/-1 Verified vote.
manager: independent
trigger:
googlesource:
- event: pending-check
scheme: 'opendev-zuul-third-party-check'
enqueue:
googlesource:
checks_api:
scheme: 'opendev-zuul-third-party-check'
state: SCHEDULED
message: 'Change has been enqueued in check'
start:
googlesource:
checks_api:
scheme: 'opendev-zuul-third-party-check'
state: RUNNING
message: 'Jobs have started running'
no-jobs:
googlesource:
checks_api:
scheme: 'opendev-zuul-third-party-check'
state: NOT_RELEVANT
message: 'Project has no jobs configured'
success:
googlesource:
checks_api:
scheme: 'opendev-zuul-third-party-check'
state: SUCCESSFUL
message: 'Change passed all voting jobs'
failure:
googlesource:
checks_api:
scheme: 'opendev-zuul-third-party-check'
state: FAILED
message: 'Change failed'