5 project: '{project-name}'
8 # -------------------------------
10 # -------------------------------
17 # -------------------------------
18 # INSTALLER DEFINITIONS
19 # -------------------------------
24 # -------------------------------
25 # OPERATING SYSTEM DEFINITIONS
26 # -------------------------------
32 # -------------------------------
33 # DEPLOY TYPE DEFINITIONS
34 # -------------------------------
37 slave-label: 'aarch64_dev'
38 scenario: 'k8-calico-iec-noha'
40 slave-label: 'aarch64_dev'
41 scenario: 'k8-calico-iec-noha'
44 # Compass does not run against baremetal PODs yet
46 deploy_type: baremetal
52 # -------------------------------
54 # -------------------------------
57 slave-label: 'aarch64_dev'
58 scenario: 'k8-calico-iec-noha'
61 - 'iec-{installer}-{deploy_type}-{os}-daily-{stream}'
62 - 'iec-deploy-{installer}-{deploy_type}-{os}-daily-{stream}'
63 - 'iec-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
64 - 'iec-install-{usecase}-{installer}-{deploy_type}-{os}-daily-{stream}'
75 description: 'IP of the installer'
78 default: '/var/lib/opnfv/mcp.rsa'
79 description: 'Path to private SSH key to access environment nodes'
81 name: EXTERNAL_NETWORK
82 default: 'floating_net'
83 description: 'external network for test'
87 description: 'Show debug output information'
89 name: ARCHIVE_ARTIFACTS
91 description: Artifacts to archive to the logs server.
92 # Usecase params are both installer and OS specific
93 - parameter: &k8s_fuel_ubuntu1604_parameter
94 name: 'seba_on_arm-fuel-ubuntu1604-defaults'
96 - string: &k8s_master_ip
99 description: 'IP address to connect to the K8s master'
100 - string: &k8s_ssh_user
103 description: 'SSH username to connect to the K8s master '
104 - string: &k8s_ssh_password
105 name: K8S_SSH_PASSWORD
107 description: 'SSH password to connect to the K8s master'
108 - string: &k8s_ssh_key
111 description: 'SSH key to connect to the K8s master'
113 <<: *k8s_fuel_ubuntu1604_parameter
114 name: 'seba_on_arm-fuel-ubuntu1804-defaults'
116 name: 'seba_on_arm-fuel-centos7-defaults'
124 <<: *k8s_ssh_password
128 name: 'seba_on_arm-compass-ubuntu1604-defaults'
137 <<: *k8s_ssh_password
142 ########################
144 ########################
146 name: 'iec-{installer}-{deploy_type}-{os}-daily-{stream}'
147 disabled: '{obj:disabled}'
149 node: '{slave-label}'
157 use-build-blocker: true
159 - '.*-fuel-{deploy_type}-.*'
160 - '.*-compass-{deploy_type}-.*'
161 blocking-level: 'NODE'
165 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
168 - 'iec-{installer}-{deploy_type}-{os}-daily-{stream}-trigger'
171 - lf-infra-parameters:
175 - '{project}-defaults'
177 name: DEPLOY_SCENARIO
178 default: '{scenario}'
182 - project: 'iec-deploy-{installer}-{deploy_type}-{os}-daily-{stream}'
183 current-parameters: false
184 predefined-parameters:
185 DEPLOY_SCENARIO={scenario}
190 {%- for uc in usecase -%}
191 iec-install-{{ uc | first }}-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }}
192 {%- if not loop.last -%},{%- endif -%}
194 current-parameters: false
198 build-step-failure-threshold: 'never'
199 failure-threshold: 'never'
200 unstable-threshold: 'FAILURE'
201 - project: 'iec-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
202 current-parameters: false
203 predefined-parameters:
204 DEPLOY_SCENARIO={scenario}
209 name: 'iec-deploy-{installer}-{deploy_type}-{os}-daily-{stream}'
211 node: '{slave-label}'
212 properties: &properties
219 use-build-blocker: true
221 - '.*-deploy-{installer}-{deploy_type}-.*'
222 - '.*-destroy-{installer}-{deploy_type}-.*'
223 - '.*-install-.*-{installer}-{deploy_type}-.*'
224 blocking-level: 'NODE'
227 - lf-infra-parameters:
231 - '{project}-defaults'
233 name: DEPLOY_SCENARIO
234 default: '{scenario}'
241 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
245 credentials-id: '{jenkins-ssh-credential}'
246 url: '{git-url}/{project}.git'
249 - 'refs/heads/{branch}'
255 timeout: '{submodule-timeout}'
256 choosing-strategy: default
259 - description-setter:
260 description: "POD: $NODE_NAME"
262 condition-kind: regex-match
267 !include-raw-escape: ./iec-compass-build.sh
269 !include-raw-escape: ./iec-compass-deploy.sh
271 !include-raw-escape: ./iec-fdn-install.sh
273 condition-kind: regex-match
278 !include-raw-escape: ./iec-fuel-deploy.sh
280 publishers: &publishers
282 recipients: armband@enea.com
286 name: 'iec-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
288 node: '{slave-label}'
289 properties: *properties
291 - lf-infra-parameters:
295 - '{project}-defaults'
297 name: DEPLOY_SCENARIO
298 default: '{scenario}'
301 default: '-EEE -o {os}'
307 - description-setter:
308 description: "POD: $NODE_NAME"
310 !include-raw-escape: ./iec-{installer}-destroy.sh
312 publishers: *publishers
315 name: 'iec-install-{usecase}-{installer}-{deploy_type}-{os}-daily-{stream}'
317 node: '{slave-label}'
318 properties: *properties
321 - lf-infra-parameters:
325 - '{project}-defaults'
326 - '{usecase}-{installer}-{os}-defaults'
330 name: '$BUILD_NUMBER - Usecase: ${usecase} DeployType: ${installer}-${deploy_type}'
336 !include-raw-escape: ./iec-{usecase}.sh
338 publishers: *publishers
340 ########################
342 ########################
344 # ----------------------------------------------------------------
345 # Akraino IEC CI Baremetal Triggers running against master branch
346 # ----------------------------------------------------------------
348 name: 'iec-fuel-virtual-ubuntu1604-daily-master-trigger'
350 - timed: '0 1 * * 1,3,5'
352 name: 'iec-fuel-baremetal-ubuntu1604-daily-master-trigger'
356 name: 'iec-compass-virtual-ubuntu1604-daily-master-trigger'
358 - timed: '0 13 * * *'
360 name: 'iec-fuel-virtual-ubuntu1804-daily-master-trigger'
362 - timed: '0 1 * * 2,6'
364 name: 'iec-fuel-baremetal-ubuntu1804-daily-master-trigger'
368 name: 'iec-fuel-virtual-centos7-daily-master-trigger'
370 - timed: '0 1 * * 4,7'
372 name: 'iec-fuel-baremetal-centos7-daily-master-trigger'