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: 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"
81 {%- if deploy_type in ['virtual'] -%}
82 iec-{{ iecType }}-destroy-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }}
84 current-parameters: false
85 predefined-parameters: |
86 DEPLOY_SCENARIO={scenario}
92 id: akraino-iec-deploy
93 name: "iec-{iecType}-deploy-{installer}-{deploy_type}-{os}-daily-{stream}"
96 properties: &properties
103 use-build-blocker: true
105 - ".*-{iecType}-deploy-{installer}-{deploy_type}-.*"
106 - ".*-{iecType}-destroy-{installer}-{deploy_type}-.*"
107 - ".*-{iecType}-install-.*-{installer}-{deploy_type}-.*"
111 - lf-infra-parameters:
115 - "{project}-defaults"
116 - "{installer}-{os}-defaults"
118 name: DEPLOY_SCENARIO
119 default: "{scenario}"
129 name: "$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO $IEC_TYPE"
132 - lf-infra-gerrit-scm:
133 jenkins-ssh-credential: "{jenkins-ssh-credential}"
134 git-url: "{git-url}/{project}.git"
135 refspec: "$GERRIT_REFSPEC"
136 branch: "$GERRIT_BRANCH"
137 submodule-recursive: false
138 submodule-timeout: "{submodule-timeout}"
139 submodule-disable: true
140 choosing-strategy: default
143 - description-setter:
144 description: "POD: $NODE_NAME"
146 condition-kind: regex-match
150 - shell: !include-raw-escape: ../iec/iec-compass-build.sh
151 - shell: !include-raw-escape: ../iec/iec-compass-deploy.sh
152 - shell: !include-raw-escape: ../iec/iec-fdn-install.sh
154 condition-kind: regex-match
158 - shell: !include-raw-escape: ../iec/iec-fuel-deploy.sh
161 - iec-default-publisher
164 id: akraino-iec-destroy
165 name: "iec-{iecType}-destroy-{installer}-{deploy_type}-{os}-daily-{stream}"
167 node: "{slave_label}"
168 properties: *properties
170 - lf-infra-parameters:
174 - "{project}-defaults"
175 - "{installer}-{os}-defaults"
177 name: DEPLOY_SCENARIO
178 default: "{scenario}"
184 default: "-EEE -o {os}"
190 - description-setter:
191 description: "POD: $NODE_NAME"
192 - shell: !include-raw-escape: ../iec/iec-{installer}-destroy.sh
195 - iec-default-publisher