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 CLUSTER_MASTER_IP=$K8S_MASTER_IP
235 CLUSTER_SSH_USER=$K8S_SSH_USER
236 CLUSTER_SSH_PASSWORD=$K8S_SSH_PASSWORD
237 CLUSTER_SSH_KEY=$K8S_SSH_KEY
238 BLUEPRINT={project-name}
245 {%- for uc in usecase -%}
246 iec-{{ iecType }}-install-{{ uc | first }}-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }}
247 {%- if not loop.last -%},{%- endif -%}
249 current-parameters: true
253 build-step-failure-threshold: 'never'
254 failure-threshold: 'never'
255 unstable-threshold: 'FAILURE'
256 - project: 'iec-{iecType}-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
257 current-parameters: false
258 predefined-parameters: |
259 DEPLOY_SCENARIO={scenario}
265 name: 'iec-{iecType}-deploy-{installer}-{deploy_type}-{os}-daily-{stream}'
267 node: '{slave-label}'
268 properties: &properties
275 use-build-blocker: true
277 - '.*-{iecType}-deploy-{installer}-{deploy_type}-.*'
278 - '.*-{iecType}-destroy-{installer}-{deploy_type}-.*'
279 - '.*-{iecType}-install-.*-{installer}-{deploy_type}-.*'
283 - lf-infra-parameters:
287 - '{project}-defaults'
288 - '{installer}-{os}-defaults'
290 name: DEPLOY_SCENARIO
291 default: '{scenario}'
301 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO $IEC_TYPE'
305 credentials-id: '{jenkins-ssh-credential}'
306 url: '{git-url}/{project}.git'
309 - 'refs/heads/{branch}'
315 timeout: '{submodule-timeout}'
316 choosing-strategy: default
319 - description-setter:
320 description: "POD: $NODE_NAME"
322 condition-kind: regex-match
327 !include-raw-escape: ./iec-compass-build.sh
329 !include-raw-escape: ./iec-compass-deploy.sh
331 !include-raw-escape: ./iec-fdn-install.sh
333 condition-kind: regex-match
338 !include-raw-escape: ./iec-fuel-deploy.sh
340 publishers: &publishers
342 recipients: armband@enea.com
346 name: 'iec-{iecType}-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
348 node: '{slave-label}'
349 properties: *properties
351 - lf-infra-parameters:
355 - '{project}-defaults'
356 - '{installer}-{os}-defaults'
358 name: DEPLOY_SCENARIO
359 default: '{scenario}'
365 default: '-EEE -o {os}'
371 - description-setter:
372 description: "POD: $NODE_NAME"
374 !include-raw-escape: ./iec-{installer}-destroy.sh
376 publishers: *publishers
379 name: 'iec-{iecType}-install-{usecase}-{installer}-{deploy_type}-{os}-daily-{stream}'
381 node: '{slave-label}'
382 properties: *properties
385 - lf-infra-parameters:
389 - '{project}-defaults'
390 - '{installer}-{os}-defaults'
394 name: '$BUILD_NUMBER - Usecase: ${usecase} DeployType: ${installer}-${deploy_type}'
400 !include-raw-escape: ./iec-{usecase}.sh
402 publishers: *publishers
405 ########################
407 ########################
409 # ----------------------------------------------------------------
410 # Akraino IEC CI Baremetal Triggers running against master branch
411 # ----------------------------------------------------------------
413 name: 'iec-type2-fuel-virtual-ubuntu1604-daily-master-trigger'
415 - timed: '0 1 * * 1,3,5'
417 name: 'iec-type2-fuel-baremetal-ubuntu1604-daily-master-trigger'
421 name: 'iec-type2-compass-virtual-ubuntu1604-daily-master-trigger'
423 - timed: '0 13 * * *'
425 name: 'iec-type2-fuel-virtual-ubuntu1804-daily-master-trigger'
427 - timed: '0 1 * * 2,6'
429 name: 'iec-type2-fuel-baremetal-ubuntu1804-daily-master-trigger'
433 name: 'iec-type2-fuel-virtual-centos7-daily-master-trigger'
435 - timed: '0 1 * * 4,7'
437 name: 'iec-type2-fuel-baremetal-centos7-daily-master-trigger'
441 name: 'iec-type1-compass-virtual-ubuntu1604-daily-master-trigger'
443 - timed: '0 19 * * *'