onap: Switch to new Jenkins slave labels
[infra/cicd.git] / jjb / cloud-infra / cloud-infra-periodic-onap.yaml
1 ---
2 #
3 # ============LICENSE_START=======================================================
4 #  Copyright (C) 2019 Nordix Foundation.
5 # ================================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 #      http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 #
18 # SPDX-License-Identifier: Apache-2.0
19 # ============LICENSE_END=========================================================
20
21 #--------------------------------------------------------------------------------------
22 # The jobs declared in this JJB configuration file are used for deploying and testing
23 # ONAP scenario onap-nofeature-noha.
24 #--------------------------------------------------------------------------------------
25
26 - project:
27     name: 'cloud-infra-periodic-onap'
28
29     project: 'infra/engine'
30
31     cloud:
32       - city:
33           slave-label: 'city-jumphost-ubuntu1804'
34           openrc-credentials-file: 'est-jenkins-openrcfile-city-karlskrona-onap'
35           daily-trigger: '@midnight'
36       - xerces:
37           slave-label: 'xerces-jumphost-ubuntu1804'
38           openrc-credentials-file: 'est-estinfra-openrcfile-xerces-lund-onap'
39           daily-trigger: '#@midnight'
40
41     onap-branch:
42       - 'dublin':
43           nordix-branch: master
44           onap-version: dublin
45           onap-flavor: full
46           engine-version: master
47           engine-refspec: master
48           deploy-scenario: 'onap-nofeature-noha'
49           deploy-scenario-version: master
50           deploy-scenario-refspec: master
51           disabled: false
52           delete-stack: 'yes'
53       - 'master':
54           nordix-branch: master
55           onap-version: master
56           onap-flavor: full
57           engine-version: master
58           engine-refspec: master
59           deploy-scenario: 'onap-nofeature-noha'
60           deploy-scenario-version: master
61           deploy-scenario-refspec: master
62           disabled: false
63           delete-stack: 'no'
64
65     distro:
66       - ubuntu1804
67
68     ci-loop:
69       - daily
70
71     type:
72       - cloud:
73           pod-name: est-cloud
74           provisioner-type: heat
75           installer-type: kubespray
76
77     onap-other-phases:
78       - onap-deploy:
79           build-timeout: 210
80       - oom-hc:
81           build-timeout: 30
82           test-type: oom-healthcheck
83       - promote-onap:
84           build-timeout: 5
85
86     onap-healthcheck-phases:
87       - onap-hc-core:
88           build-timeout: 30
89           test-type: onap-healthcheck
90       - onap-hc-small:
91           build-timeout: 30
92           test-type: onap-healthcheck
93       - onap-hc-medium:
94           build-timeout: 30
95           test-type: onap-healthcheck
96       - onap-hc-full:
97           build-timeout: 30
98           test-type: onap-healthcheck
99       - onap-hc-healthdist:
100           build-timeout: 30
101           test-type: onap-healthcheck
102
103     jobs:
104       - 'onap-online-{onap-flavor}-{distro}-{installer-type}-{cloud}-{type}-{ci-loop}-{onap-branch}'
105       - '{onap-other-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
106       - '{onap-healthcheck-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
107
108 - job-template:
109     name: 'onap-online-{onap-flavor}-{distro}-{installer-type}-{cloud}-{type}-{ci-loop}-{onap-branch}'
110
111     project-type: multijob
112
113     disabled: '{obj:disabled}'
114
115     concurrent: true
116
117     parameters:
118       - project-parameters:
119           project: '{project}'
120           branch: '{nordix-branch}'
121       - nordix-gerrit-parameters
122       - onap-parameter-macro
123       - label:
124           name: SLAVE_LABEL
125           default: '{slave-label}'
126           description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
127       - string:
128           name: DISTRO
129           default: '{distro}'
130           description: 'Distribution to use for configuring target nodes (networking etc.)'
131       - string:
132           name: OPENSTACK_CLOUD_PROVIDER
133           default: '{cloud}'
134           description: 'Name of the cloud where this job is run'
135       - string:
136           name: ONAP_VERSION
137           default: '{onap-version}'
138           description: 'ONAP version to deploy'
139       - string:
140           name: ONAP_FLAVOR
141           default: '{onap-flavor}'
142           description: 'ONAP flavor to deploy - could be core, small, medium, full. Also used for xtesting as run_type.'
143       - string:
144           name: STACK_NAME
145           default: 'nordix-cicd-{deploy-scenario}-{onap-branch}-{onap-flavor}'
146       - string:
147           name: HEAT_ENVIRONMENT_FILENAME
148           default: "heat-environment-{cloud}-{distro}-full.yaml"
149           description: 'Type of the deployment'
150       - string:
151           name: ENGINE_VERSION
152           default: '{engine-version}'
153           description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Could be sha, branch'
154       - string:
155           name: ENGINE_REFSPEC
156           default: '{engine-refspec}'
157           description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Must be refspec.'
158       - string:
159           name: DEPLOY_SCENARIO_VERSION
160           default: '{deploy-scenario-version}'
161           description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_REFSPEC and could be sha, branch.'
162       - string:
163           name: DEPLOY_SCENARIO_REFSPEC
164           default: '{deploy-scenario-refspec}'
165           description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_VERSION and must be refspec.'
166       - string:
167           name: POD_NAME
168           default: '{pod-name}'
169           description: 'Development purposes only! Set to none for disabling test results DB reporting.'
170       - string:
171           name: DELETE_STACK
172           default: '{delete-stack}'
173           description: 'Development purposes only! Whether delete the stack or not. It must either be yes or no. Setting this to no will increase the cost!'
174
175     properties:
176       - logrotate
177       - build-blocker:
178           use-build-blocker: true
179           blocking-jobs:
180             - 'cloud-infra-periodic-engine-.*'
181             - 'onap-.*'
182             - 'k8-.*'
183           block-level: 'NODE'
184       - throttle:
185           max-per-node: 1
186           max-total: 3
187           option: project
188
189     wrappers:
190       - credentials-binding:
191           - file:
192               credential-id: '{openrc-credentials-file}'
193               variable: OPENRC_FILE
194       - mask-passwords
195       - build-timeout:
196           timeout: 300
197       - fix-workspace-permissions
198       - openstack:
199           single-use: True
200
201     triggers:
202       - timed: '{daily-trigger}'
203
204     scm:
205       - git-scm:
206           ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
207           branch: '{nordix-branch}'
208           refspec: ''
209           wipe_workspace: true
210           clean_before: false
211
212     builders:
213       - description-setter:
214           description: $DEPLOY_SCENARIO | $ONAP_FLAVOR
215       - shell: |
216           #!/bin/bash
217           /bin/rm -rf /tmp/openrc && /bin/cp -f $OPENRC_FILE /tmp/openrc
218       - multijob:
219           name: Deploy ONAP using OOM
220           condition: ALWAYS
221           projects:
222             - name: 'onap-deploy-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
223               current-parameters: false
224               predefined-parameters: |
225                 DISTRO=$DISTRO
226                 OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER
227                 DEPLOY_TYPE=$DEPLOY_TYPE
228                 PROVISIONER_TYPE=$PROVISIONER_TYPE
229                 INSTALLER_TYPE=$INSTALLER_TYPE
230                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
231                 ONAP_VERSION=$ONAP_VERSION
232                 ONAP_FLAVOR=$ONAP_FLAVOR
233                 POD_NAME=$POD_NAME
234                 STACK_NAME=$STACK_NAME
235                 HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME
236                 ENGINE_VERSION=$ENGINE_VERSION
237                 ENGINE_REFSPEC=$ENGINE_REFSPEC
238                 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
239                 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
240                 XTESTING_REPO_URL=$XTESTING_REPO_URL
241                 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
242                 CLEANUP=$CLEANUP
243               git-revision: true
244               node-parameters: true
245               kill-phase-on: NEVER
246               abort-all-job: false
247       - multijob:
248           name: K8S and OOM Healthcheck using xtesting
249           condition: ALWAYS
250           projects:
251             - name: 'oom-hc-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
252               current-parameters: false
253               predefined-parameters: |
254                 DISTRO=$DISTRO
255                 OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER
256                 DEPLOY_TYPE=$DEPLOY_TYPE
257                 PROVISIONER_TYPE=$PROVISIONER_TYPE
258                 INSTALLER_TYPE=$INSTALLER_TYPE
259                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
260                 ONAP_VERSION=$ONAP_VERSION
261                 ONAP_FLAVOR=full
262                 TEST_TYPE=oom-healthcheck
263                 POD_NAME=$POD_NAME
264                 STACK_NAME=$STACK_NAME
265                 HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME
266                 ENGINE_VERSION=$ENGINE_VERSION
267                 ENGINE_REFSPEC=$ENGINE_REFSPEC
268                 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
269                 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
270                 XTESTING_REPO_URL=$XTESTING_REPO_URL
271                 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
272                 CLEANUP=$CLEANUP
273               node-parameters: true
274               kill-phase-on: NEVER
275               abort-all-job: false
276       - multijob:
277           name: ONAP Healthcheck using xtesting
278           execution-type: SEQUENTIALLY
279           condition: ALWAYS
280           projects:
281             - name: 'onap-hc-core-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
282               current-parameters: false
283               predefined-parameters: |
284                 SLAVE_LABEL=$SLAVE_LABEL
285                 DISTRO=$DISTRO
286                 OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER
287                 PROVISIONER_TYPE=$PROVISIONER_TYPE
288                 INSTALLER_TYPE=$INSTALLER_TYPE
289                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
290                 DEPLOY_TYPE=$DEPLOY_TYPE
291                 ONAP_VERSION=$ONAP_VERSION
292                 ONAP_FLAVOR=core
293                 TEST_TYPE=onap-healthcheck
294                 POD_NAME=$POD_NAME
295                 STACK_NAME=$STACK_NAME
296                 HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME
297                 ENGINE_VERSION=$ENGINE_VERSION
298                 ENGINE_REFSPEC=$ENGINE_REFSPEC
299                 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
300                 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
301                 XTESTING_REPO_URL=$XTESTING_REPO_URL
302                 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
303                 CLEANUP=$CLEANUP
304               node-parameters: true
305               kill-phase-on: NEVER
306               abort-all-job: false
307             - name: 'onap-hc-small-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
308               current-parameters: false
309               predefined-parameters: |
310                 SLAVE_LABEL=$SLAVE_LABEL
311                 DISTRO=$DISTRO
312                 OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER
313                 PROVISIONER_TYPE=$PROVISIONER_TYPE
314                 INSTALLER_TYPE=$INSTALLER_TYPE
315                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
316                 DEPLOY_TYPE=$DEPLOY_TYPE
317                 ONAP_VERSION=$ONAP_VERSION
318                 ONAP_FLAVOR=small
319                 TEST_TYPE=onap-healthcheck
320                 POD_NAME=$POD_NAME
321                 STACK_NAME=$STACK_NAME
322                 HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME
323                 ENGINE_VERSION=$ENGINE_VERSION
324                 ENGINE_REFSPEC=$ENGINE_REFSPEC
325                 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
326                 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
327                 XTESTING_REPO_URL=$XTESTING_REPO_URL
328                 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
329                 CLEANUP=$CLEANUP
330               node-parameters: true
331               kill-phase-on: NEVER
332               abort-all-job: false
333             - name: 'onap-hc-medium-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
334               current-parameters: false
335               predefined-parameters: |
336                 SLAVE_LABEL=$SLAVE_LABEL
337                 DISTRO=$DISTRO
338                 OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER
339                 PROVISIONER_TYPE=$PROVISIONER_TYPE
340                 INSTALLER_TYPE=$INSTALLER_TYPE
341                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
342                 DEPLOY_TYPE=$DEPLOY_TYPE
343                 ONAP_VERSION=$ONAP_VERSION
344                 ONAP_FLAVOR=medium
345                 TEST_TYPE=onap-healthcheck
346                 POD_NAME=$POD_NAME
347                 STACK_NAME=$STACK_NAME
348                 HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME
349                 ENGINE_VERSION=$ENGINE_VERSION
350                 ENGINE_REFSPEC=$ENGINE_REFSPEC
351                 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
352                 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
353                 XTESTING_REPO_URL=$XTESTING_REPO_URL
354                 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
355                 CLEANUP=$CLEANUP
356               node-parameters: true
357               kill-phase-on: NEVER
358               abort-all-job: false
359             - name: 'onap-hc-full-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
360               current-parameters: false
361               predefined-parameters: |
362                 SLAVE_LABEL=$SLAVE_LABEL
363                 DISTRO=$DISTRO
364                 OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER
365                 PROVISIONER_TYPE=$PROVISIONER_TYPE
366                 INSTALLER_TYPE=$INSTALLER_TYPE
367                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
368                 DEPLOY_TYPE=$DEPLOY_TYPE
369                 ONAP_VERSION=$ONAP_VERSION
370                 ONAP_FLAVOR=full
371                 TEST_TYPE=onap-healthcheck
372                 POD_NAME=$POD_NAME
373                 STACK_NAME=$STACK_NAME
374                 HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME
375                 ENGINE_VERSION=$ENGINE_VERSION
376                 ENGINE_REFSPEC=$ENGINE_REFSPEC
377                 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
378                 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
379                 XTESTING_REPO_URL=$XTESTING_REPO_URL
380                 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
381                 CLEANUP=$CLEANUP
382               node-parameters: true
383               kill-phase-on: NEVER
384               abort-all-job: false
385             - name: 'onap-hc-healthdist-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
386               current-parameters: false
387               predefined-parameters: |
388                 SLAVE_LABEL=$SLAVE_LABEL
389                 DISTRO=$DISTRO
390                 OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER
391                 PROVISIONER_TYPE=$PROVISIONER_TYPE
392                 INSTALLER_TYPE=$INSTALLER_TYPE
393                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
394                 DEPLOY_TYPE=$DEPLOY_TYPE
395                 ONAP_VERSION=$ONAP_VERSION
396                 ONAP_FLAVOR=healthdist
397                 TEST_TYPE=onap-healthcheck
398                 POD_NAME=$POD_NAME
399                 STACK_NAME=$STACK_NAME
400                 HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME
401                 ENGINE_VERSION=$ENGINE_VERSION
402                 ENGINE_REFSPEC=$ENGINE_REFSPEC
403                 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
404                 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
405                 XTESTING_REPO_URL=$XTESTING_REPO_URL
406                 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
407                 CLEANUP=$CLEANUP
408               node-parameters: true
409               kill-phase-on: NEVER
410               abort-all-job: false
411       - multijob:
412           name: Promote ONAP (not activated)
413           condition: ALWAYS
414           projects:
415             - name: 'promote-onap-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
416               current-parameters: false
417               predefined-parameters: |
418                 SLAVE_LABEL=$SLAVE_LABEL
419                 DISTRO=$DISTRO
420                 OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER
421                 DEPLOY_TYPE=$DEPLOY_TYPE
422                 INSTALLER_TYPE=$INSTALLER_TYPE
423                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
424                 ONAP_VERSION=$ONAP_VERSION
425                 ONAP_FLAVOR=$ONAP_FLAVOR
426                 ENGINE_VERSION=$ENGINE_VERSION
427                 ENGINE_REFSPEC=$ENGINE_REFSPEC
428                 POD_NAME=$POD_NAME
429                 STACK_NAME=$STACK_NAME
430                 HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME
431                 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
432                 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
433                 XTESTING_REPO_URL=$XTESTING_REPO_URL
434                 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
435                 CLEANUP=$CLEANUP
436               node-parameters: true
437               kill-phase-on: NEVER
438               abort-all-job: false
439
440     publishers:
441       - postbuildscript:
442           builders:
443             - role: SLAVE
444               build-on:
445                 - SUCCESS
446                 - FAILURE
447                 - ABORTED
448                 - NOT_BUILT
449                 - UNSTABLE
450               build-steps:
451                 - shell:
452                     !include-raw-escape: ./wait-for-pkg-manager.sh
453                 - shell:
454                     !include-raw: ./delete-heat-stack.sh
455
456 - job-template:
457     name: '{onap-other-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
458
459     disabled: false
460
461     concurrent: true
462
463     properties:
464       - logrotate
465
466     parameters:
467       - project-parameters:
468           project: '{project}'
469           branch: '{nordix-branch}'
470       - nordix-gerrit-parameters
471       - onap-parameter-macro
472       - label:
473           name: SLAVE_LABEL
474           default: 'xerces-jumphost-onap-ubuntu1804'
475           description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
476       - string:
477           name: OPENSTACK_CLOUD_PROVIDER
478           default: 'city'
479           description: 'Name of the cloud where this job is run'
480       - string:
481           name: DISTRO
482           default: 'ubuntu1804'
483           description: 'Distribution to use for configuring target nodes (networking etc.)'
484       - string:
485           name: ONAP_FLAVOR
486           default: '{onap-flavor}'
487           description: 'ONAP flavor to deploy - could be core, small, medium, full. Also used for xtesting as run_type.'
488       - string:
489           name: ONAP_VERSION
490           default: '{onap-version}'
491           description: 'ONAP version to deploy'
492       - string:
493           name: HEAT_ENVIRONMENT_FILENAME
494           default: "heat-environment-full.yaml"
495           description: 'Type of the deployment'
496       - string:
497           name: HEAT_ENVIRONMENT_FILE
498           default: "file://$WORKSPACE/.cache/repos/swconfig/scenarios/$DEPLOY_SCENARIO/$INSTALLER_TYPE/role/$DEPLOY_SCENARIO/files/$HEAT_ENVIRONMENT_FILENAME"
499           description: 'Type of the deployment'
500
501     wrappers:
502       - mask-passwords
503       - build-timeout:
504           timeout: '{build-timeout}'
505       - fix-workspace-permissions
506
507     scm:
508       - git-scm:
509           ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
510           branch: '{nordix-branch}'
511           refspec: ''
512           wipe_workspace: true
513           clean_before: false
514
515     builders:
516       - description-setter:
517           description: $DEPLOY_SCENARIO | $ONAP_FLAVOR | $OPENSTACK_CLOUD_PROVIDER
518       - '{onap-other-phases}-macro'
519
520 - job-template:
521     name: '{onap-healthcheck-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
522
523     disabled: false
524
525     concurrent: true
526
527     properties:
528       - logrotate
529
530     parameters:
531       - project-parameters:
532           project: '{project}'
533           branch: '{nordix-branch}'
534       - nordix-gerrit-parameters
535       - onap-parameter-macro
536       - label:
537           name: SLAVE_LABEL
538           default: 'xerces-jumphost-onap-ubuntu1804'
539           description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
540       - string:
541           name: OPENSTACK_CLOUD_PROVIDER
542           default: 'city'
543           description: 'Name of the cloud where this job is run'
544       - string:
545           name: DISTRO
546           default: 'ubuntu1804'
547           description: 'Distribution to use for configuring target nodes (networking etc.)'
548       - string:
549           name: ONAP_VERSION
550           default: '{onap-version}'
551           description: 'ONAP version to deploy'
552       - string:
553           name: HEAT_ENVIRONMENT_FILENAME
554           default: "heat-environment-full.yaml"
555           description: 'Type of the deployment'
556       - string:
557           name: HEAT_ENVIRONMENT_FILE
558           default: "file://$WORKSPACE/.cache/repos/swconfig/scenarios/$DEPLOY_SCENARIO/$INSTALLER_TYPE/role/$DEPLOY_SCENARIO/files/$HEAT_ENVIRONMENT_FILENAME"
559           description: 'Type of the deployment'
560       - string:
561           name: ENGINE_VERSION
562           default: '{engine-version}'
563           description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Could be sha, branch'
564       - string:
565           name: ENGINE_REFSPEC
566           default: '{engine-refspec}'
567           description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Must be refspec.'
568       - string:
569           name: DEPLOY_SCENARIO_VERSION
570           default: '{deploy-scenario-version}'
571           description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_REFSPEC and could be sha, branch.'
572       - string:
573           name: DEPLOY_SCENARIO_REFSPEC
574           default: '{deploy-scenario-refspec}'
575           description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_VERSION and must be refspec.'
576       - string:
577           name: POD_NAME
578           default: '{pod-name}'
579           description: 'Development purposes only! Set to none for disabling test results DB reporting.'
580
581     wrappers:
582       - mask-passwords
583       - build-timeout:
584           timeout: '{build-timeout}'
585       - fix-workspace-permissions
586
587     scm:
588       - git-scm:
589           ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
590           branch: '{nordix-branch}'
591           refspec: ''
592           wipe_workspace: true
593           clean_before: false
594
595     builders:
596       - description-setter:
597           description: $DEPLOY_SCENARIO | $ONAP_FLAVOR | $OPENSTACK_CLOUD_PROVIDER
598       - 'onap-healthcheck-macro'
599
600 # vim: set ts=2 sw=2 expandtab: