blob: 0e21d57d4ab2dac6f72a8d04f68a35cb225fd8c0 [file] [log] [blame]
James E. Blair47958382013-01-10 17:26:02 -08001includes:
2 - python-file: openstack_functions.py
3
4pipelines:
5 - name: check
6 manager: IndependentPipelineManager
Joshua Hesketh66c8e522014-06-26 15:30:08 +10007 require:
8 open: True
9 current-patchset: True
James E. Blair47958382013-01-10 17:26:02 -080010 trigger:
Joshua Hesketh352264b2015-08-11 23:42:08 +100011 review_gerrit:
James E. Blair6c358e72013-07-29 17:06:47 -070012 - event: patchset-created
Joshua Hesketh66c8e522014-06-26 15:30:08 +100013 - event: comment-added
14 require-approval:
15 - verified: [-1, -2]
16 username: jenkins
17 approval:
18 - workflow: 1
James E. Blair47958382013-01-10 17:26:02 -080019 success:
Joshua Hesketh352264b2015-08-11 23:42:08 +100020 review_gerrit:
Joshua Hesketh1879cf72013-08-19 14:13:15 +100021 verified: 1
James E. Blair47958382013-01-10 17:26:02 -080022 failure:
Joshua Hesketh352264b2015-08-11 23:42:08 +100023 review_gerrit:
Joshua Hesketh1879cf72013-08-19 14:13:15 +100024 verified: -1
James E. Blair47958382013-01-10 17:26:02 -080025
26 - name: post
27 manager: IndependentPipelineManager
28 trigger:
Joshua Hesketh352264b2015-08-11 23:42:08 +100029 review_gerrit:
James E. Blair6c358e72013-07-29 17:06:47 -070030 - event: ref-updated
31 ref: ^(?!refs/).*$
K Jonathan Harkerf95e7232015-04-29 13:33:16 -070032 ignore-deletes: True
James E. Blair47958382013-01-10 17:26:02 -080033
34 - name: gate
35 manager: DependentPipelineManager
James E. Blair56370192013-01-14 15:47:28 -080036 success-message: Your change is awesome.
37 failure-message: Build failed. For information on how to proceed, see http://wiki.example.org/Test_Failures
Joshua Hesketh66c8e522014-06-26 15:30:08 +100038 require:
39 open: True
40 current-patchset: True
41 approval:
42 - verified: [1, 2]
43 username: jenkins
44 - workflow: 1
45 reject:
46 approval:
47 - code-review: [-1, -2]
James E. Blair47958382013-01-10 17:26:02 -080048 trigger:
Joshua Hesketh352264b2015-08-11 23:42:08 +100049 review_gerrit:
James E. Blair6c358e72013-07-29 17:06:47 -070050 - event: comment-added
51 approval:
52 - approved: 1
James E. Blair47958382013-01-10 17:26:02 -080053 start:
Joshua Hesketh352264b2015-08-11 23:42:08 +100054 review_gerrit:
Joshua Hesketh1879cf72013-08-19 14:13:15 +100055 verified: 0
56 success:
Joshua Hesketh352264b2015-08-11 23:42:08 +100057 review_gerrit:
Joshua Hesketh1879cf72013-08-19 14:13:15 +100058 verified: 2
59 code-review: 1
60 submit: true
61 failure:
Joshua Hesketh352264b2015-08-11 23:42:08 +100062 review_gerrit:
Joshua Hesketh1879cf72013-08-19 14:13:15 +100063 verified: -2
64 workinprogress: true
James E. Blair47958382013-01-10 17:26:02 -080065
James E. Blair17dd6772015-02-09 14:45:18 -080066 - name: merge-check
67 manager: IndependentPipelineManager
Joshua Hesketh352264b2015-08-11 23:42:08 +100068 source: review_gerrit
James E. Blair17dd6772015-02-09 14:45:18 -080069 ignore-dependencies: true
70 trigger:
71 zuul:
72 - event: project-change-merged
73 merge-failure:
Joshua Hesketh352264b2015-08-11 23:42:08 +100074 review_gerrit:
James E. Blair17dd6772015-02-09 14:45:18 -080075 verified: -1
76
James E. Blair47958382013-01-10 17:26:02 -080077jobs:
78 - name: ^.*-merge$
79 failure-message: Unable to merge change
80 hold-following-changes: true
81 - name: test-merge
82 parameter-function: devstack_params
83 - name: test-test
84 - name: test-merge2
85 success-pattern: http://logs.example.com/{change.number}/{change.patchset}/{pipeline.name}/{job.name}/{build.number}/success
86 failure-pattern: http://logs.example.com/{change.number}/{change.patchset}/{pipeline.name}/{job.name}/{build.number}/fail
James E. Blair70c71582013-03-06 08:50:50 -080087 - name: project-testfile
88 files:
89 - 'tools/.*-requires'
James E. Blair47958382013-01-10 17:26:02 -080090
91projects:
92 - name: test-org/test
93 merge-mode: cherry-pick
94 check:
95 - test-merge2:
96 - test-thing1:
97 - test-thing2
98 - test-thing3
99 gate:
100 - test-thing
101 post:
102 - test-post