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 ########################
98 ########################
100 name: 'iec-{installer}-{deploy_type}-daily-{stream}'
101 disabled: '{obj:disabled}'
103 node: '{slave-label}'
111 use-build-blocker: true
113 - '.*-fuel-{deploy_type}-daily-.*'
114 - '.*-compass-{deploy_type}-daily-.*'
115 blocking-level: 'NODE'
119 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
122 - 'iec-{installer}-{deploy_type}-daily-{stream}-trigger'
125 - lf-infra-parameters:
129 - '{project}-defaults'
131 name: DEPLOY_SCENARIO
132 default: '{scenario}'
136 - project: 'iec-deploy-{installer}-{deploy_type}-daily-{stream}'
137 current-parameters: false
138 predefined-parameters:
139 DEPLOY_SCENARIO={scenario}
144 {%- for uc in usecase -%}
145 iec-install-{{ uc | first }}-{{ installer }}-{{ deploy_type }}-daily-{{ stream }}
146 {%- if not loop.last -%},{%- endif -%}
148 current-parameters: false
152 build-step-failure-threshold: 'never'
153 failure-threshold: 'never'
154 unstable-threshold: 'FAILURE'
155 - project: 'iec-destroy-{installer}-{deploy_type}-daily-{stream}'
156 current-parameters: false
157 predefined-parameters:
158 DEPLOY_SCENARIO={scenario}
163 name: 'iec-deploy-{installer}-{deploy_type}-daily-{stream}'
165 node: '{slave-label}'
166 properties: &properties
173 use-build-blocker: true
175 - '.*-deploy-{installer}-{deploy_type}-daily-.*'
176 - '.*-destroy-{installer}-{deploy_type}-daily-.*'
177 - '.*-install-.*-{installer}-{deploy_type}-daily-.*'
178 blocking-level: 'NODE'
181 - lf-infra-parameters:
185 - '{project}-defaults'
187 name: DEPLOY_SCENARIO
188 default: '{scenario}'
192 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
196 credentials-id: '{jenkins-ssh-credential}'
197 url: '{git-url}/{project}.git'
200 - 'refs/heads/{branch}'
206 timeout: '{submodule-timeout}'
207 choosing-strategy: default
210 - description-setter:
211 description: "POD: $NODE_NAME"
213 condition-kind: regex-match
218 !include-raw-escape: ./iec-compass-build.sh
220 !include-raw-escape: ./iec-compass-deploy.sh
222 !include-raw-escape: ./iec-fdn-install.sh
224 condition-kind: regex-match
229 !include-raw-escape: ./iec-fuel-deploy.sh
231 publishers: &publishers
233 recipients: armband@enea.com
237 name: 'iec-destroy-{installer}-{deploy_type}-daily-{stream}'
239 node: '{slave-label}'
240 properties: *properties
242 - lf-infra-parameters:
246 - '{project}-defaults'
248 name: DEPLOY_SCENARIO
249 default: '{scenario}'
258 - description-setter:
259 description: "POD: $NODE_NAME"
261 !include-raw-escape: ./iec-{installer}-destroy.sh
263 publishers: *publishers
266 name: 'iec-install-{usecase}-{installer}-{deploy_type}-daily-{stream}'
268 node: '{slave-label}'
269 properties: *properties
272 - lf-infra-parameters:
276 - '{project}-defaults'
277 - '{usecase}-defaults'
281 name: '$BUILD_NUMBER - Usecase: ${usecase} DeployType: ${installer}-${deploy_type}'
287 !include-raw-escape: ./iec-{usecase}.sh
289 publishers: *publishers
291 ########################
293 ########################
295 # ----------------------------------------------------------------
296 # Akraino IEC CI Baremetal Triggers running against master branch
297 # ----------------------------------------------------------------
299 name: 'iec-fuel-virtual-daily-master-trigger'
303 name: 'iec-fuel-baremetal-daily-master-trigger'
307 name: 'iec-compass-virtual-daily-master-trigger'
309 - timed: '0 13 * * *'