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}
65 {%- for uc in usecase -%}
66 iec-{{ iecType }}-install-{{ uc | first }}-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }}
67 {%- if not loop.last -%},{%- endif -%}
69 current-parameters: true
73 build-step-failure-threshold: 'never'
74 failure-threshold: 'never'
75 unstable-threshold: 'FAILURE'
76 - project: 'iec-{iecType}-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
77 current-parameters: false
78 predefined-parameters: |
79 DEPLOY_SCENARIO={scenario}
85 id: akraino-iec-deploy
86 name: 'iec-{iecType}-deploy-{installer}-{deploy_type}-{os}-daily-{stream}'
89 properties: &properties
96 use-build-blocker: true
98 - '.*-{iecType}-deploy-{installer}-{deploy_type}-.*'
99 - '.*-{iecType}-destroy-{installer}-{deploy_type}-.*'
100 - '.*-{iecType}-install-.*-{installer}-{deploy_type}-.*'
104 - lf-infra-parameters:
108 - '{project}-defaults'
109 - '{installer}-{os}-defaults'
111 name: DEPLOY_SCENARIO
112 default: '{scenario}'
122 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO $IEC_TYPE'
126 credentials-id: '{jenkins-ssh-credential}'
127 url: '{git-url}/{project}.git'
130 - 'refs/heads/{branch}'
136 timeout: '{submodule-timeout}'
137 choosing-strategy: default
140 - description-setter:
141 description: "POD: $NODE_NAME"
143 condition-kind: regex-match
148 !include-raw-escape: ../iec/iec-compass-build.sh
150 !include-raw-escape: ../iec/iec-compass-deploy.sh
152 !include-raw-escape: ../iec/iec-fdn-install.sh
154 condition-kind: regex-match
159 !include-raw-escape: ../iec/iec-fuel-deploy.sh
161 publishers: &publishers
163 recipients: armband@enea.com
167 id: akraino-iec-destroy
168 name: 'iec-{iecType}-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
170 node: '{slave-label}'
171 properties: *properties
173 - lf-infra-parameters:
177 - '{project}-defaults'
178 - '{installer}-{os}-defaults'
180 name: DEPLOY_SCENARIO
181 default: '{scenario}'
187 default: '-EEE -o {os}'
193 - description-setter:
194 description: "POD: $NODE_NAME"
196 !include-raw-escape: ../iec/iec-{installer}-destroy.sh
198 publishers: *publishers
201 id: akraino-iec-install-usecase
202 name: 'iec-{iecType}-install-{usecase}-{installer}-{deploy_type}-{os}-daily-{stream}'
204 node: '{slave-label}'
205 properties: *properties
208 - lf-infra-parameters:
212 - '{project}-defaults'
213 - '{installer}-{os}-defaults'
217 name: '$BUILD_NUMBER - Usecase: ${usecase} DeployType: ${installer}-${deploy_type}'
223 !include-raw-escape: ../iec/iec-{usecase}.sh
225 publishers: *publishers