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 }}-{{ 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'
127 refspec: '$GERRIT_REFSPEC'
128 branches: '$GERRIT_BRANCH'
134 timeout: '{submodule-timeout}'
135 choosing-strategy: default
138 - description-setter:
139 description: "POD: $NODE_NAME"
141 condition-kind: regex-match
146 !include-raw-escape: ../iec/iec-compass-build.sh
148 !include-raw-escape: ../iec/iec-compass-deploy.sh
150 !include-raw-escape: ../iec/iec-fdn-install.sh
152 condition-kind: regex-match
157 !include-raw-escape: ../iec/iec-fuel-deploy.sh
159 publishers: &publishers
161 recipients: armband@enea.com
165 id: akraino-iec-destroy
166 name: 'iec-{iecType}-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
168 node: '{slave-label}'
169 properties: *properties
171 - lf-infra-parameters:
175 - '{project}-defaults'
176 - '{installer}-{os}-defaults'
178 name: DEPLOY_SCENARIO
179 default: '{scenario}'
185 default: '-EEE -o {os}'
191 - description-setter:
192 description: "POD: $NODE_NAME"
194 !include-raw-escape: ../iec/iec-{installer}-destroy.sh
196 publishers: *publishers
199 id: akraino-iec-install-usecase
200 name: 'iec-{iecType}-install-{usecase}-{installer}-{deploy_type}-{os}-daily-{stream}'
202 node: '{slave-label}'
203 properties: *properties
206 - lf-infra-parameters:
210 - '{project}-defaults'
211 - '{installer}-{os}-defaults'
215 name: '$BUILD_NUMBER - Usecase: ${usecase} DeployType: ${installer}-${deploy_type}'
221 !include-raw-escape: ../iec/iec-{usecase}.sh
223 publishers: *publishers