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
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
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'
245 name: DEPLOY_SCENARIO
246 default: '{scenario}'
253 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
257 credentials-id: '{jenkins-ssh-credential}'
258 url: '{git-url}/{project}.git'
261 - 'refs/heads/{branch}'
267 timeout: '{submodule-timeout}'
268 choosing-strategy: default
271 - description-setter:
272 description: "POD: $NODE_NAME"
274 condition-kind: regex-match
279 !include-raw-escape: ./iec-compass-build.sh
281 !include-raw-escape: ./iec-compass-deploy.sh
283 !include-raw-escape: ./iec-fdn-install.sh
285 condition-kind: regex-match
290 !include-raw-escape: ./iec-fuel-deploy.sh
292 publishers: &publishers
294 recipients: armband@enea.com
298 name: 'iec-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
300 node: '{slave-label}'
301 properties: *properties
303 - lf-infra-parameters:
307 - '{project}-defaults'
309 name: DEPLOY_SCENARIO
310 default: '{scenario}'
313 default: '-EEE -o {os}'
319 - description-setter:
320 description: "POD: $NODE_NAME"
322 !include-raw-escape: ./iec-{installer}-destroy.sh
324 publishers: *publishers
327 name: 'iec-install-{usecase}-{installer}-{deploy_type}-{os}-daily-{stream}'
329 node: '{slave-label}'
330 properties: *properties
333 - lf-infra-parameters:
337 - '{project}-defaults'
341 name: '$BUILD_NUMBER - Usecase: ${usecase} DeployType: ${installer}-${deploy_type}'
347 !include-raw-escape: ./iec-{usecase}.sh
349 publishers: *publishers
351 ########################
353 ########################
355 # ----------------------------------------------------------------
356 # Akraino IEC CI Baremetal Triggers running against master branch
357 # ----------------------------------------------------------------
359 name: 'iec-fuel-virtual-ubuntu1604-daily-master-trigger'
361 - timed: '0 1 * * 1,3,5'
363 name: 'iec-fuel-baremetal-ubuntu1604-daily-master-trigger'
367 name: 'iec-compass-virtual-ubuntu1604-daily-master-trigger'
369 - timed: '0 13 * * *'
371 name: 'iec-fuel-virtual-ubuntu1804-daily-master-trigger'
373 - timed: '0 1 * * 2,6'
375 name: 'iec-fuel-baremetal-ubuntu1804-daily-master-trigger'
379 name: 'iec-fuel-virtual-centos7-daily-master-trigger'
381 - timed: '0 1 * * 4,7'
383 name: 'iec-fuel-baremetal-centos7-daily-master-trigger'