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-sdc-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-promote-{distro}-{stream}'
88 name: 'onap-release-{distro}-{stream}'
90 project-type: multijob
92 disabled: '{obj:disabled}'
94 node: 'engine-package-{distro}-fra'
102 description: 'Branch the job is created for. DO NOT MODIFY!'
106 description: 'Distribution to provision and configre target nodes with. DO NOT MODIFY!'
108 name: DEPLOY_SCENARIO
109 default: '{deploy-scenario}'
110 description: 'Scenario to test change with. This depends on the branch of the stack.'
113 default: '{container-tool}'
114 description: 'Command to use when pulling images. Options docker or podman'
118 description: 'CI loop type. DO NOT MODIFY!'
122 description: 'Engine verbosity'
124 name: NORDIX_ENGINE_VERSION
126 description: 'Engine version of engine to package, deploy, test, release'
130 description: 'Stack to package, deploy, test, release'
134 description: 'Stack version of engine to package, deploy, test, release'
136 name: NORDIX_OOM_VERSION
137 default: '{oom_branch}'
138 description: 'Stack version of oom to package, deploy, test, release'
141 default: '{promote-stack}'
142 description: 'Heat version of engine to package, deploy, test, release'
146 # NOTE (fdegir): throttle categories are controlled in jenkins global configuration
153 - engine-verify-package
159 - fix-workspace-permissions
165 cron: "#H 0,8,16 * * *"
169 url: https://gerrit.nordix.org/infra/engine.git
176 - 'generate-release-metadata-macro'
178 properties-file: "$WORKSPACE/release.properties"
179 - 'generate-ssh-keypair-macro'
180 - 'wait-pkg-mgr-macro'
183 condition: SUCCESSFUL
184 execution-type: PARALLEL
186 - name: 'onap-package-{distro}-{stream}'
187 current-parameters: false
189 node-parameters: true
190 property-file: "$WORKSPACE/release.properties"
191 kill-phase-on: FAILURE
194 name: Release Test {deploy-scenario}
195 condition: SUCCESSFUL
196 execution-type: PARALLEL
198 - name: 'onap-release-offline-deploy-test-{distro}-city-cloud-{stream}'
199 current-parameters: false
201 node-parameters: false
202 property-file: "$WORKSPACE/release.properties"
203 kill-phase-on: FAILURE
207 condition: SUCCESSFUL
208 execution-type: PARALLEL
210 - name: 'onap-promote-{distro}-{stream}'
211 current-parameters: false
213 node-parameters: true
214 property-file: "$WORKSPACE/release.properties"
215 kill-phase-on: FAILURE
219 name: 'onap-package-{distro}-{stream}'
221 disabled: '{obj:disabled}'
229 description: 'Execution mode to run engine'
237 - credentials-binding:
238 - username-password-separated:
239 credential-id: 'nordix-cicd-arm-credentials'
240 username: NORDIX_ARM_USERNAME
241 password: NORDIX_ARM_TOKEN
243 - fix-workspace-permissions
247 url: https://gerrit.nordix.org/infra/engine.git
255 - 'upload-artifact-macro'
258 name: 'onap-promote-{distro}-{stream}'
260 disabled: '{obj:disabled}'
270 - credentials-binding:
271 - username-password-separated:
272 credential-id: 'nordix-cicd-arm-credentials'
273 username: NORDIX_ARM_USERNAME
274 password: NORDIX_ARM_TOKEN
276 - fix-workspace-permissions
280 url: https://gerrit.nordix.org/infra/engine.git