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