3 id: akraino-iec-install
4 name: 'iec-{iecType}-{installer}-{deploy_type}-{os}-daily-{stream}'
5 disabled: '{obj:disabled}'
15 use-build-blocker: true
17 - '.*-fuel-{deploy_type}-.*'
18 - '.*-compass-{deploy_type}-.*'
23 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO $IEC_TYPE'
26 - 'iec-{iecType}-{installer}-{deploy_type}-{os}-daily-{stream}-trigger'
29 - lf-infra-parameters:
33 - '{project}-defaults'
34 - '{installer}-{os}-defaults'
44 - project: 'iec-{iecType}-deploy-{installer}-{deploy_type}-{os}-daily-{stream}'
45 current-parameters: true
46 predefined-parameters:
47 DEPLOY_SCENARIO={scenario}
50 - project: 'validation-enea-daily-{stream}'
52 current-parameters: true
53 predefined-parameters: |
54 CLUSTER_MASTER_IP=$K8S_MASTER_IP
55 CLUSTER_SSH_USER=$K8S_SSH_USER
56 CLUSTER_SSH_PASSWORD=$K8S_SSH_PASSWORD
57 CLUSTER_SSH_KEY=$K8S_SSH_KEY
58 BLUEPRINT={project-name}
64 {%- for uc in usecase -%}
65 iec-{{ iecType }}-install-{{ uc | first }}-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }}
66 {%- if not loop.last -%},{%- endif -%}
68 current-parameters: true
72 build-step-failure-threshold: 'never'
73 failure-threshold: 'never'
74 unstable-threshold: 'FAILURE'
75 - project: 'iec-{iecType}-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
76 current-parameters: false
77 predefined-parameters: |
78 DEPLOY_SCENARIO={scenario}
84 id: akraino-iec-deploy
85 name: 'iec-{iecType}-deploy-{installer}-{deploy_type}-{os}-daily-{stream}'
88 properties: &properties
95 use-build-blocker: true
97 - '.*-{iecType}-deploy-{installer}-{deploy_type}-.*'
98 - '.*-{iecType}-destroy-{installer}-{deploy_type}-.*'
99 - '.*-{iecType}-install-.*-{installer}-{deploy_type}-.*'
103 - lf-infra-parameters:
107 - '{project}-defaults'
108 - '{installer}-{os}-defaults'
110 name: DEPLOY_SCENARIO
111 default: '{scenario}'
121 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO $IEC_TYPE'
125 credentials-id: '{jenkins-ssh-credential}'
126 url: '{git-url}/{project}.git'
129 - 'refs/heads/{branch}'
135 timeout: '{submodule-timeout}'
136 choosing-strategy: default
139 - description-setter:
140 description: "POD: $NODE_NAME"
142 condition-kind: regex-match
147 !include-raw-escape: ../iec/iec-compass-build.sh
149 !include-raw-escape: ../iec/iec-compass-deploy.sh
151 !include-raw-escape: ../iec/iec-fdn-install.sh
153 condition-kind: regex-match
158 !include-raw-escape: ../iec/iec-fuel-deploy.sh
160 publishers: &publishers
162 recipients: armband@enea.com
166 id: akraino-iec-destroy
167 name: 'iec-{iecType}-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
169 node: '{slave-label}'
170 properties: *properties
172 - lf-infra-parameters:
176 - '{project}-defaults'
177 - '{installer}-{os}-defaults'
179 name: DEPLOY_SCENARIO
180 default: '{scenario}'
186 default: '-EEE -o {os}'
192 - description-setter:
193 description: "POD: $NODE_NAME"
195 !include-raw-escape: ../iec/iec-{installer}-destroy.sh
197 publishers: *publishers
200 id: akraino-iec-install-usecase
201 name: 'iec-{iecType}-install-{usecase}-{installer}-{deploy_type}-{os}-daily-{stream}'
203 node: '{slave-label}'
204 properties: *properties
207 - lf-infra-parameters:
211 - '{project}-defaults'
212 - '{installer}-{os}-defaults'
216 name: '$BUILD_NUMBER - Usecase: ${usecase} DeployType: ${installer}-${deploy_type}'
222 !include-raw-escape: ../iec/iec-{usecase}.sh
224 publishers: *publishers