2 # ============LICENSE_START=======================================================
3 # Copyright (C) 2019 Nordix Foundation.
4 # ================================================================================
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
17 # SPDX-License-Identifier: Apache-2.0
18 # ============LICENSE_END=========================================================
23 project: 'ONAP-release'
30 deploy-scenario: 'onap-full-nofeature'
32 promote-stack: 'false'
33 container-tool: 'docker'
37 deploy-scenario: 'onap-full-nofeature'
40 container-tool: 'docker'
44 deploy-scenario: 'onap-sdc-nofeature'
47 container-tool: 'docker'
51 deploy-scenario: 'onap-sdc-nofeature'
54 container-tool: 'docker'
59 execution-mode: offline-deployment
60 openrc-credentials-file: 'est-jenkins-openrcfile-city-frankfurt-cicd'
68 provisioner-type: 'heat'
69 slave-type: 'jumphost'
70 pdf: "https://gerrit.nordix.org/gitweb?p=infra/provisioner/heat.git;a=blob_plain;f=playbooks/roles/create-stack/files/heat-environment-ci-city-ubuntu1804-onap.yaml"
71 idf: "https://gerrit.nordix.org/gitweb?p=infra/provisioner/heat.git;a=blob_plain;f=playbooks/roles/create-stack/files/heat-idf.yaml"
78 openrc-credentials-file: 'est-jenkins-openrcfile-city-frankfurt-cicd'
81 - 'onap-release-{distro}-{stream}'
82 - 'onap-package-{distro}-{stream}'
83 - 'onap-test-package-{distro}-{stream}'
84 - 'onap-promote-{distro}-{stream}'
89 name: 'onap-release-{distro}-{stream}'
91 project-type: multijob
93 disabled: '{obj:disabled}'
95 node: 'engine-package-{distro}-fra'
103 description: 'Branch the job is created for. DO NOT MODIFY!'
107 description: 'Distribution to provision and configre target nodes with. DO NOT MODIFY!'
109 name: DEPLOY_SCENARIO
110 default: '{deploy-scenario}'
111 description: 'Scenario to test change with. This depends on the branch of the stack.'
114 default: '{container-tool}'
115 description: 'Command to use when pulling images. Options docker or podman'
119 description: 'CI loop type. DO NOT MODIFY!'
123 description: 'Engine verbosity'
125 name: NORDIX_ENGINE_VERSION
127 description: 'Engine version of engine to package, deploy, test, release'
131 description: 'Stack to package, deploy, test, release'
135 description: 'Stack version of engine to package, deploy, test, release'
137 name: NORDIX_OOM_VERSION
138 default: '{oom_branch}'
139 description: 'Stack version of oom to package, deploy, test, release'
142 default: '{promote-stack}'
143 description: 'Heat version of engine to package, deploy, test, release'
147 # NOTE (fdegir): throttle categories are controlled in jenkins global configuration
154 - engine-verify-package
160 - fix-workspace-permissions
166 cron: "#H 0,8,16 * * *"
170 url: https://gerrit.nordix.org/infra/engine.git
177 - 'generate-release-metadata-macro'
179 properties-file: "$WORKSPACE/release.properties"
180 - 'generate-ssh-keypair-macro'
181 - 'wait-pkg-mgr-macro'
184 condition: SUCCESSFUL
185 execution-type: PARALLEL
187 - name: 'onap-package-{distro}-{stream}'
188 current-parameters: false
190 node-parameters: true
191 property-file: "$WORKSPACE/release.properties"
192 kill-phase-on: FAILURE
195 name: Test Framework Packaging
196 condition: SUCCESSFUL
197 execution-type: PARALLEL
199 - name: 'onap-test-package-{distro}-{stream}'
200 current-parameters: false
202 node-parameters: true
203 property-file: "$WORKSPACE/release.properties"
204 kill-phase-on: FAILURE
207 name: Release Test {deploy-scenario}
208 condition: SUCCESSFUL
209 execution-type: PARALLEL
211 - name: 'onap-release-offline-deploy-test-{distro}-city-cloud-{stream}'
212 current-parameters: false
214 node-parameters: false
215 property-file: "$WORKSPACE/release.properties"
216 kill-phase-on: FAILURE
220 condition: SUCCESSFUL
221 execution-type: PARALLEL
223 - name: 'onap-promote-{distro}-{stream}'
224 current-parameters: false
226 node-parameters: true
227 property-file: "$WORKSPACE/release.properties"
228 kill-phase-on: FAILURE
232 name: 'onap-package-{distro}-{stream}'
234 disabled: '{obj:disabled}'
242 description: 'Execution mode to run engine'
250 - credentials-binding:
251 - username-password-separated:
252 credential-id: 'nordix-cicd-arm-credentials'
253 username: NORDIX_ARM_USERNAME
254 password: NORDIX_ARM_TOKEN
256 - fix-workspace-permissions
260 url: https://gerrit.nordix.org/infra/engine.git
268 - 'upload-artifact-macro'
272 name: 'onap-test-package-{distro}-{stream}'
274 disabled: '{obj:disabled}'
282 description: 'Execution mode to run engine'
290 - credentials-binding:
291 - username-password-separated:
292 credential-id: 'nordix-cicd-arm-credentials'
293 username: NORDIX_ARM_USERNAME
294 password: NORDIX_ARM_TOKEN
296 - fix-workspace-permissions
300 url: https://gerrit.nordix.org/infra/test.git
307 - 'test-package-macro'
308 - 'xtesting-upload-artifact-macro'
311 name: 'onap-promote-{distro}-{stream}'
313 disabled: '{obj:disabled}'
323 - credentials-binding:
324 - username-password-separated:
325 credential-id: 'nordix-cicd-arm-credentials'
326 username: NORDIX_ARM_USERNAME
327 password: NORDIX_ARM_TOKEN
329 - fix-workspace-permissions
333 url: https://gerrit.nordix.org/infra/engine.git