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}
65 {%- if deploy_type not in ['virtual'] -%}
66 {%- for uc in usecase -%}
67 {%- for ph in phase -%}
68 iec-{{ iecType }}-{{ ph }}-{{ uc }}-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }}
69 {%- if not loop.last -%},{%- endif -%}
71 {%- if not loop.last -%},{%- endif -%}
74 current-parameters: true
78 build-step-failure-threshold: 'never'
79 failure-threshold: 'never'
80 unstable-threshold: 'FAILURE'
81 - project: 'iec-{iecType}-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
82 current-parameters: false
83 predefined-parameters: |
84 DEPLOY_SCENARIO={scenario}
90 id: akraino-iec-deploy
91 name: 'iec-{iecType}-deploy-{installer}-{deploy_type}-{os}-daily-{stream}'
94 properties: &properties
101 use-build-blocker: true
103 - '.*-{iecType}-deploy-{installer}-{deploy_type}-.*'
104 - '.*-{iecType}-destroy-{installer}-{deploy_type}-.*'
105 - '.*-{iecType}-install-.*-{installer}-{deploy_type}-.*'
109 - lf-infra-parameters:
113 - '{project}-defaults'
114 - '{installer}-{os}-defaults'
116 name: DEPLOY_SCENARIO
117 default: '{scenario}'
127 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO $IEC_TYPE'
130 - lf-infra-gerrit-scm:
131 jenkins-ssh-credential: '{jenkins-ssh-credential}'
132 git-url: '{git-url}/{project}.git'
133 refspec: '$GERRIT_REFSPEC'
134 branch: '$GERRIT_BRANCH'
135 submodule-recursive: false
136 submodule-timeout: '{submodule-timeout}'
137 submodule-disable: true
138 choosing-strategy: default
141 - description-setter:
142 description: "POD: $NODE_NAME"
144 condition-kind: regex-match
149 !include-raw-escape: ../iec/iec-compass-build.sh
151 !include-raw-escape: ../iec/iec-compass-deploy.sh
153 !include-raw-escape: ../iec/iec-fdn-install.sh
155 condition-kind: regex-match
160 !include-raw-escape: ../iec/iec-fuel-deploy.sh
162 publishers: &publishers
164 recipients: armband@enea.com
168 id: akraino-iec-destroy
169 name: 'iec-{iecType}-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
171 node: '{slave-label}'
172 properties: *properties
174 - lf-infra-parameters:
178 - '{project}-defaults'
179 - '{installer}-{os}-defaults'
181 name: DEPLOY_SCENARIO
182 default: '{scenario}'
188 default: '-EEE -o {os}'
194 - description-setter:
195 description: "POD: $NODE_NAME"
197 !include-raw-escape: ../iec/iec-{installer}-destroy.sh
199 publishers: *publishers
202 id: akraino-iec-phase-usecase
203 name: 'iec-{iecType}-{phase}-{usecase}-{installer}-{deploy_type}-{os}-daily-{stream}'
205 node: '{slave-label}'
206 properties: *properties
209 - lf-infra-parameters:
213 - '{project}-defaults'
214 - '{installer}-{os}-defaults'
215 - '{usecase}-defaults'
219 name: '$BUILD_NUMBER - Usecase: ${usecase} DeployType: ${installer}-${deploy_type}'
225 !include-raw-escape: ../iec/iec-{usecase}.sh
227 publishers: *publishers