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'
29 deploy-scenario: 'onap-sdc-nofeature'
31 promote-stack: 'false'
35 deploy-scenario: 'onap-sdc-nofeature'
41 deploy-scenario: 'onap-sdc-nofeature'
48 execution-mode: offline-deployment
49 openrc-credentials-file: 'est-jenkins-openrcfile-city-frankfurt-cicd'
57 provisioner-type: 'heat'
58 slave-type: 'jumphost'
59 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"
60 idf: "https://gerrit.nordix.org/gitweb?p=infra/provisioner/heat.git;a=blob_plain;f=playbooks/roles/create-stack/files/heat-idf.yaml"
67 openrc-credentials-file: 'est-jenkins-openrcfile-city-frankfurt-cicd'
70 - 'onap-release-{distro}-{stream}'
71 - 'onap-package-{distro}-{stream}'
72 - 'onap-promote-{distro}-{stream}'
77 name: 'onap-release-{distro}-{stream}'
79 project-type: multijob
81 disabled: '{obj:disabled}'
83 node: 'engine-package-{distro}-fra'
91 description: 'Branch the job is created for. DO NOT MODIFY!'
95 description: 'Distribution to provision and configre target nodes with. DO NOT MODIFY!'
98 default: '{deploy-scenario}'
99 description: 'Scenario to test change with. This depends on the branch of the stack.'
103 description: 'CI loop type. DO NOT MODIFY!'
107 description: 'Engine verbosity'
109 name: NORDIX_ENGINE_VERSION
111 description: 'Engine version of engine to package, deploy, test, release'
115 description: 'Stack to package, deploy, test, release'
119 description: 'Stack version of engine to package, deploy, test, release'
121 name: NORDIX_OOM_VERSION
122 default: '{oom_branch}'
123 description: 'Stack version of oom to package, deploy, test, release'
126 default: '{promote-stack}'
127 description: 'Heat version of engine to package, deploy, test, release'
131 # NOTE (fdegir): throttle categories are controlled in jenkins global configuration
138 - engine-verify-package
144 - fix-workspace-permissions
150 cron: "#H 0,8,16 * * *"
154 url: https://gerrit.nordix.org/infra/engine.git
161 - 'generate-release-metadata-macro'
163 properties-file: "$WORKSPACE/release.properties"
164 - 'generate-ssh-keypair-macro'
165 - 'wait-pkg-mgr-macro'
168 condition: SUCCESSFUL
169 execution-type: PARALLEL
171 - name: 'onap-package-{distro}-{stream}'
172 current-parameters: false
174 node-parameters: true
175 property-file: "$WORKSPACE/release.properties"
176 kill-phase-on: FAILURE
179 name: Release Test {deploy-scenario}
180 condition: SUCCESSFUL
181 execution-type: PARALLEL
183 - name: 'onap-release-offline-deploy-test-{distro}-city-cloud-{stream}'
184 current-parameters: false
186 node-parameters: false
187 property-file: "$WORKSPACE/release.properties"
188 kill-phase-on: FAILURE
192 condition: SUCCESSFUL
193 execution-type: PARALLEL
195 - name: 'onap-promote-{distro}-{stream}'
196 current-parameters: false
198 node-parameters: true
199 property-file: "$WORKSPACE/release.properties"
200 kill-phase-on: FAILURE
204 name: 'onap-package-{distro}-{stream}'
206 disabled: '{obj:disabled}'
214 description: 'Execution mode to run engine'
222 - credentials-binding:
223 - username-password-separated:
224 credential-id: 'nordix-cicd-arm-credentials'
225 username: NORDIX_ARM_USERNAME
226 password: NORDIX_ARM_TOKEN
228 - fix-workspace-permissions
232 url: https://gerrit.nordix.org/infra/engine.git
240 - 'upload-artifact-macro'
243 name: 'onap-promote-{distro}-{stream}'
245 disabled: '{obj:disabled}'
255 - credentials-binding:
256 - username-password-separated:
257 credential-id: 'nordix-cicd-arm-credentials'
258 username: NORDIX_ARM_USERNAME
259 password: NORDIX_ARM_TOKEN
261 - fix-workspace-permissions
265 url: https://gerrit.nordix.org/infra/engine.git