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 # -------------------------------
34 # -------------------------------
35 # DEPLOY TYPE DEFINITIONS
36 # -------------------------------
39 slave-label: 'aarch64_dev'
40 scenario: 'k8-calico-iec-noha'
42 slave-label: 'aarch64_dev'
43 scenario: 'k8-calico-iec-noha'
46 # Compass does not run against baremetal PODs yet
48 deploy_type: baremetal
54 # -------------------------------
56 # -------------------------------
59 slave-label: 'aarch64_dev'
60 scenario: 'k8-calico-iec-noha'
63 - 'iec-{installer}-{deploy_type}-{os}-daily-{stream}'
64 - 'iec-deploy-{installer}-{deploy_type}-{os}-daily-{stream}'
65 - 'iec-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
66 - 'iec-install-{usecase}-{installer}-{deploy_type}-{os}-daily-{stream}'
77 description: 'IP of the installer'
80 default: '/var/lib/opnfv/mcp.rsa'
81 description: 'Path to private SSH key to access environment nodes'
83 name: EXTERNAL_NETWORK
84 default: 'floating_net'
85 description: 'external network for test'
89 description: 'Show debug output information'
91 name: ARCHIVE_ARTIFACTS
93 description: Artifacts to archive to the logs server.
94 # Usecase params are both installer and OS specific
95 - parameter: &k8s_fuel_ubuntu1604_parameter
96 name: 'fuel-ubuntu1604-defaults'
98 - string: &k8s_master_ip
100 default: '172.16.10.36'
101 description: 'IP address to connect to the K8s master'
102 - string: &k8s_ssh_user
105 description: 'SSH username to connect to the K8s master '
106 - string: &k8s_ssh_password
107 name: K8S_SSH_PASSWORD
109 description: 'SSH password to connect to the K8s master'
110 - string: &k8s_ssh_key
112 default: '/var/lib/opnfv/mcp.rsa'
113 description: 'SSH key to connect to the K8s master'
115 <<: *k8s_fuel_ubuntu1604_parameter
116 name: 'fuel-ubuntu1804-defaults'
118 name: 'fuel-centos7-defaults'
126 <<: *k8s_ssh_password
130 name: 'compass-ubuntu1604-defaults'
139 <<: *k8s_ssh_password
144 ########################
146 ########################
148 name: 'iec-{installer}-{deploy_type}-{os}-daily-{stream}'
149 disabled: '{obj:disabled}'
151 node: '{slave-label}'
159 use-build-blocker: true
161 - '.*-fuel-{deploy_type}-.*'
162 - '.*-compass-{deploy_type}-.*'
163 blocking-level: 'NODE'
167 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
170 - 'iec-{installer}-{deploy_type}-{os}-daily-{stream}-trigger'
173 - lf-infra-parameters:
177 - '{project}-defaults'
178 - '{installer}-{os}-defaults'
180 name: DEPLOY_SCENARIO
181 default: '{scenario}'
185 - project: 'iec-deploy-{installer}-{deploy_type}-{os}-daily-{stream}'
186 current-parameters: true
187 predefined-parameters:
188 DEPLOY_SCENARIO={scenario}
191 - project: 'validation-enea-daily-{stream}'
193 current-parameters: true
194 predefined-parameters: |
195 BLUEPRINT={project-name}
202 {%- for uc in usecase -%}
203 iec-install-{{ uc | first }}-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }}
204 {%- if not loop.last -%},{%- endif -%}
206 current-parameters: true
210 build-step-failure-threshold: 'never'
211 failure-threshold: 'never'
212 unstable-threshold: 'FAILURE'
213 - project: 'iec-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
214 current-parameters: false
215 predefined-parameters:
216 DEPLOY_SCENARIO={scenario}
221 name: 'iec-deploy-{installer}-{deploy_type}-{os}-daily-{stream}'
223 node: '{slave-label}'
224 properties: &properties
231 use-build-blocker: true
233 - '.*-deploy-{installer}-{deploy_type}-.*'
234 - '.*-destroy-{installer}-{deploy_type}-.*'
235 - '.*-install-.*-{installer}-{deploy_type}-.*'
236 blocking-level: 'NODE'
239 - lf-infra-parameters:
243 - '{project}-defaults'
244 - '{installer}-{os}-defaults'
246 name: DEPLOY_SCENARIO
247 default: '{scenario}'
254 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
258 credentials-id: '{jenkins-ssh-credential}'
259 url: '{git-url}/{project}.git'
262 - 'refs/heads/{branch}'
268 timeout: '{submodule-timeout}'
269 choosing-strategy: default
272 - description-setter:
273 description: "POD: $NODE_NAME"
275 condition-kind: regex-match
280 !include-raw-escape: ./iec-compass-build.sh
282 !include-raw-escape: ./iec-compass-deploy.sh
284 !include-raw-escape: ./iec-fdn-install.sh
286 condition-kind: regex-match
291 !include-raw-escape: ./iec-fuel-deploy.sh
293 publishers: &publishers
295 recipients: armband@enea.com
299 name: 'iec-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
301 node: '{slave-label}'
302 properties: *properties
304 - lf-infra-parameters:
308 - '{project}-defaults'
309 - '{installer}-{os}-defaults'
311 name: DEPLOY_SCENARIO
312 default: '{scenario}'
315 default: '-EEE -o {os}'
321 - description-setter:
322 description: "POD: $NODE_NAME"
324 !include-raw-escape: ./iec-{installer}-destroy.sh
326 publishers: *publishers
329 name: 'iec-install-{usecase}-{installer}-{deploy_type}-{os}-daily-{stream}'
331 node: '{slave-label}'
332 properties: *properties
335 - lf-infra-parameters:
339 - '{project}-defaults'
340 - '{installer}-{os}-defaults'
344 name: '$BUILD_NUMBER - Usecase: ${usecase} DeployType: ${installer}-${deploy_type}'
350 !include-raw-escape: ./iec-{usecase}.sh
352 publishers: *publishers
354 ########################
356 ########################
358 # ----------------------------------------------------------------
359 # Akraino IEC CI Baremetal Triggers running against master branch
360 # ----------------------------------------------------------------
362 name: 'iec-fuel-virtual-ubuntu1604-daily-master-trigger'
364 - timed: '0 1 * * 1,3,5'
366 name: 'iec-fuel-baremetal-ubuntu1604-daily-master-trigger'
370 name: 'iec-compass-virtual-ubuntu1604-daily-master-trigger'
372 - timed: '0 13 * * *'
374 name: 'iec-fuel-virtual-ubuntu1804-daily-master-trigger'
376 - timed: '0 1 * * 2,6'
378 name: 'iec-fuel-baremetal-ubuntu1804-daily-master-trigger'
382 name: 'iec-fuel-virtual-centos7-daily-master-trigger'
384 - timed: '0 1 * * 4,7'
386 name: 'iec-fuel-baremetal-centos7-daily-master-trigger'