Skip to content

Commit

Permalink
Add a no comments pipeline
Browse files Browse the repository at this point in the history
This patch adds a new pipeline, this pipeline do not comment
when the ci set results.

An related patch is that the result detail will set to
https://status.openlabtesting.org/builds?project={change.project}&change={change.number},{change.patchset}&pipeline={pipeline.name}
which would be a separated patch in zuul.conf.

close: theopenlab/openlab#311
  • Loading branch information
Yikun committed Jun 29, 2019
1 parent b69a0a8 commit 724bf80
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions zuul.d/pipelines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,37 @@
status: 'failure'
mysql:

- pipeline:
name: check-no-comments
description: |
Newly uploaded patchsets enter this pipeline to receive an
initial +/-1 Verified vote without comments.
manager: independent
trigger:
github:
- event: pull_request
action:
- opened
- changed
- reopened
- event: pull_request
action: comment
comment: (?i)^\s*recheck\s*$
start:
github:
status: pending
comment: false
success:
github:
status: 'success'
comment: false
mysql:
failure:
github:
status: 'failure'
comment: false
mysql:

- pipeline:
name: recheck-mitaka
description: |
Expand Down

0 comments on commit 724bf80

Please sign in to comment.