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}
51 - project: 'validation-enea-daily-{stream}'
53 current-parameters: true
54 predefined-parameters: |
55 CLUSTER_MASTER_IP=$K8S_MASTER_IP
56 CLUSTER_SSH_USER=$K8S_SSH_USER
57 CLUSTER_SSH_PASSWORD=$K8S_SSH_PASSWORD
58 CLUSTER_SSH_KEY=$K8S_SSH_KEY
59 BLUEPRINT={project-name}
66 {%- if deploy_type not in ['virtual'] -%}
67 {%- for uc in usecase -%}
68 {%- for ph in phase -%}
69 iec-{{ iecType }}-{{ ph }}-{{ uc }}-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }}
70 {%- if not loop.last -%},{%- endif -%}
72 {%- if not loop.last -%},{%- endif -%}
75 current-parameters: true
79 build-step-failure-threshold: 'never'
80 failure-threshold: 'never'
81 unstable-threshold: 'FAILURE'
84 {%- if deploy_type in ['virtual'] -%}
85 iec-{{ iecType }}-destroy-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }}
87 current-parameters: false
88 predefined-parameters: |
89 DEPLOY_SCENARIO={scenario}
95 id: akraino-iec-deploy
96 name: 'iec-{iecType}-deploy-{installer}-{deploy_type}-{os}-daily-{stream}'
99 properties: &properties
106 use-build-blocker: true
108 - '.*-{iecType}-deploy-{installer}-{deploy_type}-.*'
109 - '.*-{iecType}-destroy-{installer}-{deploy_type}-.*'
110 - '.*-{iecType}-install-.*-{installer}-{deploy_type}-.*'
114 - lf-infra-parameters:
118 - '{project}-defaults'
119 - '{installer}-{os}-defaults'
121 name: DEPLOY_SCENARIO
122 default: '{scenario}'
132 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO $IEC_TYPE'
135 - lf-infra-gerrit-scm:
136 jenkins-ssh-credential: '{jenkins-ssh-credential}'
137 git-url: '{git-url}/{project}.git'
138 refspec: '$GERRIT_REFSPEC'
139 branch: '$GERRIT_BRANCH'
140 submodule-recursive: false
141 submodule-timeout: '{submodule-timeout}'
142 submodule-disable: true
143 choosing-strategy: default
146 - description-setter:
147 description: "POD: $NODE_NAME"
149 condition-kind: regex-match
154 !include-raw-escape: ../iec/iec-compass-build.sh
156 !include-raw-escape: ../iec/iec-compass-deploy.sh
158 !include-raw-escape: ../iec/iec-fdn-install.sh
160 condition-kind: regex-match
165 !include-raw-escape: ../iec/iec-fuel-deploy.sh
168 - iec-default-publisher
171 id: akraino-iec-destroy
172 name: 'iec-{iecType}-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
174 node: '{slave-label}'
175 properties: *properties
177 - lf-infra-parameters:
181 - '{project}-defaults'
182 - '{installer}-{os}-defaults'
184 name: DEPLOY_SCENARIO
185 default: '{scenario}'
191 default: '-EEE -o {os}'
197 - description-setter:
198 description: "POD: $NODE_NAME"
200 !include-raw-escape: ../iec/iec-{installer}-destroy.sh
203 - iec-default-publisher
206 id: akraino-iec-phase-usecase
207 name: 'iec-{iecType}-{phase}-{usecase}-{installer}-{deploy_type}-{os}-daily-{stream}'
209 node: '{slave-label}'
210 properties: *properties
213 - lf-infra-parameters:
217 - '{project}-defaults'
218 - '{installer}-{os}-defaults'
219 - '{usecase}-defaults'
223 name: '$BUILD_NUMBER - Usecase: ${usecase} DeployType: ${installer}-${deploy_type}'
229 !include-raw-escape: ../iec/iec-{usecase}.sh
232 - 'iec-{phase}-usecase-publisher'