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'
52 execution-mode: offline-deployment
53 openrc-credentials-file: 'est-jenkins-openrcfile-city-frankfurt-cicd'
61 provisioner-type: 'heat'
62 slave-type: 'jumphost'
63 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"
64 idf: "https://gerrit.nordix.org/gitweb?p=infra/provisioner/heat.git;a=blob_plain;f=playbooks/roles/create-stack/files/heat-idf.yaml"
71 openrc-credentials-file: 'est-jenkins-openrcfile-city-frankfurt-cicd'
74 - 'onap-release-{distro}-{stream}'
75 - 'onap-package-{distro}-{stream}'
76 - 'onap-promote-{distro}-{stream}'
81 name: 'onap-release-{distro}-{stream}'
83 project-type: multijob
85 disabled: '{obj:disabled}'
87 node: 'engine-package-{distro}-fra'
95 description: 'Branch the job is created for. DO NOT MODIFY!'
99 description: 'Distribution to provision and configre target nodes with. DO NOT MODIFY!'
101 name: DEPLOY_SCENARIO
102 default: '{deploy-scenario}'
103 description: 'Scenario to test change with. This depends on the branch of the stack.'
106 default: '{container-tool}'
107 description: 'Command to use when pulling images. Options docker or podman'
111 description: 'CI loop type. DO NOT MODIFY!'
115 description: 'Engine verbosity'
117 name: NORDIX_ENGINE_VERSION
119 description: 'Engine version of engine to package, deploy, test, release'
123 description: 'Stack to package, deploy, test, release'
127 description: 'Stack version of engine to package, deploy, test, release'
129 name: NORDIX_OOM_VERSION
130 default: '{oom_branch}'
131 description: 'Stack version of oom to package, deploy, test, release'
134 default: '{promote-stack}'
135 description: 'Heat version of engine to package, deploy, test, release'
139 # NOTE (fdegir): throttle categories are controlled in jenkins global configuration
146 - engine-verify-package
152 - fix-workspace-permissions
158 cron: "#H 0,8,16 * * *"
162 url: https://gerrit.nordix.org/infra/engine.git
169 - 'generate-release-metadata-macro'
171 properties-file: "$WORKSPACE/release.properties"
172 - 'generate-ssh-keypair-macro'
173 - 'wait-pkg-mgr-macro'
176 condition: SUCCESSFUL
177 execution-type: PARALLEL
179 - name: 'onap-package-{distro}-{stream}'
180 current-parameters: false
182 node-parameters: true
183 property-file: "$WORKSPACE/release.properties"
184 kill-phase-on: FAILURE
187 name: Release Test {deploy-scenario}
188 condition: SUCCESSFUL
189 execution-type: PARALLEL
191 - name: 'onap-release-offline-deploy-test-{distro}-city-cloud-{stream}'
192 current-parameters: false
194 node-parameters: false
195 property-file: "$WORKSPACE/release.properties"
196 kill-phase-on: FAILURE
200 condition: SUCCESSFUL
201 execution-type: PARALLEL
203 - name: 'onap-promote-{distro}-{stream}'
204 current-parameters: false
206 node-parameters: true
207 property-file: "$WORKSPACE/release.properties"
208 kill-phase-on: FAILURE
212 name: 'onap-package-{distro}-{stream}'
214 disabled: '{obj:disabled}'
222 description: 'Execution mode to run engine'
230 - credentials-binding:
231 - username-password-separated:
232 credential-id: 'nordix-cicd-arm-credentials'
233 username: NORDIX_ARM_USERNAME
234 password: NORDIX_ARM_TOKEN
236 - fix-workspace-permissions
240 url: https://gerrit.nordix.org/infra/engine.git
248 - 'upload-artifact-macro'
251 name: 'onap-promote-{distro}-{stream}'
253 disabled: '{obj:disabled}'
263 - credentials-binding:
264 - username-password-separated:
265 credential-id: 'nordix-cicd-arm-credentials'
266 username: NORDIX_ARM_USERNAME
267 password: NORDIX_ARM_TOKEN
269 - fix-workspace-permissions
273 url: https://gerrit.nordix.org/infra/engine.git