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}'
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'
257 - '{installer}-{os}-defaults'
259 name: DEPLOY_SCENARIO
260 default: '{scenario}'
270 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO $IEC_TYPE'
274 credentials-id: '{jenkins-ssh-credential}'
275 url: '{git-url}/{project}.git'
278 - 'refs/heads/{branch}'
284 timeout: '{submodule-timeout}'
285 choosing-strategy: default
288 - description-setter:
289 description: "POD: $NODE_NAME"
291 condition-kind: regex-match
296 !include-raw-escape: ./iec-compass-build.sh
298 !include-raw-escape: ./iec-compass-deploy.sh
300 !include-raw-escape: ./iec-fdn-install.sh
302 condition-kind: regex-match
307 !include-raw-escape: ./iec-fuel-deploy.sh
309 publishers: &publishers
311 recipients: armband@enea.com
315 name: 'iec-{iecType}-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
317 node: '{slave-label}'
318 properties: *properties
320 - lf-infra-parameters:
324 - '{project}-defaults'
325 - '{installer}-{os}-defaults'
327 name: DEPLOY_SCENARIO
328 default: '{scenario}'
334 default: '-EEE -o {os}'
340 - description-setter:
341 description: "POD: $NODE_NAME"
343 !include-raw-escape: ./iec-{installer}-destroy.sh
345 publishers: *publishers
348 name: 'iec-{iecType}-install-{usecase}-{installer}-{deploy_type}-{os}-daily-{stream}'
350 node: '{slave-label}'
351 properties: *properties
354 - lf-infra-parameters:
358 - '{project}-defaults'
359 - '{installer}-{os}-defaults'
363 name: '$BUILD_NUMBER - Usecase: ${usecase} DeployType: ${installer}-${deploy_type}'
369 !include-raw-escape: ./iec-{usecase}.sh
371 publishers: *publishers
373 ########################
375 ########################
377 # ----------------------------------------------------------------
378 # Akraino IEC CI Baremetal Triggers running against master branch
379 # ----------------------------------------------------------------
381 name: 'iec-type2-fuel-virtual-ubuntu1604-daily-master-trigger'
383 - timed: '0 1 * * 1,3,5'
385 name: 'iec-type2-fuel-baremetal-ubuntu1604-daily-master-trigger'
389 name: 'iec-type2-compass-virtual-ubuntu1604-daily-master-trigger'
391 - timed: '0 13 * * *'
393 name: 'iec-type2-fuel-virtual-ubuntu1804-daily-master-trigger'
395 - timed: '0 1 * * 2,6'
397 name: 'iec-type2-fuel-baremetal-ubuntu1804-daily-master-trigger'
401 name: 'iec-type2-fuel-virtual-centos7-daily-master-trigger'
403 - timed: '0 1 * * 4,7'
405 name: 'iec-type2-fuel-baremetal-centos7-daily-master-trigger'
409 name: 'iec-type1-compass-virtual-ubuntu1604-daily-master-trigger'
411 - timed: '0 19 * * *'