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'
82 - project: 'iec-{iecType}-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
83 current-parameters: false
84 predefined-parameters: |
85 DEPLOY_SCENARIO={scenario}
91 id: akraino-iec-deploy
92 name: 'iec-{iecType}-deploy-{installer}-{deploy_type}-{os}-daily-{stream}'
95 properties: &properties
102 use-build-blocker: true
104 - '.*-{iecType}-deploy-{installer}-{deploy_type}-.*'
105 - '.*-{iecType}-destroy-{installer}-{deploy_type}-.*'
106 - '.*-{iecType}-install-.*-{installer}-{deploy_type}-.*'
110 - lf-infra-parameters:
114 - '{project}-defaults'
115 - '{installer}-{os}-defaults'
117 name: DEPLOY_SCENARIO
118 default: '{scenario}'
128 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO $IEC_TYPE'
131 - lf-infra-gerrit-scm:
132 jenkins-ssh-credential: '{jenkins-ssh-credential}'
133 git-url: '{git-url}/{project}.git'
134 refspec: '$GERRIT_REFSPEC'
135 branch: '$GERRIT_BRANCH'
136 submodule-recursive: false
137 submodule-timeout: '{submodule-timeout}'
138 submodule-disable: true
139 choosing-strategy: default
142 - description-setter:
143 description: "POD: $NODE_NAME"
145 condition-kind: regex-match
150 !include-raw-escape: ../iec/iec-compass-build.sh
152 !include-raw-escape: ../iec/iec-compass-deploy.sh
154 !include-raw-escape: ../iec/iec-fdn-install.sh
156 condition-kind: regex-match
161 !include-raw-escape: ../iec/iec-fuel-deploy.sh
163 publishers: &publishers
165 recipients: armband@enea.com
169 id: akraino-iec-destroy
170 name: 'iec-{iecType}-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
172 node: '{slave-label}'
173 properties: *properties
175 - lf-infra-parameters:
179 - '{project}-defaults'
180 - '{installer}-{os}-defaults'
182 name: DEPLOY_SCENARIO
183 default: '{scenario}'
189 default: '-EEE -o {os}'
195 - description-setter:
196 description: "POD: $NODE_NAME"
198 !include-raw-escape: ../iec/iec-{installer}-destroy.sh
200 publishers: *publishers
203 id: akraino-iec-phase-usecase
204 name: 'iec-{iecType}-{phase}-{usecase}-{installer}-{deploy_type}-{os}-daily-{stream}'
206 node: '{slave-label}'
207 properties: *properties
210 - lf-infra-parameters:
214 - '{project}-defaults'
215 - '{installer}-{os}-defaults'
216 - '{usecase}-defaults'
220 name: '$BUILD_NUMBER - Usecase: ${usecase} DeployType: ${installer}-${deploy_type}'
226 !include-raw-escape: ../iec/iec-{usecase}.sh
228 publishers: *publishers