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