5 project: '{project-name}'
8 # -------------------------------
10 # -------------------------------
17 # -------------------------------
18 # INSTALLER DEFINITIONS
19 # -------------------------------
24 # -------------------------------
25 # DEPLOY TYPE DEFINITIONS
26 # -------------------------------
29 slave-label: 'aarch64_dev'
30 scenario: 'k8-calico-iec-noha'
32 slave-label: 'aarch64_dev'
33 scenario: 'k8-calico-iec-noha'
36 # Compass does not run against baremetal PODs yet
38 deploy_type: baremetal
40 # -------------------------------
42 # -------------------------------
45 slave-label: 'aarch64_dev'
46 scenario: 'k8-calico-iec-noha'
49 - 'iec-{installer}-{deploy_type}-daily-{stream}'
50 - 'iec-deploy-{installer}-{deploy_type}-daily-{stream}'
51 - 'iec-destroy-{installer}-{deploy_type}-daily-{stream}'
52 - 'iec-install-{usecase}-{installer}-{deploy_type}-daily-{stream}'
63 description: 'IP of the installer'
66 default: '/var/lib/opnfv/mcp.rsa'
67 description: 'Path to private SSH key to access environment nodes'
69 name: EXTERNAL_NETWORK
70 default: 'floating_net'
71 description: 'external network for test'
75 description: 'Show debug output information'
77 name: ARCHIVE_ARTIFACTS
79 description: Artifacts to archive to the logs server.
81 name: 'seba_on_arm-defaults'
86 description: 'SSH username to connect to the K8s master '
88 name: K8S_SSH_PASSWORD
90 description: 'SSH password to connect to the K8s master'
94 description: 'SSH key to connect to the K8s master'
96 name: K8S_MASTER_IP_COMPASS
98 description: 'IP address to compass connect to the K8s master'
100 name: K8S_SSH_PASSWORD_COMPASS
102 description: 'SSH password to compass connect to the K8s master'
104 name: K8S_SSH_USER_COMPASS
106 description: 'SSH username to compass connect to the K8s master'
108 ########################
110 ########################
112 name: 'iec-{installer}-{deploy_type}-daily-{stream}'
113 disabled: '{obj:disabled}'
115 node: '{slave-label}'
123 use-build-blocker: true
125 - '.*-fuel-{deploy_type}-daily-.*'
126 - '.*-compass-{deploy_type}-daily-.*'
127 blocking-level: 'NODE'
131 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
134 - 'iec-{installer}-{deploy_type}-daily-{stream}-trigger'
137 - lf-infra-parameters:
141 - '{project}-defaults'
143 name: DEPLOY_SCENARIO
144 default: '{scenario}'
148 - project: 'iec-deploy-{installer}-{deploy_type}-daily-{stream}'
149 current-parameters: false
150 predefined-parameters:
151 DEPLOY_SCENARIO={scenario}
156 {%- for uc in usecase -%}
157 iec-install-{{ uc | first }}-{{ installer }}-{{ deploy_type }}-daily-{{ stream }}
158 {%- if not loop.last -%},{%- endif -%}
160 current-parameters: false
164 build-step-failure-threshold: 'never'
165 failure-threshold: 'never'
166 unstable-threshold: 'FAILURE'
167 - project: 'iec-destroy-{installer}-{deploy_type}-daily-{stream}'
168 current-parameters: false
169 predefined-parameters:
170 DEPLOY_SCENARIO={scenario}
175 name: 'iec-deploy-{installer}-{deploy_type}-daily-{stream}'
177 node: '{slave-label}'
178 properties: &properties
185 use-build-blocker: true
187 - '.*-deploy-{installer}-{deploy_type}-daily-.*'
188 - '.*-destroy-{installer}-{deploy_type}-daily-.*'
189 - '.*-install-.*-{installer}-{deploy_type}-daily-.*'
190 blocking-level: 'NODE'
193 - lf-infra-parameters:
197 - '{project}-defaults'
199 name: DEPLOY_SCENARIO
200 default: '{scenario}'
204 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
208 credentials-id: '{jenkins-ssh-credential}'
209 url: '{git-url}/{project}.git'
212 - 'refs/heads/{branch}'
218 timeout: '{submodule-timeout}'
219 choosing-strategy: default
222 - description-setter:
223 description: "POD: $NODE_NAME"
225 condition-kind: regex-match
230 !include-raw-escape: ./iec-compass-build.sh
232 !include-raw-escape: ./iec-compass-deploy.sh
234 !include-raw-escape: ./iec-fdn-install.sh
236 condition-kind: regex-match
241 !include-raw-escape: ./iec-fuel-deploy.sh
243 publishers: &publishers
245 recipients: armband@enea.com
249 name: 'iec-destroy-{installer}-{deploy_type}-daily-{stream}'
251 node: '{slave-label}'
252 properties: *properties
254 - lf-infra-parameters:
258 - '{project}-defaults'
260 name: DEPLOY_SCENARIO
261 default: '{scenario}'
270 - description-setter:
271 description: "POD: $NODE_NAME"
273 !include-raw-escape: ./iec-{installer}-destroy.sh
275 publishers: *publishers
278 name: 'iec-install-{usecase}-{installer}-{deploy_type}-daily-{stream}'
280 node: '{slave-label}'
281 properties: *properties
284 - lf-infra-parameters:
288 - '{project}-defaults'
289 - '{usecase}-defaults'
293 name: '$BUILD_NUMBER - Usecase: ${usecase} DeployType: ${installer}-${deploy_type}'
299 !include-raw-escape: ./iec-{usecase}.sh
301 publishers: *publishers
303 ########################
305 ########################
307 # ----------------------------------------------------------------
308 # Akraino IEC CI Baremetal Triggers running against master branch
309 # ----------------------------------------------------------------
311 name: 'iec-fuel-virtual-daily-master-trigger'
315 name: 'iec-fuel-baremetal-daily-master-trigger'
319 name: 'iec-compass-virtual-daily-master-trigger'
321 - timed: '0 13 * * *'