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