blob: fe1edcd0cea77eb4f6b850892954d7157b117bd3 [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:
69 - master
70 message:
71 build_successful: "Build successful"
72 build_unstable: "Build unstable"
73 build_failure: "Build failed"
74 event:
75 ref:
76 - updated
Filip Pytloun7af94b32017-03-14 18:38:52 +010077 param:
78 SOURCE_URL:
79 type: string
80 default: "${_param:jenkins_gerrit_url}/contrail/{{name}}.git"
81 TARGET_URL:
82 type: string
83 default: "git@github.com:Mirantis/{{name}}.git"
84 CREDENTIALS_ID:
85 type: string
86 default: "gerrit"
87 BRANCHES:
88 type: string
89 default: "{{branches}}"
90 job:
91 git-mirror-upstream-ifmap-python-client:
92 discard:
93 build:
94 keep_num: 10
95 artifact:
96 keep_num: 10
97 type: workflow-scm
98 concurrent: false
99 scm:
100 type: git
101 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
102 credentials: "gerrit"
103 script: git-mirror-pipeline.groovy
104 github:
105 url: "https://github.com/tcpcloud/ifmap-python-client"
106 param:
107 SOURCE_URL:
108 type: string
109 default: "${_param:jenkins_gerrit_url}/contrail/ifmap-python-client.git"
110 TARGET_URL:
111 type: string
112 default: "git@github.com:Mirantis/ifmap-python-client.git"
113 CREDENTIALS_ID:
114 type: string
115 default: "gerrit"
116 BRANCHES:
117 type: string
118 default: "master"
119 # XXX: this one ccp- prefixed is kind-of obsolete and should be
120 # removed
121 git-mirror-upstream-ccp-contrail-pipeline:
122 discard:
123 build:
124 keep_num: 10
125 artifact:
126 keep_num: 10
127 type: workflow-scm
128 concurrent: false
129 scm:
130 type: git
131 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
132 credentials: "gerrit"
133 script: git-mirror-pipeline.groovy
134 github:
135 url: https://github.com/Mirantis/ccp-contrail-pipeline
136 trigger:
137 gerrit:
138 project:
139 contrail/contrail-pipeline:
140 branches:
141 - master
142 message:
143 build_successful: "Build successful"
144 build_unstable: "Build unstable"
145 build_failure: "Build failed"
146 event:
147 ref:
148 - updated
149 param:
150 SOURCE_URL:
151 type: string
152 default: "${_param:jenkins_contrail_pipeline}"
153 TARGET_URL:
154 type: string
155 default: "git@github.com:Mirantis/ccp-contrail-pipeline.git"
156 CREDENTIALS_ID:
157 type: string
158 default: "gerrit"
159 BRANCHES:
160 type: string
161 default: master
162 git-mirror-upstream-contrail-pipeline:
163 discard:
164 build:
165 keep_num: 10
166 artifact:
167 keep_num: 10
168 type: workflow-scm
169 concurrent: false
170 scm:
171 type: git
172 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
173 credentials: "gerrit"
174 script: git-mirror-pipeline.groovy
175 github:
176 url: https://github.com/Mirantis/contrail-pipeline
177 trigger:
178 gerrit:
179 project:
180 contrail/contrail-pipeline:
181 branches:
182 - master
183 message:
184 build_successful: "Build successful"
185 build_unstable: "Build unstable"
186 build_failure: "Build failed"
187 event:
188 ref:
189 - updated
190 param:
191 SOURCE_URL:
192 type: string
193 default: "${_param:jenkins_contrail_pipeline}"
194 TARGET_URL:
195 type: string
196 default: "git@github.com:Mirantis/contrail-pipeline.git"
197 CREDENTIALS_ID:
198 type: string
199 default: "gerrit"
200 BRANCHES:
201 type: string
202 default: master