blob: d36d725e7c5f55c8e2c291e3373e0e6417076cb8 [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}
Jan Cachc41126f2018-03-26 12:54:21 +020049 - name: contrail-third-party-cache-fixup
50 branches: ${_param:contrail_third_party_cache_fixup_branches}
Jan Cach1d0199a2018-07-03 10:16:18 +020051 - name: contrail-common
52 branches: ${_param:oc5_branches}
53 - name: contrail-analytics
54 branches: ${_param:oc5_branches}
55 - name: contrail-api-client
56 branches: ${_param:oc5_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010057 template:
58 discard:
59 build:
60 keep_num: 10
61 artifact:
62 keep_num: 10
63 type: workflow-scm
64 concurrent: false
65 scm:
66 type: git
67 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010068 branch: "${_param:jenkins_pipelines_branch}"
Filip Pytloun7af94b32017-03-14 18:38:52 +010069 credentials: "gerrit"
70 script: git-mirror-pipeline.groovy
71 github:
72 url: "https://github.com/Mirantis/{{name}}"
73 trigger:
chnydabbef7e32017-08-15 10:04:48 +020074 gerrit:
75 project:
76 contrail/{{name}}:
77 branches:
chnyda9b85a382017-08-16 10:46:41 +020078 - compare_type: "REG_EXP"
chnydac5df34a2017-08-17 16:30:27 +020079 name: ".*"
chnydabbef7e32017-08-15 10:04:48 +020080 message:
81 build_successful: "Build successful"
82 build_unstable: "Build unstable"
83 build_failure: "Build failed"
84 event:
85 ref:
86 - updated
Filip Pytloun7af94b32017-03-14 18:38:52 +010087 param:
88 SOURCE_URL:
89 type: string
90 default: "${_param:jenkins_gerrit_url}/contrail/{{name}}.git"
91 TARGET_URL:
92 type: string
93 default: "git@github.com:Mirantis/{{name}}.git"
94 CREDENTIALS_ID:
95 type: string
96 default: "gerrit"
97 BRANCHES:
98 type: string
99 default: "{{branches}}"
100 job:
101 git-mirror-upstream-ifmap-python-client:
102 discard:
103 build:
104 keep_num: 10
105 artifact:
106 keep_num: 10
107 type: workflow-scm
108 concurrent: false
109 scm:
110 type: git
111 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +0100112 branch: "${_param:jenkins_pipelines_branch}"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100113 credentials: "gerrit"
114 script: git-mirror-pipeline.groovy
115 github:
116 url: "https://github.com/tcpcloud/ifmap-python-client"
117 param:
118 SOURCE_URL:
119 type: string
120 default: "${_param:jenkins_gerrit_url}/contrail/ifmap-python-client.git"
121 TARGET_URL:
122 type: string
123 default: "git@github.com:Mirantis/ifmap-python-client.git"
124 CREDENTIALS_ID:
125 type: string
126 default: "gerrit"
127 BRANCHES:
128 type: string
129 default: "master"
130 # XXX: this one ccp- prefixed is kind-of obsolete and should be
131 # removed
132 git-mirror-upstream-ccp-contrail-pipeline:
133 discard:
134 build:
135 keep_num: 10
136 artifact:
137 keep_num: 10
138 type: workflow-scm
139 concurrent: false
140 scm:
141 type: git
142 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +0100143 branch: "${_param:jenkins_pipelines_branch}"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100144 credentials: "gerrit"
145 script: git-mirror-pipeline.groovy
146 github:
147 url: https://github.com/Mirantis/ccp-contrail-pipeline
148 trigger:
149 gerrit:
150 project:
151 contrail/contrail-pipeline:
152 branches:
153 - master
154 message:
155 build_successful: "Build successful"
156 build_unstable: "Build unstable"
157 build_failure: "Build failed"
158 event:
159 ref:
160 - updated
161 param:
162 SOURCE_URL:
163 type: string
164 default: "${_param:jenkins_contrail_pipeline}"
165 TARGET_URL:
166 type: string
167 default: "git@github.com:Mirantis/ccp-contrail-pipeline.git"
168 CREDENTIALS_ID:
169 type: string
170 default: "gerrit"
171 BRANCHES:
172 type: string
173 default: master
174 git-mirror-upstream-contrail-pipeline:
175 discard:
176 build:
177 keep_num: 10
178 artifact:
179 keep_num: 10
180 type: workflow-scm
181 concurrent: false
182 scm:
183 type: git
184 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +0100185 branch: "${_param:jenkins_pipelines_branch}"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100186 credentials: "gerrit"
187 script: git-mirror-pipeline.groovy
188 github:
189 url: https://github.com/Mirantis/contrail-pipeline
190 trigger:
191 gerrit:
192 project:
193 contrail/contrail-pipeline:
194 branches:
195 - master
196 message:
197 build_successful: "Build successful"
198 build_unstable: "Build unstable"
199 build_failure: "Build failed"
200 event:
201 ref:
202 - updated
203 param:
204 SOURCE_URL:
205 type: string
206 default: "${_param:jenkins_contrail_pipeline}"
207 TARGET_URL:
208 type: string
209 default: "git@github.com:Mirantis/contrail-pipeline.git"
210 CREDENTIALS_ID:
211 type: string
212 default: "gerrit"
213 BRANCHES:
214 type: string
215 default: master