blob: 76125a047941f8264e928c372ff57e570d7de78b [file] [log] [blame]
Hung-Wei Chiu99bff2f2020-09-17 13:05:31 -07001- project:
2 name: deploy-menlo-tost-dev
3 rancher_cluster: "tost-dev"
4 k8s_config: "tost-dev-k8s"
5 config_env: "menlo-tost-dev"
6 terraform_dir: "developing/ace-menlo"
7 #remove after migrating to terraform
8 rancher_context: "c-lggdr"
9 rancher_project: "p-npzjd"
10 rancher_server: "https://testing.aether.onlab.us/"
11 rancher_cli_api: "rancher_dev_token"
12 jobs:
13 - "deploy"
14 - "deploy-shared"
15 - "deploy-onos"
16 - "deploy-stratum"
17 - "deploy-telegraf"
18 - "deploy-fluentbit"
Hung-Wei Chiud27e33b2020-09-03 12:05:41 -070019
20- project:
Hung-Wei Chiu99bff2f2020-09-17 13:05:31 -070021 name: deploy-menlo-production
22 rancher_cluster: "production-edge-onf-menlo"
23 k8s_config: "tost-prod-k8s"
24 config_env: "menlo-prd"
25 terraform_dir: "production/ace-menlo"
26 rancher_api: "rancher_prod_terraform"
27 #remove after migrating to terraform
28 rancher_context: "c-5cfd8"
29 rancher_project: "p-htfwq"
30 rancher_server: "https://aether.onlab.us/"
31 rancher_cli_api: "rancher_prod_token"
32 scm_type: "prod-scm"
33 jobs:
34 - "deploy"
35 - "deploy-onos"
36 - "deploy-shared"
37 - "deploy-stratum"
38 - "deploy-telegraf"
39 - "deploy-fluentbit"
Hung-Wei Chiud27e33b2020-09-03 12:05:41 -070040
41- job-template:
Hung-Wei Chiu99bff2f2020-09-17 13:05:31 -070042 name: "{name}-onos"
43 id: "deploy-onos"
44 rancher_api: "Rancher_Dev_Terraform"
45 git_server: "gerrit.opencord.org"
46 git_user: "aether_jenkins"
47 git_repo: "aether-pod-configs"
48 gcp_credential: "gcp_bucket_terraform"
49 project-type: pipeline
50 disabled: true
51 pipeline-script: "tost-deploy-onos.groovy"
52 dsl: !include-raw-escape: pipeline/{pipeline-script}
53 logrotate:
54 daysToKeep: 7
55 numToKeep: 10
56 artifactDaysToKeep: 7
57 artifactNumToKeep: 10
58 parameters:
59 - string:
60 name: gcp_credential
61 default: "{gcp_credential}"
62 - string:
63 name: rancher_cluster
64 default: "{rancher_cluster}"
65 - string:
66 name: rancher_api_env
67 default: "{rancher_api}"
68 - string:
69 name: git_repo
70 default: "{git_repo}"
71 - string:
72 name: git_server
73 default: "{git_server}"
74 - string:
75 name: git_user
76 default: "{git_user}"
77 - string:
78 name: git_password_env
79 default: "gerrit_password"
80 - string:
81 name: terraform_dir
82 default: "{terraform_dir}"
83 - string:
84 name: onos_catalog_name
85 default: "onos"
86 - string:
87 name: onos_ns
88 default: "tost"
89 - string:
90 name: onos_user
91 default: "onos"
92 - string:
93 name: onos_password
94 default: "onos_password"
95 - string:
96 name: config_review
97 - string:
98 name: config_patchset
99 - string:
100 name: config_env
101 default: "{config_env}"
102 - string:
103 name: k8s_config
104 default: "{k8s_config}"
Hung-Wei Chiud27e33b2020-09-03 12:05:41 -0700105
106- job-template:
Hung-Wei Chiu99bff2f2020-09-17 13:05:31 -0700107 name: "{name}-stratum"
108 id: "deploy-stratum"
109 rancher_api: "Rancher_Dev_Terraform"
110 git_server: "gerrit.opencord.org"
111 git_user: "aether_jenkins"
112 git_repo: "aether-pod-configs"
113 gcp_credential: "gcp_bucket_terraform"
114 project-type: pipeline
115 disabled: true
116 pipeline-script: "tost-deploy-stratum.groovy"
117 dsl: !include-raw-escape: pipeline/{pipeline-script}
118 logrotate:
119 daysToKeep: 7
120 numToKeep: 10
121 artifactDaysToKeep: 7
122 artifactNumToKeep: 10
123 parameters:
124 - string:
125 name: gcp_credential
126 default: "{gcp_credential}"
127 - string:
128 name: rancher_cluster
129 default: "{rancher_cluster}"
130 - string:
131 name: rancher_api_env
132 default: "{rancher_api}"
133 - string:
134 name: git_repo
135 default: "{git_repo}"
136 - string:
137 name: git_server
138 default: "{git_server}"
139 - string:
140 name: git_user
141 default: "{git_user}"
142 - string:
143 name: git_password_env
144 default: "gerrit_password"
145 - string:
146 name: terraform_dir
147 default: "{terraform_dir}"
148 - string:
149 name: stratum_ns
150 default: "tost"
151 - string:
152 name: stratum_catalog_name
153 default: "stratum"
154 - string:
155 name: config_review
156 - string:
157 name: config_patchset
158 - string:
159 name: config_env
160 default: "{config_env}"
161 - string:
162 name: k8s_config
163 default: "{k8s_config}"
Hung-Wei Chiud27e33b2020-09-03 12:05:41 -0700164
165- job-template:
Hung-Wei Chiu99bff2f2020-09-17 13:05:31 -0700166 name: "{name}-telegraf"
167 id: "deploy-telegraf"
168 rancher_api: "Rancher_Dev_Terraform"
169 git_server: "gerrit.opencord.org"
170 git_user: "aether_jenkins"
171 git_repo: "aether-pod-configs"
172 gcp_credential: "gcp_bucket_terraform"
173 project-type: pipeline
174 disabled: true
175 pipeline-script: "tost-deploy-telegraf.groovy"
176 dsl: !include-raw-escape: pipeline/{pipeline-script}
177 logrotate:
178 daysToKeep: 7
179 numToKeep: 10
180 artifactDaysToKeep: 7
181 artifactNumToKeep: 10
182 parameters:
183 - string:
184 name: gcp_credential
185 default: "{gcp_credential}"
186 - string:
187 name: rancher_cluster
188 default: "{rancher_cluster}"
189 - string:
190 name: rancher_api_env
191 default: "{rancher_api}"
192 - string:
193 name: git_repo
194 default: "{git_repo}"
195 - string:
196 name: git_server
197 default: "{git_server}"
198 - string:
199 name: git_user
200 default: "{git_user}"
201 - string:
202 name: terraform_dir
203 default: "{terraform_dir}"
204 - string:
205 name: telegraf_ns
206 default: "tost"
207 - string:
208 name: config_review
209 - string:
210 name: config_patchset
211 - string:
212 name: config_env
213 default: "{config_env}"
214 - string:
215 name: k8s_config
216 default: "{k8s_config}"
Hung-Wei Chiud27e33b2020-09-03 12:05:41 -0700217
218- job-template:
Hung-Wei Chiu99bff2f2020-09-17 13:05:31 -0700219 name: "{name}-fluentbit"
220 id: "deploy-fluentbit"
221 # Remove after migrating to Terraform
222 rancher_cli_api: "rancher_dev_token"
223 # End of parametes
224 rancher_api: "Rancher_Dev_Terraform"
225 git_server: "gerrit.opencord.org"
226 git_user: "aether_jenkins"
227 git_repo: "aether-pod-configs"
228 gcp_credential: "gcp_bucket_terraform"
229 project-type: pipeline
230 disabled: true
231 pipeline-script: "tost-deploy-fluentbit.groovy"
232 dsl: !include-raw-escape: pipeline/{pipeline-script}
233 logrotate:
234 daysToKeep: 7
235 numToKeep: 10
236 artifactDaysToKeep: 7
237 artifactNumToKeep: 10
238 parameters:
239 # Remove after migrating to Terraform
240 - string:
241 name: rancher_cli_env
242 default: "{rancher_cli_api}"
243 - string:
244 name: rancher_server
245 default: "{rancher_server}"
246 - string:
247 name: rancher_context
248 default: "{rancher_context}"
249 - string:
250 name: rancher_project
251 default: "{rancher_project}"
252 # End of parametes
253 - string:
254 name: gcp_credential
255 default: "{gcp_credential}"
256 - string:
257 name: rancher_cluster
258 default: "{rancher_cluster}"
259 - string:
260 name: rancher_api_env
261 default: "{rancher_api}"
262 - string:
263 name: git_repo
264 default: "{git_repo}"
265 - string:
266 name: git_server
267 default: "{git_server}"
268 - string:
269 name: git_user
270 default: "{git_user}"
271 - string:
272 name: terraform_dir
273 default: "{terraform_dir}"
274 - string:
275 name: fluentbit_ns
276 default: "logging"
277 - string:
278 name: config_review
279 - string:
280 name: config_patchset
281 - string:
282 name: config_env
283 default: "{config_env}"
284 - string:
285 name: k8s_config
286 default: "{k8s_config}"
Hung-Wei Chiud27e33b2020-09-03 12:05:41 -0700287
288- job-template:
Hung-Wei Chiu99bff2f2020-09-17 13:05:31 -0700289 name: "{name}"
290 id: "deploy"
291 git_server: "gerrit.opencord.org"
292 git_user: "aether_jenkins"
293 git_repo: "aether-pod-configs"
294 rancher_api: "Rancher_Dev_Terraform"
295 gcp_credential: "gcp_bucket_terraform"
296 project-type: pipeline
297 disabled: true
298 pipeline-script: "tost-deploy.groovy"
299 dsl: !include-raw-escape: pipeline/{pipeline-script}
300 logrotate:
301 daysToKeep: 7
302 numToKeep: 10
303 artifactDaysToKeep: 7
304 artifactNumToKeep: 10
305 parameters:
306 - string:
307 name: job_name
308 default: "{name}"
309 - string:
310 name: gcp_credential
311 default: "{gcp_credential}"
312 - string:
313 name: target_server
314 - string:
315 name: k8s_config
316 default: "{k8s_config}"
317 - string:
318 name: rancher_api_env
319 default: "{rancher_api}"
320 - string:
321 name: git_repo
322 default: "{git_repo}"
323 - string:
324 name: git_server
325 default: "{git_server}"
326 - string:
327 name: git_user
328 default: "{git_user}"
329 - string:
330 name: rancher_cluster
331 default: "{rancher_cluster}"
332 - string:
333 name: terraform_dir
334 default: "{terraform_dir}"
335 - string:
336 name: config_review
337 - string:
338 name: config_patchset
339
340- job-template:
341 name: "{name}-shared"
342 id: "deploy-shared"
343 registry_server: "registry.aetherproject.org"
344 registry_user: "admin"
345 target_namespace: "tost"
346 project-type: pipeline
347 disabled: true
348 pipeline-script: "tost-deploy-shared.groovy"
349 dsl: !include-raw-escape: pipeline/{pipeline-script}
350 logrotate:
351 daysToKeep: 7
352 numToKeep: 10
353 artifactDaysToKeep: 7
354 artifactNumToKeep: 10
355 parameters:
356 - string:
357 name: job_name
358 default: "{name}"
359 - string:
360 name: registry_server
361 default: "{registry_server}"
362 - string:
363 name: registry_user
364 default: "{registry_user}"
365 - string:
366 name: registry_password_env
367 default: "aether_registry_password"
368 - string:
369 name: target_namespace
370 default: "{target_namespace}"
371 - string:
372 name: k8s_config
373 default: "{k8s_config}"