blob: fa9bc5bac0d3939ab8491a0d698425b56b5011b6 [file] [log] [blame]
Filip Pytloun7af94b32017-03-14 18:38:52 +01001parameters:
Filip Pytlouna83bbee2017-03-15 18:13:59 +01002 _param:
3 jenkins_pollscm_spec: "H/60 * * * *"
4 jenkins_contrail_pipeline: "${_param:jenkins_gerrit_url}/contrail/contrail-pipeline"
Filip Pytloun7af94b32017-03-14 18:38:52 +01005 jenkins:
6 client:
7 job_template:
8 git-mirror-upstream:
9 name: git-mirror-upstream-{{name}}
10 jobs:
11 - name: contrail-build
12 branches: ${_param:contrail_branches}
13 - name: contrail-controller
14 branches: ${_param:contrail_branches}
15 - name: contrail-vrouter
16 branches: ${_param:contrail_branches}
17 - name: contrail-third-party
18 branches: ${_param:contrail_branches}
19 - name: contrail-generateDS
20 branches: ${_param:contrail_branches}
21 - name: contrail-sandesh
22 branches: ${_param:contrail_branches}
23 - name: contrail-packages
24 branches: ${_param:contrail_branches}
25 - name: contrail-nova-vif-driver
26 branches: ${_param:contrail_branches}
27 - name: contrail-neutron-plugin
28 branches: ${_param:contrail_branches}
29 - name: contrail-nova-extensions
30 branches: ${_param:contrail_branches}
31 - name: contrail-ceilometer-plugin
32 branches: ${_param:contrail_ceilometer_plugin_branches}
33 - name: contrail-heat
34 branches: ${_param:contrail_branches}
35 - name: contrail-web-storage
36 branches: ${_param:contrail_branches}
37 - name: contrail-web-server-manager
38 branches: ${_param:contrail_branches}
39 - name: contrail-web-controller
40 branches: ${_param:contrail_branches}
41 - name: contrail-web-core
42 branches: ${_param:contrail_branches}
43 - name: contrail-webui-third-party
44 branches: ${_param:contrail_branches}
45 - name: contrail-dpdk-extra-packages
46 branches: ${_param:contrail_dpdk_extra_branches}
chnydacb9ca9a2017-04-26 15:55:19 +020047 - name: contrail-dpdk
48 branches: ${_param:contrail_dpdk_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010049 template:
50 discard:
51 build:
52 keep_num: 10
53 artifact:
54 keep_num: 10
55 type: workflow-scm
56 concurrent: false
57 scm:
58 type: git
59 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
60 credentials: "gerrit"
61 script: git-mirror-pipeline.groovy
62 github:
63 url: "https://github.com/Mirantis/{{name}}"
64 trigger:
chnydabbef7e32017-08-15 10:04:48 +020065 gerrit:
66 project:
67 contrail/{{name}}:
68 branches:
chnyda9b85a382017-08-16 10:46:41 +020069 - compare_type: "REG_EXP"
chnydac5df34a2017-08-17 16:30:27 +020070 name: ".*"
chnydabbef7e32017-08-15 10:04:48 +020071 message:
72 build_successful: "Build successful"
73 build_unstable: "Build unstable"
74 build_failure: "Build failed"
75 event:
76 ref:
77 - updated
Filip Pytloun7af94b32017-03-14 18:38:52 +010078 param:
79 SOURCE_URL:
80 type: string
81 default: "${_param:jenkins_gerrit_url}/contrail/{{name}}.git"
82 TARGET_URL:
83 type: string
84 default: "git@github.com:Mirantis/{{name}}.git"
85 CREDENTIALS_ID:
86 type: string
87 default: "gerrit"
88 BRANCHES:
89 type: string
90 default: "{{branches}}"
91 job:
92 git-mirror-upstream-ifmap-python-client:
93 discard:
94 build:
95 keep_num: 10
96 artifact:
97 keep_num: 10
98 type: workflow-scm
99 concurrent: false
100 scm:
101 type: git
102 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
103 credentials: "gerrit"
104 script: git-mirror-pipeline.groovy
105 github:
106 url: "https://github.com/tcpcloud/ifmap-python-client"
107 param:
108 SOURCE_URL:
109 type: string
110 default: "${_param:jenkins_gerrit_url}/contrail/ifmap-python-client.git"
111 TARGET_URL:
112 type: string
113 default: "git@github.com:Mirantis/ifmap-python-client.git"
114 CREDENTIALS_ID:
115 type: string
116 default: "gerrit"
117 BRANCHES:
118 type: string
119 default: "master"
120 # XXX: this one ccp- prefixed is kind-of obsolete and should be
121 # removed
122 git-mirror-upstream-ccp-contrail-pipeline:
123 discard:
124 build:
125 keep_num: 10
126 artifact:
127 keep_num: 10
128 type: workflow-scm
129 concurrent: false
130 scm:
131 type: git
132 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
133 credentials: "gerrit"
134 script: git-mirror-pipeline.groovy
135 github:
136 url: https://github.com/Mirantis/ccp-contrail-pipeline
137 trigger:
138 gerrit:
139 project:
140 contrail/contrail-pipeline:
141 branches:
142 - master
143 message:
144 build_successful: "Build successful"
145 build_unstable: "Build unstable"
146 build_failure: "Build failed"
147 event:
148 ref:
149 - updated
150 param:
151 SOURCE_URL:
152 type: string
153 default: "${_param:jenkins_contrail_pipeline}"
154 TARGET_URL:
155 type: string
156 default: "git@github.com:Mirantis/ccp-contrail-pipeline.git"
157 CREDENTIALS_ID:
158 type: string
159 default: "gerrit"
160 BRANCHES:
161 type: string
162 default: master
163 git-mirror-upstream-contrail-pipeline:
164 discard:
165 build:
166 keep_num: 10
167 artifact:
168 keep_num: 10
169 type: workflow-scm
170 concurrent: false
171 scm:
172 type: git
173 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
174 credentials: "gerrit"
175 script: git-mirror-pipeline.groovy
176 github:
177 url: https://github.com/Mirantis/contrail-pipeline
178 trigger:
179 gerrit:
180 project:
181 contrail/contrail-pipeline:
182 branches:
183 - master
184 message:
185 build_successful: "Build successful"
186 build_unstable: "Build unstable"
187 build_failure: "Build failed"
188 event:
189 ref:
190 - updated
191 param:
192 SOURCE_URL:
193 type: string
194 default: "${_param:jenkins_contrail_pipeline}"
195 TARGET_URL:
196 type: string
197 default: "git@github.com:Mirantis/contrail-pipeline.git"
198 CREDENTIALS_ID:
199 type: string
200 default: "gerrit"
201 BRANCHES:
202 type: string
203 default: master