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.
93 name: 'seba_on_arm-defaults'
98 description: 'SSH username to connect to the K8s master '
100 name: K8S_SSH_PASSWORD
102 description: 'SSH password to connect to the K8s master'
106 description: 'SSH key to connect to the K8s master'
108 name: K8S_MASTER_IP_COMPASS
110 description: 'IP address to compass connect to the K8s master'
112 name: K8S_SSH_PASSWORD_COMPASS
114 description: 'SSH password to compass connect to the K8s master'
116 name: K8S_SSH_USER_COMPASS
118 description: 'SSH username to compass connect to the K8s master'
120 ########################
122 ########################
124 name: 'iec-{installer}-{deploy_type}-{os}-daily-{stream}'
125 disabled: '{obj:disabled}'
127 node: '{slave-label}'
135 use-build-blocker: true
137 - '.*-fuel-{deploy_type}-.*'
138 - '.*-compass-{deploy_type}-.*'
139 blocking-level: 'NODE'
143 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
146 - 'iec-{installer}-{deploy_type}-{os}-daily-{stream}-trigger'
149 - lf-infra-parameters:
153 - '{project}-defaults'
155 name: DEPLOY_SCENARIO
156 default: '{scenario}'
160 - project: 'iec-deploy-{installer}-{deploy_type}-{os}-daily-{stream}'
161 current-parameters: false
162 predefined-parameters:
163 DEPLOY_SCENARIO={scenario}
168 {%- for uc in usecase -%}
169 iec-install-{{ uc | first }}-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }}
170 {%- if not loop.last -%},{%- endif -%}
172 current-parameters: false
176 build-step-failure-threshold: 'never'
177 failure-threshold: 'never'
178 unstable-threshold: 'FAILURE'
179 - project: 'iec-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
180 current-parameters: false
181 predefined-parameters:
182 DEPLOY_SCENARIO={scenario}
187 name: 'iec-deploy-{installer}-{deploy_type}-{os}-daily-{stream}'
189 node: '{slave-label}'
190 properties: &properties
197 use-build-blocker: true
199 - '.*-deploy-{installer}-{deploy_type}-.*'
200 - '.*-destroy-{installer}-{deploy_type}-.*'
201 - '.*-install-.*-{installer}-{deploy_type}-.*'
202 blocking-level: 'NODE'
205 - lf-infra-parameters:
209 - '{project}-defaults'
211 name: DEPLOY_SCENARIO
212 default: '{scenario}'
219 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
223 credentials-id: '{jenkins-ssh-credential}'
224 url: '{git-url}/{project}.git'
227 - 'refs/heads/{branch}'
233 timeout: '{submodule-timeout}'
234 choosing-strategy: default
237 - description-setter:
238 description: "POD: $NODE_NAME"
240 condition-kind: regex-match
245 !include-raw-escape: ./iec-compass-build.sh
247 !include-raw-escape: ./iec-compass-deploy.sh
249 !include-raw-escape: ./iec-fdn-install.sh
251 condition-kind: regex-match
256 !include-raw-escape: ./iec-fuel-deploy.sh
258 publishers: &publishers
260 recipients: armband@enea.com
264 name: 'iec-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
266 node: '{slave-label}'
267 properties: *properties
269 - lf-infra-parameters:
273 - '{project}-defaults'
275 name: DEPLOY_SCENARIO
276 default: '{scenario}'
279 default: '-EEE -o {os}'
285 - description-setter:
286 description: "POD: $NODE_NAME"
288 !include-raw-escape: ./iec-{installer}-destroy.sh
290 publishers: *publishers
293 name: 'iec-install-{usecase}-{installer}-{deploy_type}-{os}-daily-{stream}'
295 node: '{slave-label}'
296 properties: *properties
299 - lf-infra-parameters:
303 - '{project}-defaults'
304 - '{usecase}-defaults'
308 name: '$BUILD_NUMBER - Usecase: ${usecase} DeployType: ${installer}-${deploy_type}'
314 !include-raw-escape: ./iec-{usecase}.sh
316 publishers: *publishers
318 ########################
320 ########################
322 # ----------------------------------------------------------------
323 # Akraino IEC CI Baremetal Triggers running against master branch
324 # ----------------------------------------------------------------
326 name: 'iec-fuel-virtual-ubuntu1604-daily-master-trigger'
328 - timed: '0 1 * * 1,3,5'
330 name: 'iec-fuel-baremetal-ubuntu1604-daily-master-trigger'
334 name: 'iec-compass-virtual-ubuntu1604-daily-master-trigger'
336 - timed: '0 13 * * *'
338 name: 'iec-fuel-virtual-ubuntu1804-daily-master-trigger'
340 - timed: '0 1 * * 2,6'
342 name: 'iec-fuel-baremetal-ubuntu1804-daily-master-trigger'
346 name: 'iec-fuel-virtual-centos7-daily-master-trigger'
348 - timed: '0 1 * * 4,7'
350 name: 'iec-fuel-baremetal-centos7-daily-master-trigger'