Specify gerrit triggers

Needed once https://review.openstack.org/#/c/39186/ is merged.

Change-Id: Idba2f0a8ec30f838c6ed3acb41c0e617df5afb8d
This commit is contained in:
James E. Blair 2013-07-31 14:31:45 -07:00
parent fb99b4fa74
commit 676e0e5782
2 changed files with 27 additions and 20 deletions

View File

@ -6,9 +6,10 @@ pipelines:
description: This pipeline is used for silently testing new jobs.
manager: IndependentPipelineManager
trigger:
- event: patchset-created
- event: comment-added
comment_filter: (?i)^\s*recheck(( (?:bug|lp)[\s#:]*(\d+))|( no bug))\s*$
gerrit:
- event: patchset-created
- event: comment-added
comment_filter: (?i)^\s*recheck(( (?:bug|lp)[\s#:]*(\d+))|( no bug))\s*$
jobs:

View File

@ -8,9 +8,10 @@ pipelines:
manager: IndependentPipelineManager
precedence: low
trigger:
- event: patchset-created
- event: comment-added
comment_filter: (?i)^\s*recheck(( (?:bug|lp)[\s#:]*(\d+))|( no bug))\s*$
gerrit:
- event: patchset-created
- event: comment-added
comment_filter: (?i)^\s*recheck(( (?:bug|lp)[\s#:]*(\d+))|( no bug))\s*$
success:
verified: 1
failure:
@ -22,11 +23,12 @@ pipelines:
manager: DependentPipelineManager
precedence: high
trigger:
- event: comment-added
approval:
- approved: 1
- event: comment-added
comment_filter: (?i)^\s*reverify(( (?:bug|lp)[\s#:]*(\d+))|( no bug))\s*$
gerrit:
- event: comment-added
approval:
- approved: 1
- event: comment-added
comment_filter: (?i)^\s*reverify(( (?:bug|lp)[\s#:]*(\d+))|( no bug))\s*$
start:
verified: 0
success:
@ -39,33 +41,37 @@ pipelines:
description: This pipeline runs jobs that operate after each change is merged.
manager: IndependentPipelineManager
trigger:
- event: ref-updated
ref: ^(?!(devnull|refs/.*)).*$
gerrit:
- event: ref-updated
ref: ^(?!(devnull|refs/.*)).*$
- name: pre-release
description: This pipeline runs jobs on projects in response to pre-release tags.
manager: IndependentPipelineManager
precedence: high
trigger:
- event: ref-updated
ref: ^refs/tags/([0-9]+\.)+[0-9]*(alpha|beta|candidate|rc|a|b|c|r|g)[0-9]*$
gerrit:
- event: ref-updated
ref: ^refs/tags/([0-9]+\.)+[0-9]*(alpha|beta|candidate|rc|a|b|c|r|g)[0-9]*$
- name: release
description: When a commit is tagged as a release, this pipeline runs jobs that publish archives and documentation.
manager: IndependentPipelineManager
precedence: high
trigger:
- event: ref-updated
ref: ^refs/tags/([0-9]+\.)+[0-9]+$
gerrit:
- event: ref-updated
ref: ^refs/tags/([0-9]+\.)+[0-9]+$
- name: silent
description: This pipeline is used for silently testing new jobs.
manager: IndependentPipelineManager
precedence: low
trigger:
- event: patchset-created
- event: comment-added
comment_filter: (?i)^\s*recheck(( (?:bug|lp)[\s#:]*(\d+))|( no bug))\s*$
gerrit:
- event: patchset-created
- event: comment-added
comment_filter: (?i)^\s*recheck(( (?:bug|lp)[\s#:]*(\d+))|( no bug))\s*$
jobs: