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 {%- if deploy_type not in ['virtual'] -%}
65 {%- for uc in usecase -%}
66 {%- for ph in phase -%}
67 iec-{{ iecType }}-{{ ph }}-{{ uc }}-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }}
68 {%- if not loop.last -%},{%- endif -%}
70 {%- if not loop.last -%},{%- endif -%}
73 current-parameters: true
77 build-step-failure-threshold: 'never'
78 failure-threshold: 'never'
79 unstable-threshold: 'FAILURE'
80 - project: 'iec-{iecType}-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
81 current-parameters: false
82 predefined-parameters: |
83 DEPLOY_SCENARIO={scenario}
89 id: akraino-iec-deploy
90 name: 'iec-{iecType}-deploy-{installer}-{deploy_type}-{os}-daily-{stream}'
93 properties: &properties
100 use-build-blocker: true
102 - '.*-{iecType}-deploy-{installer}-{deploy_type}-.*'
103 - '.*-{iecType}-destroy-{installer}-{deploy_type}-.*'
104 - '.*-{iecType}-install-.*-{installer}-{deploy_type}-.*'
108 - lf-infra-parameters:
112 - '{project}-defaults'
113 - '{installer}-{os}-defaults'
115 name: DEPLOY_SCENARIO
116 default: '{scenario}'
126 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO $IEC_TYPE'
129 - lf-infra-gerrit-scm:
130 jenkins-ssh-credential: '{jenkins-ssh-credential}'
131 git-url: '{git-url}/{project}.git'
132 refspec: '$GERRIT_REFSPEC'
133 branch: '$GERRIT_BRANCH'
134 submodule-recursive: false
135 submodule-timeout: '{submodule-timeout}'
136 submodule-disable: true
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-phase-usecase
202 name: 'iec-{iecType}-{phase}-{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'
214 - '{usecase}-defaults'
218 name: '$BUILD_NUMBER - Usecase: ${usecase} DeployType: ${installer}-${deploy_type}'
224 !include-raw-escape: ../iec/iec-{usecase}.sh
226 publishers: *publishers