5 project: '{project-name}'
9 view-regex: '^{project-name}-(tox|type1|type2)-(verify|fuel|compass)-.*'
10 # -------------------------------
12 # -------------------------------
19 # -------------------------------
20 # INSTALLER DEFINITIONS
21 # -------------------------------
26 # -------------------------------
27 # OPERATING SYSTEM DEFINITIONS
28 # -------------------------------
33 #--------------------------------
34 # IEC TYPE DEFINITINONS
35 # type1 Mcbin embeded board
37 # -------------------------------
41 # -------------------------------
42 # DEPLOY TYPE DEFINITIONS
43 # -------------------------------
46 slave-label: 'aarch64_dev'
47 scenario: 'k8-calico-iec-noha'
49 slave-label: 'aarch64_dev'
50 scenario: 'k8-calico-iec-noha'
53 # Compass does not run against baremetal PODs yet
55 deploy_type: baremetal
63 # -------------------------------
65 # -------------------------------
68 slave-label: 'aarch64_dev'
69 scenario: 'k8-calico-iec-noha'
72 - 'iec-{iecType}-{installer}-{deploy_type}-{os}-daily-{stream}'
73 - 'iec-{iecType}-deploy-{installer}-{deploy_type}-{os}-daily-{stream}'
74 - 'iec-{iecType}-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
75 - 'iec-{iecType}-install-{usecase}-{installer}-{deploy_type}-{os}-daily-{stream}'
77 sonar-project-file: ""
78 build-node: centos7-builder-2c-1g
83 sonar.organization=akraino-edge-stack
87 sonar.exclusions=**/*_test.go,**/vendor/**
93 sonar.build.sourceEncoding=UTF-8
96 sonar.inclusions=**/**.go
100 sonar.test.inclusions=**/*_test.go
101 sonar.test.exclusions=**/vendor/**
113 description: 'IP of the installer'
116 default: '/var/lib/opnfv/mcp.rsa'
117 description: 'Path to private SSH key to access environment nodes'
119 name: EXTERNAL_NETWORK
120 default: 'floating_net'
121 description: 'external network for test'
125 description: 'Show debug output information'
127 name: ARCHIVE_ARTIFACTS
129 description: Artifacts to archive to the logs server.
130 # Usecase params are both installer and OS specific
131 - parameter: &k8s_fuel_ubuntu1604_parameter
132 name: 'fuel-ubuntu1604-defaults'
134 - string: &k8s_master_ip
136 default: '172.16.10.36'
137 description: 'IP address to connect to the K8s master'
138 - string: &k8s_ssh_user
141 description: 'SSH username to connect to the K8s master '
142 - string: &k8s_ssh_password
143 name: K8S_SSH_PASSWORD
145 description: 'SSH password to connect to the K8s master'
146 - string: &k8s_ssh_key
148 default: '/var/lib/opnfv/mcp.rsa'
149 description: 'SSH key to connect to the K8s master'
151 <<: *k8s_fuel_ubuntu1604_parameter
152 name: 'fuel-ubuntu1804-defaults'
154 name: 'fuel-centos7-defaults'
162 <<: *k8s_ssh_password
166 name: 'compass-ubuntu1604-defaults'
175 <<: *k8s_ssh_password
180 ########################
182 ########################
184 name: 'iec-{iecType}-{installer}-{deploy_type}-{os}-daily-{stream}'
185 disabled: '{obj:disabled}'
187 node: '{slave-label}'
195 use-build-blocker: true
197 - '.*-fuel-{deploy_type}-.*'
198 - '.*-compass-{deploy_type}-.*'
203 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO $IEC_TYPE'
206 - 'iec-{iecType}-{installer}-{deploy_type}-{os}-daily-{stream}-trigger'
209 - lf-infra-parameters:
213 - '{project}-defaults'
214 - '{installer}-{os}-defaults'
216 name: DEPLOY_SCENARIO
217 default: '{scenario}'
224 - project: 'iec-{iecType}-deploy-{installer}-{deploy_type}-{os}-daily-{stream}'
225 current-parameters: true
226 predefined-parameters:
227 DEPLOY_SCENARIO={scenario}
230 - project: 'validation-enea-daily-{stream}'
232 current-parameters: true
233 predefined-parameters: |
234 BLUEPRINT={project-name}
241 {%- for uc in usecase -%}
242 iec-{{ iecType }}-install-{{ uc | first }}-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }}
243 {%- if not loop.last -%},{%- endif -%}
245 current-parameters: true
249 build-step-failure-threshold: 'never'
250 failure-threshold: 'never'
251 unstable-threshold: 'FAILURE'
252 - project: 'iec-{iecType}-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
253 current-parameters: false
254 predefined-parameters: |
255 DEPLOY_SCENARIO={scenario}
261 name: 'iec-{iecType}-deploy-{installer}-{deploy_type}-{os}-daily-{stream}'
263 node: '{slave-label}'
264 properties: &properties
271 use-build-blocker: true
273 - '.*-{iecType}-deploy-{installer}-{deploy_type}-.*'
274 - '.*-{iecType}-destroy-{installer}-{deploy_type}-.*'
275 - '.*-{iecType}-install-.*-{installer}-{deploy_type}-.*'
279 - lf-infra-parameters:
283 - '{project}-defaults'
284 - '{installer}-{os}-defaults'
286 name: DEPLOY_SCENARIO
287 default: '{scenario}'
297 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO $IEC_TYPE'
301 credentials-id: '{jenkins-ssh-credential}'
302 url: '{git-url}/{project}.git'
305 - 'refs/heads/{branch}'
311 timeout: '{submodule-timeout}'
312 choosing-strategy: default
315 - description-setter:
316 description: "POD: $NODE_NAME"
318 condition-kind: regex-match
323 !include-raw-escape: ./iec-compass-build.sh
325 !include-raw-escape: ./iec-compass-deploy.sh
327 !include-raw-escape: ./iec-fdn-install.sh
329 condition-kind: regex-match
334 !include-raw-escape: ./iec-fuel-deploy.sh
336 publishers: &publishers
338 recipients: armband@enea.com
342 name: 'iec-{iecType}-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
344 node: '{slave-label}'
345 properties: *properties
347 - lf-infra-parameters:
351 - '{project}-defaults'
352 - '{installer}-{os}-defaults'
354 name: DEPLOY_SCENARIO
355 default: '{scenario}'
361 default: '-EEE -o {os}'
367 - description-setter:
368 description: "POD: $NODE_NAME"
370 !include-raw-escape: ./iec-{installer}-destroy.sh
372 publishers: *publishers
375 name: 'iec-{iecType}-install-{usecase}-{installer}-{deploy_type}-{os}-daily-{stream}'
377 node: '{slave-label}'
378 properties: *properties
381 - lf-infra-parameters:
385 - '{project}-defaults'
386 - '{installer}-{os}-defaults'
390 name: '$BUILD_NUMBER - Usecase: ${usecase} DeployType: ${installer}-${deploy_type}'
396 !include-raw-escape: ./iec-{usecase}.sh
398 publishers: *publishers
401 ########################
403 ########################
405 # ----------------------------------------------------------------
406 # Akraino IEC CI Baremetal Triggers running against master branch
407 # ----------------------------------------------------------------
409 name: 'iec-type2-fuel-virtual-ubuntu1604-daily-master-trigger'
411 - timed: '0 1 * * 1,3,5'
413 name: 'iec-type2-fuel-baremetal-ubuntu1604-daily-master-trigger'
417 name: 'iec-type2-compass-virtual-ubuntu1604-daily-master-trigger'
419 - timed: '0 13 * * *'
421 name: 'iec-type2-fuel-virtual-ubuntu1804-daily-master-trigger'
423 - timed: '0 1 * * 2,6'
425 name: 'iec-type2-fuel-baremetal-ubuntu1804-daily-master-trigger'
429 name: 'iec-type2-fuel-virtual-centos7-daily-master-trigger'
431 - timed: '0 1 * * 4,7'
433 name: 'iec-type2-fuel-baremetal-centos7-daily-master-trigger'
437 name: 'iec-type1-compass-virtual-ubuntu1604-daily-master-trigger'
439 - timed: '0 19 * * *'