5 project: '{project-name}'
9 view-regex: '^{project-name}-(tox|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}'
86 description: 'IP of the installer'
89 default: '/var/lib/opnfv/mcp.rsa'
90 description: 'Path to private SSH key to access environment nodes'
92 name: EXTERNAL_NETWORK
93 default: 'floating_net'
94 description: 'external network for test'
98 description: 'Show debug output information'
100 name: ARCHIVE_ARTIFACTS
102 description: Artifacts to archive to the logs server.
103 # Usecase params are both installer and OS specific
104 - parameter: &k8s_fuel_ubuntu1604_parameter
105 name: 'fuel-ubuntu1604-defaults'
107 - string: &k8s_master_ip
109 default: '172.16.10.36'
110 description: 'IP address to connect to the K8s master'
111 - string: &k8s_ssh_user
114 description: 'SSH username to connect to the K8s master '
115 - string: &k8s_ssh_password
116 name: K8S_SSH_PASSWORD
118 description: 'SSH password to connect to the K8s master'
119 - string: &k8s_ssh_key
121 default: '/var/lib/opnfv/mcp.rsa'
122 description: 'SSH key to connect to the K8s master'
124 <<: *k8s_fuel_ubuntu1604_parameter
125 name: 'fuel-ubuntu1804-defaults'
127 name: 'fuel-centos7-defaults'
135 <<: *k8s_ssh_password
139 name: 'compass-ubuntu1604-defaults'
148 <<: *k8s_ssh_password
153 ########################
155 ########################
157 name: 'iec-{iecType}-{installer}-{deploy_type}-{os}-daily-{stream}'
158 disabled: '{obj:disabled}'
160 node: '{slave-label}'
168 use-build-blocker: true
170 - '.*-fuel-{deploy_type}-.*'
171 - '.*-compass-{deploy_type}-.*'
172 blocking-level: 'NODE'
176 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO $IEC_TYPE'
179 - 'iec-{iecType}-{installer}-{deploy_type}-{os}-daily-{stream}-trigger'
182 - lf-infra-parameters:
186 - '{project}-defaults'
187 - '{installer}-{os}-defaults'
189 name: DEPLOY_SCENARIO
190 default: '{scenario}'
197 - project: 'iec-{iecType}-deploy-{installer}-{deploy_type}-{os}-daily-{stream}'
198 current-parameters: true
199 predefined-parameters:
200 DEPLOY_SCENARIO={scenario}
203 - project: 'validation-enea-daily-{stream}'
205 current-parameters: true
206 predefined-parameters: |
207 BLUEPRINT={project-name}
214 {%- for uc in usecase -%}
215 iec-{{ iecType }}-install-{{ uc | first }}-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }}
216 {%- if not loop.last -%},{%- endif -%}
218 current-parameters: true
222 build-step-failure-threshold: 'never'
223 failure-threshold: 'never'
224 unstable-threshold: 'FAILURE'
225 - project: 'iec-{iecType}-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
226 current-parameters: false
227 predefined-parameters:
228 DEPLOY_SCENARIO={scenario}
234 name: 'iec-{iecType}-deploy-{installer}-{deploy_type}-{os}-daily-{stream}'
236 node: '{slave-label}'
237 properties: &properties
244 use-build-blocker: true
246 - '.*-{iecType}-deploy-{installer}-{deploy_type}-.*'
247 - '.*-{iecType}-destroy-{installer}-{deploy_type}-.*'
248 - '.*-{iecType}-install-.*-{installer}-{deploy_type}-.*'
249 blocking-level: 'NODE'
252 - lf-infra-parameters:
256 - '{project}-defaults'
258 name: DEPLOY_SCENARIO
259 default: '{scenario}'
269 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO $IEC_TYPE'
273 credentials-id: '{jenkins-ssh-credential}'
274 url: '{git-url}/{project}.git'
277 - 'refs/heads/{branch}'
283 timeout: '{submodule-timeout}'
284 choosing-strategy: default
287 - description-setter:
288 description: "POD: $NODE_NAME"
290 condition-kind: regex-match
295 !include-raw-escape: ./iec-compass-build.sh
297 !include-raw-escape: ./iec-compass-deploy.sh
299 !include-raw-escape: ./iec-fdn-install.sh
301 condition-kind: regex-match
306 !include-raw-escape: ./iec-fuel-deploy.sh
308 publishers: &publishers
310 recipients: armband@enea.com
314 name: 'iec-{iecType}-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
316 node: '{slave-label}'
317 properties: *properties
319 - lf-infra-parameters:
323 - '{project}-defaults'
325 name: DEPLOY_SCENARIO
326 default: '{scenario}'
332 default: '-EEE -o {os}'
338 - description-setter:
339 description: "POD: $NODE_NAME"
341 !include-raw-escape: ./iec-{installer}-destroy.sh
343 publishers: *publishers
346 name: 'iec-{iecType}-install-{usecase}-{installer}-{deploy_type}-{os}-daily-{stream}'
348 node: '{slave-label}'
349 properties: *properties
352 - lf-infra-parameters:
356 - '{project}-defaults'
360 name: '$BUILD_NUMBER - Usecase: ${usecase} DeployType: ${installer}-${deploy_type}'
366 !include-raw-escape: ./iec-{usecase}.sh
368 publishers: *publishers
370 ########################
372 ########################
374 # ----------------------------------------------------------------
375 # Akraino IEC CI Baremetal Triggers running against master branch
376 # ----------------------------------------------------------------
378 name: 'iec-type2-fuel-virtual-ubuntu1604-daily-master-trigger'
380 - timed: '0 1 * * 1,3,5'
382 name: 'iec-type2-fuel-baremetal-ubuntu1604-daily-master-trigger'
386 name: 'iec-type2-compass-virtual-ubuntu1604-daily-master-trigger'
388 - timed: '0 13 * * *'
390 name: 'iec-type2-fuel-virtual-ubuntu1804-daily-master-trigger'
392 - timed: '0 1 * * 2,6'
394 name: 'iec-type2-fuel-baremetal-ubuntu1804-daily-master-trigger'
398 name: 'iec-type2-fuel-virtual-centos7-daily-master-trigger'
400 - timed: '0 1 * * 4,7'
402 name: 'iec-type2-fuel-baremetal-centos7-daily-master-trigger'
406 name: 'iec-type1-compass-virtual-ubuntu1604-daily-master-trigger'
408 - timed: '0 19 * * *'