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: 'seba_on_arm-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: 'seba_on_arm-fuel-ubuntu1804-defaults'
118 name: 'seba_on_arm-fuel-centos7-defaults'
126 <<: *k8s_ssh_password
130 name: 'seba_on_arm-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'
179 name: DEPLOY_SCENARIO
180 default: '{scenario}'
184 - project: 'iec-deploy-{installer}-{deploy_type}-{os}-daily-{stream}'
185 current-parameters: false
186 predefined-parameters:
187 DEPLOY_SCENARIO={scenario}
192 {%- for uc in usecase -%}
193 iec-install-{{ uc | first }}-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }}
194 {%- if not loop.last -%},{%- endif -%}
196 current-parameters: false
200 build-step-failure-threshold: 'never'
201 failure-threshold: 'never'
202 unstable-threshold: 'FAILURE'
203 - project: 'iec-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
204 current-parameters: false
205 predefined-parameters:
206 DEPLOY_SCENARIO={scenario}
211 name: 'iec-deploy-{installer}-{deploy_type}-{os}-daily-{stream}'
213 node: '{slave-label}'
214 properties: &properties
221 use-build-blocker: true
223 - '.*-deploy-{installer}-{deploy_type}-.*'
224 - '.*-destroy-{installer}-{deploy_type}-.*'
225 - '.*-install-.*-{installer}-{deploy_type}-.*'
226 blocking-level: 'NODE'
229 - lf-infra-parameters:
233 - '{project}-defaults'
235 name: DEPLOY_SCENARIO
236 default: '{scenario}'
243 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
247 credentials-id: '{jenkins-ssh-credential}'
248 url: '{git-url}/{project}.git'
251 - 'refs/heads/{branch}'
257 timeout: '{submodule-timeout}'
258 choosing-strategy: default
261 - description-setter:
262 description: "POD: $NODE_NAME"
264 condition-kind: regex-match
269 !include-raw-escape: ./iec-compass-build.sh
271 !include-raw-escape: ./iec-compass-deploy.sh
273 !include-raw-escape: ./iec-fdn-install.sh
275 condition-kind: regex-match
280 !include-raw-escape: ./iec-fuel-deploy.sh
282 publishers: &publishers
284 recipients: armband@enea.com
288 name: 'iec-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
290 node: '{slave-label}'
291 properties: *properties
293 - lf-infra-parameters:
297 - '{project}-defaults'
299 name: DEPLOY_SCENARIO
300 default: '{scenario}'
303 default: '-EEE -o {os}'
309 - description-setter:
310 description: "POD: $NODE_NAME"
312 !include-raw-escape: ./iec-{installer}-destroy.sh
314 publishers: *publishers
317 name: 'iec-install-{usecase}-{installer}-{deploy_type}-{os}-daily-{stream}'
319 node: '{slave-label}'
320 properties: *properties
323 - lf-infra-parameters:
327 - '{project}-defaults'
328 - '{usecase}-{installer}-{os}-defaults'
332 name: '$BUILD_NUMBER - Usecase: ${usecase} DeployType: ${installer}-${deploy_type}'
338 !include-raw-escape: ./iec-{usecase}.sh
340 publishers: *publishers
342 ########################
344 ########################
346 # ----------------------------------------------------------------
347 # Akraino IEC CI Baremetal Triggers running against master branch
348 # ----------------------------------------------------------------
350 name: 'iec-fuel-virtual-ubuntu1604-daily-master-trigger'
352 - timed: '0 1 * * 1,3,5'
354 name: 'iec-fuel-baremetal-ubuntu1604-daily-master-trigger'
358 name: 'iec-compass-virtual-ubuntu1604-daily-master-trigger'
360 - timed: '0 13 * * *'
362 name: 'iec-fuel-virtual-ubuntu1804-daily-master-trigger'
364 - timed: '0 1 * * 2,6'
366 name: 'iec-fuel-baremetal-ubuntu1804-daily-master-trigger'
370 name: 'iec-fuel-virtual-centos7-daily-master-trigger'
372 - timed: '0 1 * * 4,7'
374 name: 'iec-fuel-baremetal-centos7-daily-master-trigger'