From 724bf800b476f0f734c6f85eaf28838e76f16b58 Mon Sep 17 00:00:00 2001 From: Yikun Jiang Date: Sat, 29 Jun 2019 16:15:22 +0800 Subject: [PATCH] Add a no comments pipeline 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: https://github.com/theopenlab/openlab/issues/311 --- zuul.d/pipelines.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/zuul.d/pipelines.yaml b/zuul.d/pipelines.yaml index b54797697..148a0115c 100644 --- a/zuul.d/pipelines.yaml +++ b/zuul.d/pipelines.yaml @@ -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: |