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.
95 name: 'seba_on_arm-defaults'
100 description: 'SSH username to connect to the K8s master '
102 name: K8S_SSH_PASSWORD
104 description: 'SSH password to connect to the K8s master'
108 description: 'SSH key to connect to the K8s master'
110 name: K8S_MASTER_IP_COMPASS
112 description: 'IP address to compass connect to the K8s master'
114 name: K8S_SSH_PASSWORD_COMPASS
116 description: 'SSH password to compass connect to the K8s master'
118 name: K8S_SSH_USER_COMPASS
120 description: 'SSH username to compass connect to the K8s master'
122 ########################
124 ########################
126 name: 'iec-{installer}-{deploy_type}-{os}-daily-{stream}'
127 disabled: '{obj:disabled}'
129 node: '{slave-label}'
137 use-build-blocker: true
139 - '.*-fuel-{deploy_type}-.*'
140 - '.*-compass-{deploy_type}-.*'
141 blocking-level: 'NODE'
145 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
148 - 'iec-{installer}-{deploy_type}-{os}-daily-{stream}-trigger'
151 - lf-infra-parameters:
155 - '{project}-defaults'
157 name: DEPLOY_SCENARIO
158 default: '{scenario}'
162 - project: 'iec-deploy-{installer}-{deploy_type}-{os}-daily-{stream}'
163 current-parameters: false
164 predefined-parameters:
165 DEPLOY_SCENARIO={scenario}
170 {%- for uc in usecase -%}
171 iec-install-{{ uc | first }}-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }}
172 {%- if not loop.last -%},{%- endif -%}
174 current-parameters: false
178 build-step-failure-threshold: 'never'
179 failure-threshold: 'never'
180 unstable-threshold: 'FAILURE'
181 - project: 'iec-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
182 current-parameters: false
183 predefined-parameters:
184 DEPLOY_SCENARIO={scenario}
189 name: 'iec-deploy-{installer}-{deploy_type}-{os}-daily-{stream}'
191 node: '{slave-label}'
192 properties: &properties
199 use-build-blocker: true
201 - '.*-deploy-{installer}-{deploy_type}-.*'
202 - '.*-destroy-{installer}-{deploy_type}-.*'
203 - '.*-install-.*-{installer}-{deploy_type}-.*'
204 blocking-level: 'NODE'
207 - lf-infra-parameters:
211 - '{project}-defaults'
213 name: DEPLOY_SCENARIO
214 default: '{scenario}'
221 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
225 credentials-id: '{jenkins-ssh-credential}'
226 url: '{git-url}/{project}.git'
229 - 'refs/heads/{branch}'
235 timeout: '{submodule-timeout}'
236 choosing-strategy: default
239 - description-setter:
240 description: "POD: $NODE_NAME"
242 condition-kind: regex-match
247 !include-raw-escape: ./iec-compass-build.sh
249 !include-raw-escape: ./iec-compass-deploy.sh
251 !include-raw-escape: ./iec-fdn-install.sh
253 condition-kind: regex-match
258 !include-raw-escape: ./iec-fuel-deploy.sh
260 publishers: &publishers
262 recipients: armband@enea.com
266 name: 'iec-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
268 node: '{slave-label}'
269 properties: *properties
271 - lf-infra-parameters:
275 - '{project}-defaults'
277 name: DEPLOY_SCENARIO
278 default: '{scenario}'
281 default: '-EEE -o {os}'
287 - description-setter:
288 description: "POD: $NODE_NAME"
290 !include-raw-escape: ./iec-{installer}-destroy.sh
292 publishers: *publishers
295 name: 'iec-install-{usecase}-{installer}-{deploy_type}-{os}-daily-{stream}'
297 node: '{slave-label}'
298 properties: *properties
301 - lf-infra-parameters:
305 - '{project}-defaults'
306 - '{usecase}-defaults'
310 name: '$BUILD_NUMBER - Usecase: ${usecase} DeployType: ${installer}-${deploy_type}'
316 !include-raw-escape: ./iec-{usecase}.sh
318 publishers: *publishers
320 ########################
322 ########################
324 # ----------------------------------------------------------------
325 # Akraino IEC CI Baremetal Triggers running against master branch
326 # ----------------------------------------------------------------
328 name: 'iec-fuel-virtual-ubuntu1604-daily-master-trigger'
330 - timed: '0 1 * * 1,3,5'
332 name: 'iec-fuel-baremetal-ubuntu1604-daily-master-trigger'
336 name: 'iec-compass-virtual-ubuntu1604-daily-master-trigger'
338 - timed: '0 13 * * *'
340 name: 'iec-fuel-virtual-ubuntu1804-daily-master-trigger'
342 - timed: '0 1 * * 2,6'
344 name: 'iec-fuel-baremetal-ubuntu1804-daily-master-trigger'
348 name: 'iec-fuel-virtual-centos7-daily-master-trigger'
350 - timed: '0 1 * * 4,7'
352 name: 'iec-fuel-baremetal-centos7-daily-master-trigger'