armband: Use labels for pods and schedule jobs
[releng.git] / jjb / opnfv / slave-params.yml
1 #####################################################
2 # Parameters for slaves using old labels
3 # This will be cleaned up once the new job structure and
4 # use of the new labels are in place
5 #####################################################
6 - parameter:
7     name: 'apex-daily-master-defaults'
8     parameters:
9         - label:
10             name: SLAVE_LABEL
11             default: 'apex-daily-master'
12         - string:
13             name: GIT_BASE
14             default: https://gerrit.opnfv.org/gerrit/$PROJECT
15             description: 'Git URL to use on this Jenkins Slave'
16         - string:
17             name: SSH_KEY
18             default: /root/.ssh/id_rsa
19             description: 'SSH key to use for Apex'
20         - node:
21             name: SLAVE_NAME
22             description: 'Slave name on Jenkins'
23             allowed-slaves:
24                 - lf-pod1
25             default-slaves:
26                 - lf-pod1
27 - parameter:
28     name: 'apex-daily-colorado-defaults'
29     parameters:
30         - label:
31             name: SLAVE_LABEL
32             default: 'apex-daily-colorado'
33         - string:
34             name: GIT_BASE
35             default: https://gerrit.opnfv.org/gerrit/$PROJECT
36             description: 'Git URL to use on this Jenkins Slave'
37         - string:
38             name: SSH_KEY
39             default: /root/.ssh/id_rsa
40             description: 'SSH key to use for Apex'
41         - node:
42             name: SLAVE_NAME
43             description: 'Slave name on Jenkins'
44             allowed-slaves:
45                 - lf-pod1
46             default-slaves:
47                 - lf-pod1
48 - parameter:
49     name: 'apex-verify-master-defaults'
50     parameters:
51         - label:
52             name: SLAVE_LABEL
53             default: 'apex-verify-master'
54         - string:
55             name: GIT_BASE
56             default: https://gerrit.opnfv.org/gerrit/$PROJECT
57             description: 'Git URL to use on this Jenkins Slave'
58         - string:
59             name: SSH_KEY
60             default: /root/.ssh/id_rsa
61             description: 'SSH key to use for Apex'
62         - node:
63             name: SLAVE_NAME
64             description: 'Slave name on Jenkins'
65             allowed-slaves:
66                 - intel-virtual3
67                 - intel-virtual4
68                 - intel-virtual5
69             default-slaves:
70                 - intel-virtual3
71                 - intel-virtual4
72                 - intel-virtual5
73 - parameter:
74     name: 'apex-verify-colorado-defaults'
75     parameters:
76         - label:
77             name: SLAVE_LABEL
78             default: 'apex-verify-colorado'
79         - string:
80             name: GIT_BASE
81             default: https://gerrit.opnfv.org/gerrit/$PROJECT
82             description: 'Git URL to use on this Jenkins Slave'
83         - string:
84             name: SSH_KEY
85             default: /root/.ssh/id_rsa
86             description: 'SSH key to use for Apex'
87         - node:
88             name: SLAVE_NAME
89             description: 'Slave name on Jenkins'
90             allowed-slaves:
91                 - intel-virtual3
92                 - intel-virtual4
93                 - intel-virtual5
94             default-slaves:
95                 - intel-virtual3
96                 - intel-virtual4
97                 - intel-virtual5
98 - parameter:
99     name: 'lf-pod1-defaults'
100     parameters:
101         - node:
102             name: SLAVE_NAME
103             description: 'Slave name on Jenkins'
104             allowed-slaves:
105                 - lf-pod1
106             default-slaves:
107                 - lf-pod1
108         - string:
109             name: GIT_BASE
110             default: https://gerrit.opnfv.org/gerrit/$PROJECT
111             description: 'Git URL to use on this Jenkins Slave'
112         - string:
113             name: SSH_KEY
114             default: /root/.ssh/id_rsa
115             description: 'SSH key to use for Apex'
116 #####################################################
117 # Parameters for CI baremetal PODs
118 #####################################################
119 - parameter:
120     name: 'apex-baremetal-defaults'
121     parameters:
122         - label:
123             name: SLAVE_LABEL
124             default: 'apex-baremetal'
125         - string:
126             name: GIT_BASE
127             default: https://gerrit.opnfv.org/gerrit/$PROJECT
128             description: 'Git URL to use on this Jenkins Slave'
129         - string:
130             name: SSH_KEY
131             default: /root/.ssh/id_rsa
132             description: 'SSH key to use for Apex'
133 - parameter:
134     name: 'compass-baremetal-defaults'
135     parameters:
136         - label:
137             name: SLAVE_LABEL
138             default: 'compass-baremetal'
139         - string:
140             name: GIT_BASE
141             default: https://gerrit.opnfv.org/gerrit/$PROJECT
142             description: 'Git URL to use on this Jenkins Slave'
143 - parameter:
144     name: 'fuel-baremetal-defaults'
145     parameters:
146         - label:
147             name: SLAVE_LABEL
148             default: 'fuel-baremetal'
149         - string:
150             name: GIT_BASE
151             default: https://gerrit.opnfv.org/gerrit/$PROJECT
152             description: 'Git URL to use on this Jenkins Slave'
153 - parameter:
154     name: 'armband-baremetal-defaults'
155     parameters:
156         - label:
157             name: SLAVE_LABEL
158             default: 'armband-baremetal'
159         - string:
160             name: GIT_BASE
161             default: https://gerrit.opnfv.org/gerrit/$PROJECT
162             description: 'Git URL to use on this Jenkins Slave'
163 - parameter:
164     name: 'joid-baremetal-defaults'
165     parameters:
166         - label:
167             name: SLAVE_LABEL
168             default: 'joid-baremetal'
169         - string:
170             name: GIT_BASE
171             default: https://gerrit.opnfv.org/gerrit/$PROJECT
172             description: 'Git URL to use on this Jenkins Slave'
173         - string:
174             name: EXTERNAL_NETWORK
175             default: ext-net
176             description: "External network floating ips"
177 #####################################################
178 # Parameters for CI virtual PODs
179 #####################################################
180 - parameter:
181     name: 'apex-virtual-defaults'
182     parameters:
183         - label:
184             name: SLAVE_LABEL
185             default: 'apex-virtual'
186         - string:
187             name: GIT_BASE
188             default: https://gerrit.opnfv.org/gerrit/$PROJECT
189             description: 'Git URL to use on this Jenkins Slave'
190         - string:
191             name: SSH_KEY
192             default: /root/.ssh/id_rsa
193             description: 'SSH key to use for Apex'
194 - parameter:
195     name: 'compass-virtual-defaults'
196     parameters:
197         - label:
198             name: SLAVE_LABEL
199             default: 'compass-virtual'
200         - string:
201             name: GIT_BASE
202             default: https://gerrit.opnfv.org/gerrit/$PROJECT
203             description: 'Git URL to use on this Jenkins Slave'
204 - parameter:
205     name: 'fuel-virtual-defaults'
206     parameters:
207         - label:
208             name: SLAVE_LABEL
209             default: 'fuel-virtual'
210         - string:
211             name: GIT_BASE
212             default: https://gerrit.opnfv.org/gerrit/$PROJECT
213             description: 'Git URL to use on this Jenkins Slave'
214 - parameter:
215     name: 'armband-virtual-defaults'
216     parameters:
217         - label:
218             name: SLAVE_LABEL
219             default: 'armband-virtual'
220         - string:
221             name: GIT_BASE
222             default: https://gerrit.opnfv.org/gerrit/$PROJECT
223             description: 'Git URL to use on this Jenkins Slave'
224 - parameter:
225     name: 'joid-virtual-defaults'
226     parameters:
227         - label:
228             name: SLAVE_LABEL
229             default: 'joid-virtual'
230         - string:
231             name: GIT_BASE
232             default: https://gerrit.opnfv.org/gerrit/$PROJECT
233             description: 'Git URL to use on this Jenkins Slave'
234 - parameter:
235     name: 'infra-virtual-defaults'
236     parameters:
237         - label:
238             name: SLAVE_LABEL
239             default: 'infra-virtual'
240         - string:
241             name: GIT_BASE
242             default: https://gerrit.opnfv.org/gerrit/$PROJECT
243             description: 'Git URL to use on this Jenkins Slave'
244 #####################################################
245 # Parameters for build slaves
246 #####################################################
247 - parameter:
248     name: 'opnfv-build-arm-defaults'
249     parameters:
250         - label:
251             name: SLAVE_LABEL
252             default: 'opnfv-build-arm'
253         - string:
254             name: GIT_BASE
255             default: https://gerrit.opnfv.org/gerrit/$PROJECT
256             description: 'Git URL to use on this Jenkins Slave'
257         - string:
258             name: BUILD_DIRECTORY
259             default: $WORKSPACE/build_output
260             description: "Directory where the build artifact will be located upon the completion of the build."
261 - parameter:
262     name: 'opnfv-build-centos-defaults'
263     parameters:
264         - label:
265             name: SLAVE_LABEL
266             default: 'opnfv-build-centos'
267         - string:
268             name: GIT_BASE
269             default: https://gerrit.opnfv.org/gerrit/$PROJECT
270             description: 'Git URL to use on this Jenkins Slave'
271         - string:
272             name: BUILD_DIRECTORY
273             default: $WORKSPACE/build_output
274             description: "Directory where the build artifact will be located upon the completion of the build."
275 - parameter:
276     name: 'opnfv-build-ubuntu-defaults'
277     parameters:
278         - label:
279             name: SLAVE_LABEL
280             default: 'opnfv-build-ubuntu'
281             description: 'Slave label on Jenkins'
282         - string:
283             name: GIT_BASE
284             default: https://gerrit.opnfv.org/gerrit/$PROJECT
285             description: 'Git URL to use on this Jenkins Slave'
286         - string:
287             name: BUILD_DIRECTORY
288             default: $WORKSPACE/build_output
289             description: "Directory where the build artifact will be located upon the completion of the build."
290 - parameter:
291     name: 'opnfv-build-defaults'
292     parameters:
293         - label:
294             name: SLAVE_LABEL
295             default: 'opnfv-build'
296             description: 'Slave label on Jenkins'
297         - string:
298             name: GIT_BASE
299             default: https://gerrit.opnfv.org/gerrit/$PROJECT
300             description: 'Git URL to use on this Jenkins Slave'
301         - string:
302             name: BUILD_DIRECTORY
303             default: $WORKSPACE/build_output
304             description: "Directory where the build artifact will be located upon the completion of the build."
305 - parameter:
306     name: 'huawei-build-defaults'
307     parameters:
308         - node:
309             name: SLAVE_NAME
310             description: 'Slave name on Jenkins'
311             allowed-slaves:
312                 - huawei-build
313             default-slaves:
314                 - huawei-build
315         - string:
316             name: GIT_BASE
317             default: https://gerrit.opnfv.org/gerrit/$PROJECT
318             description: 'Git URL to use on this Jenkins Slave'
319 #####################################################
320 # Parameters for none-CI PODs
321 #####################################################
322 - parameter:
323     name: 'ericsson-pod1-defaults'
324     parameters:
325         - node:
326             name: SLAVE_NAME
327             description: 'Slave name on Jenkins'
328             allowed-slaves:
329                 - ericsson-pod1
330             default-slaves:
331                 - ericsson-pod1
332         - string:
333             name: GIT_BASE
334             default: https://gerrit.opnfv.org/gerrit/$PROJECT
335             description: 'Git URL to use on this Jenkins Slave'
336 - parameter:
337     name: 'intel-pod1-defaults'
338     parameters:
339         - node:
340             name: SLAVE_NAME
341             description: 'Slave name on Jenkins'
342             allowed-slaves:
343                 - intel-pod1
344             default-slaves:
345                 - intel-pod1
346         - string:
347             name: GIT_BASE
348             default: https://gerrit.opnfv.org/gerrit/$PROJECT
349             description: 'Git URL to use on this Jenkins Slave'
350 - parameter:
351     name: 'intel-pod2-defaults'
352     parameters:
353         - node:
354             name: SLAVE_NAME
355             description: 'Slave name on Jenkins'
356             allowed-slaves:
357                 - intel-pod2
358             default-slaves:
359                 - intel-pod2
360         - string:
361             name: GIT_BASE
362             default: https://gerrit.opnfv.org/gerrit/$PROJECT
363             description: 'Git URL to use on this Jenkins Slave'
364         - string:
365             name: SSH_KEY
366             default: /root/.ssh/id_rsa
367             description: 'SSH key to use for Apex'
368 - parameter:
369     name: 'intel-pod3-defaults'
370     parameters:
371         - node:
372             name: SLAVE_NAME
373             description: 'Slave name on Jenkins'
374             allowed-slaves:
375                 - intel-pod3
376             default-slaves:
377                 - intel-pod3
378         - string:
379             name: GIT_BASE
380             default: https://gerrit.opnfv.org/gerrit/$PROJECT
381             description: 'Git URL to use on this Jenkins Slave'
382 - parameter:
383     name: 'huawei-pod2-defaults'
384     parameters:
385         - node:
386             name: SLAVE_NAME
387             description: 'Slave name on Jenkins'
388             allowed-slaves:
389                 - huawei-pod2
390             default-slaves:
391                 - huawei-pod2
392         - string:
393             name: GIT_BASE
394             default: https://gerrit.opnfv.org/gerrit/$PROJECT
395             description: 'Git URL to use on this Jenkins Slave'
396 - parameter:
397     name: 'huawei-pod3-defaults'
398     parameters:
399         - node:
400             name: SLAVE_NAME
401             description: 'Slave name on Jenkins'
402             allowed-slaves:
403                 - huawei-pod3
404             default-slaves:
405                 - huawei-pod3
406         - label:
407             name: SLAVE_LABEL
408             default: 'huawei-test'
409         - string:
410             name: GIT_BASE
411             default: https://gerrit.opnfv.org/gerrit/$PROJECT
412             description: 'Git URL to use on this Jenkins Slave'
413 - parameter:
414     name: 'huawei-pod4-defaults'
415     parameters:
416         - node:
417             name: SLAVE_NAME
418             description: 'Slave name on Jenkins'
419             allowed-slaves:
420                 - huawei-pod4
421             default-slaves:
422                 - huawei-pod4
423         - label:
424             name: SLAVE_LABEL
425             default: 'huawei-test'
426         - string:
427             name: GIT_BASE
428             default: https://gerrit.opnfv.org/gerrit/$PROJECT
429             description: 'Git URL to use on this Jenkins Slave'
430 - parameter:
431     name: 'zte-pod1-defaults'
432     parameters:
433         - node:
434             name: SLAVE_NAME
435             description: 'Slave name on Jenkins'
436             allowed-slaves:
437                 - zte-pod1
438             default-slaves:
439                 - zte-pod1
440         - string:
441             name: GIT_BASE
442             default: https://gerrit.opnfv.org/gerrit/$PROJECT
443             description: 'Git URL to use on this Jenkins Slave'
444         - string:
445             name: INSTALLER_IP
446             default: '10.20.6.2'
447             description: 'IP of the installer'
448         - string:
449             name: BRIDGE
450             default: 'br6'
451             description: 'pxe bridge for booting of Fuel master'
452 - parameter:
453     name: 'zte-pod2-defaults'
454     parameters:
455         - node:
456             name: SLAVE_NAME
457             description: 'Slave name on Jenkins'
458             allowed-slaves:
459                 - zte-pod2
460             default-slaves:
461                 - zte-pod2
462         - string:
463             name: GIT_BASE
464             default: https://gerrit.opnfv.org/gerrit/$PROJECT
465             description: 'Git URL to use on this Jenkins Slave'
466         - string:
467             name: INSTALLER_IP
468             default: '10.20.7.2'
469             description: 'IP of the installer'
470         - string:
471             name: BRIDGE
472             default: 'br7'
473             description: 'pxe bridge for booting of Fuel master'
474 - parameter:
475     name: 'zte-pod3-defaults'
476     parameters:
477         - node:
478             name: SLAVE_NAME
479             description: 'Slave name on Jenkins'
480             allowed-slaves:
481                 - zte-pod3
482             default-slaves:
483                 - zte-pod3
484         - string:
485             name: GIT_BASE
486             default: https://gerrit.opnfv.org/gerrit/$PROJECT
487             description: 'Git URL to use on this Jenkins Slave'
488         - string:
489             name: BRIDGE
490             default: 'br0'
491             description: 'pxe bridge for booting of Fuel master'
492 - parameter:
493     name: 'juniper-pod1-defaults'
494     parameters:
495         - node:
496             name: SLAVE_NAME
497             description: 'Slave name on Jenkins'
498             allowed-slaves:
499                 - juniper-pod1
500             default-slaves:
501                 - juniper-pod1
502         - string:
503             name: GIT_BASE
504             default: https://gerrit.opnfv.org/gerrit/$PROJECT
505             description: 'Git URL to use on this Jenkins Slave'
506         - string:
507             name: CEPH_DISKS
508             default: /srv
509             description: "Disks to use by ceph (comma separated list)"
510 - parameter:
511     name: 'orange-pod1-defaults'
512     parameters:
513         - node:
514             name: SLAVE_NAME
515             description: 'Slave name on Jenkins'
516             allowed-slaves:
517                 - orange-pod1
518             default-slaves:
519                 - orange-pod1
520         - string:
521             name: GIT_BASE
522             default: https://gerrit.opnfv.org/gerrit/$PROJECT
523             description: 'Git URL to use on this Jenkins Slave'
524 - parameter:
525     name: 'orange-pod2-defaults'
526     parameters:
527         - node:
528             name: SLAVE_NAME
529             description: 'Slave name on Jenkins'
530             allowed-slaves:
531                 - orange-pod2
532             default-slaves:
533                 - orange-pod2
534         - string:
535             name: GIT_BASE
536             default: https://gerrit.opnfv.org/gerrit/$PROJECT
537             description: 'Git URL to use on this Jenkins Slave'
538 - parameter:
539     name: 'orange-pod5-defaults'
540     parameters:
541         - node:
542             name: SLAVE_NAME
543             description: 'Slave name on Jenkins'
544             allowed-slaves:
545                 - orange-pod5
546             default-slaves:
547                 - orange-pod5
548         - string:
549             name: GIT_BASE
550             default: https://gerrit.opnfv.org/gerrit/$PROJECT
551             description: 'Git URL to use on this Jenkins Slave'
552 - parameter:
553     name: 'dell-pod1-defaults'
554     parameters:
555         - node:
556             name: SLAVE_NAME
557             description: 'Slave name on Jenkins'
558             allowed-slaves:
559                 - dell-pod1
560             default-slaves:
561                 - dell-pod1
562         - string:
563             name: GIT_BASE
564             default: https://gerrit.opnfv.org/gerrit/$PROJECT
565             description: 'Git URL to use on this Jenkins Slave'
566 - parameter:
567     name: 'dell-pod2-defaults'
568     parameters:
569         - node:
570             name: SLAVE_NAME
571             description: 'Slave name on Jenkins'
572             allowed-slaves:
573                 - dell-pod2
574             default-slaves:
575                 - dell-pod2
576         - string:
577             name: GIT_BASE
578             default: https://gerrit.opnfv.org/gerrit/$PROJECT
579             description: 'Git URL to use on this Jenkins Slave'
580 - parameter:
581     name: 'nokia-pod1-defaults'
582     parameters:
583         - node:
584             name: SLAVE_NAME
585             description: 'Slave name on Jenkins'
586             allowed-slaves:
587                 - nokia-pod1
588             default-slaves:
589                 - nokia-pod1
590         - string:
591             name: GIT_BASE
592             default: https://gerrit.opnfv.org/gerrit/$PROJECT
593             description: 'Git URL to use on this Jenkins Slave'
594         - string:
595             name: SSH_KEY
596             default: /root/.ssh/id_rsa
597             description: 'SSH key to use for Apex'
598 - parameter:
599     name: 'arm-pod1-defaults'
600     parameters:
601         - node:
602             name: SLAVE_NAME
603             description: 'Slave name on Jenkins'
604             allowed-slaves:
605                 - arm-pod1
606             default-slaves:
607                 - arm-pod1
608         - string:
609             name: GIT_BASE
610             default: https://gerrit.opnfv.org/gerrit/$PROJECT
611             description: 'Git URL to use on this Jenkins Slave'
612         - string:
613             name: DEFAULT_BRIDGE
614             default: 'admin6_br0,public6_br0'
615             desciption: 'The bridge to use for Fuel PXE booting. It can be a comma sparated list of bridges, in which case the first is the PXE boot bridge, and all subsequent interfaces that will be added to the VM. If left empty, most deploy scripts will default to pxebr.'
616         - string:
617             name: DEPLOY_TIMEOUT
618             default: '360'
619             description: 'Deployment timeout in minutes'
620         - string:
621             name: LAB_CONFIG_URL
622             default: ssh://git@git.enea.com/pharos/lab-config
623             description: 'Base URI to the configuration directory'
624 - parameter:
625     name: 'arm-pod2-defaults'
626     parameters:
627         - node:
628             name: SLAVE_NAME
629             description: 'Slave name on Jenkins'
630             allowed-slaves:
631                 - arm-pod2
632             default-slaves:
633                 - arm-pod2
634         - string:
635             name: GIT_BASE
636             default: https://gerrit.opnfv.org/gerrit/$PROJECT
637             description: 'Git URL to use on this Jenkins Slave'
638         - string:
639             name: DEFAULT_BRIDGE
640             default: 'admin_br0,public_br0'
641             desciption: 'The bridge to use for Fuel PXE booting. It can be a comma sparated list of bridges, in which case the first is the PXE boot bridge, and all subsequent interfaces that will be added to the VM. If left empty, most deploy scripts will default to pxebr.'
642         - string:
643             name: DEPLOY_TIMEOUT
644             default: '360'
645             description: 'Deployment timeout in minutes'
646         - string:
647             name: LAB_CONFIG_URL
648             default: ssh://git@git.enea.com/pharos/lab-config
649             description: 'Base URI to the configuration directory'
650 - parameter:
651     name: 'intel-virtual6-defaults'
652     parameters:
653         - node:
654             name: SLAVE_NAME
655             description: 'Slave name on Jenkins'
656             allowed-slaves:
657                 - intel-virtual6
658             default-slaves:
659                 - intel-virtual6
660         - string:
661             name: GIT_BASE
662             default: https://gerrit.opnfv.org/gerrit/$PROJECT
663             description: 'Git URL to use on this Jenkins Slave'
664 #####################################################
665 # These slaves are just dummy slaves for sandbox jobs
666 #####################################################
667 - parameter:
668     name: 'sandbox-baremetal-defaults'
669     parameters:
670         - label:
671             name: SLAVE_LABEL
672             default: 'sandbox-baremetal'
673             description: 'Slave label on Jenkins'
674         - string:
675             name: GIT_BASE
676             default: https://gerrit.opnfv.org/gerrit/$PROJECT
677             description: 'Git URL to use on this Jenkins Slave'
678         - string:
679             name: BUILD_DIRECTORY
680             default: $WORKSPACE/build_output
681             description: "Directory where the build artifact will be located upon the completion of the build."
682 - parameter:
683     name: 'sandbox-virtual-defaults'
684     parameters:
685         - label:
686             name: SLAVE_LABEL
687             default: 'sandbox-virtual'
688             description: 'Slave label on Jenkins'
689         - string:
690             name: GIT_BASE
691             default: https://gerrit.opnfv.org/gerrit/$PROJECT
692             description: 'Git URL to use on this Jenkins Slave'
693         - string:
694             name: BUILD_DIRECTORY
695             default: $WORKSPACE/build_output
696             description: "Directory where the build artifact will be located upon the completion of the build."
697 - parameter:
698     name: 'dummy-pod1-defaults'
699     parameters:
700         - label:
701             name: SLAVE_LABEL
702             default: 'dummy-pod1'
703             description: 'Slave label on Jenkins'
704         - string:
705             name: GIT_BASE
706             default: https://gerrit.opnfv.org/gerrit/$PROJECT
707             description: 'Git URL to use on this Jenkins Slave'
708         - string:
709             name: BUILD_DIRECTORY
710             default: $WORKSPACE/build_output
711             description: "Directory where the build artifact will be located upon the completion of the build."