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=========================================================
21 name: 'openstack-release'
23 project: 'openstack-release'
28 deploy-scenario: 'os-nosdn-nofeature'
29 promote-stack: 'false'
32 deploy-scenario: 'os-nosdn-nofeature'
38 execution-mode: offline-deployment
39 openrc-credentials-file: 'est-jenkins-openrcfile-city-frankfurt-cicd'
45 - 'openstack-release-{distro}-{stream}'
46 - 'openstack-package-{distro}-{stream}'
47 - 'openstack-promote-{distro}-{stream}'
50 name: 'openstack-release-{distro}-{stream}'
52 project-type: multijob
54 disabled: '{obj:disabled}'
56 node: 'engine-package-{distro}-fra'
64 description: 'Branch the job is created for. DO NOT MODIFY!'
68 description: 'Distribution to provision and configre target nodes with. DO NOT MODIFY!'
71 default: '{deploy-scenario}'
72 description: 'Scenario to test change with. This depends on the branch of the stack.'
76 description: 'CI loop type. DO NOT MODIFY!'
80 description: 'Engine verbosity'
82 name: NORDIX_ENGINE_VERSION
84 description: 'Engine version of engine to package, deploy, test, release'
88 description: 'Stack to package, deploy, test, release'
92 description: 'Stack version of engine to package, deploy, test, release'
94 name: NORDIX_KOLLA_VERSION
96 description: 'Kolla version of engine to package, deploy, test, release'
98 name: NORDIX_BIFROST_VERSION
100 description: 'Bifrost version of engine to package, deploy, test, release'
103 default: '{promote-stack}'
104 description: 'Heat version of engine to package, deploy, test, release'
108 # NOTE (fdegir): throttle categories are controlled in jenkins global configuration
115 - engine-verify-package
121 - fix-workspace-permissions
127 cron: "#H 0,8,16 * * *"
131 url: https://gerrit.nordix.org/infra/engine.git
138 - 'generate-release-metadata-macro'
140 properties-file: "$WORKSPACE/release.properties"
141 - 'generate-ssh-keypair-macro'
142 - 'wait-pkg-mgr-macro'
145 condition: SUCCESSFUL
146 execution-type: PARALLEL
148 - name: 'openstack-package-{distro}-{stream}'
149 current-parameters: false
151 node-parameters: true
152 property-file: "$WORKSPACE/release.properties"
153 kill-phase-on: FAILURE
156 name: Release Test {deploy-scenario}
157 condition: SUCCESSFUL
158 execution-type: PARALLEL
160 - name: 'openstack-release-offline-deploy-test-{distro}-baremetal-{stream}'
161 current-parameters: false
163 node-parameters: false
164 property-file: "$WORKSPACE/release.properties"
165 kill-phase-on: FAILURE
169 condition: SUCCESSFUL
170 execution-type: PARALLEL
172 - name: 'openstack-promote-{distro}-{stream}'
173 current-parameters: false
175 node-parameters: true
176 property-file: "$WORKSPACE/release.properties"
177 kill-phase-on: FAILURE
181 name: 'openstack-package-{distro}-{stream}'
183 disabled: '{obj:disabled}'
191 description: 'Execution mode to run engine'
199 - credentials-binding:
200 - username-password-separated:
201 credential-id: 'nordix-cicd-arm-credentials'
202 username: NORDIX_ARM_USERNAME
203 password: NORDIX_ARM_TOKEN
205 - fix-workspace-permissions
209 url: https://gerrit.nordix.org/infra/engine.git
217 - 'upload-artifact-macro'
220 name: 'openstack-promote-{distro}-{stream}'
222 disabled: '{obj:disabled}'
232 - credentials-binding:
233 - username-password-separated:
234 credential-id: 'nordix-cicd-arm-credentials'
235 username: NORDIX_ARM_USERNAME
236 password: NORDIX_ARM_TOKEN
238 - fix-workspace-permissions
242 url: https://gerrit.nordix.org/infra/engine.git