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: 'kubernetes-release'
23 project: 'kubernetes-release'
28 deploy-scenario: 'k8-multus-plugins'
29 promote-stack: 'false'
32 deploy-scenario: 'k8-multus-plugins'
36 deploy-scenario: 'k8-multus-plugins'
40 deploy-scenario: 'k8-calico-nofeature'
44 deploy-scenario: 'k8-calico-nofeature'
50 execution-mode: offline-deployment
51 openrc-credentials-file: 'est-jenkins-openrcfile-city-frankfurt-cicd'
57 - 'kubernetes-release-{distro}-{stream}'
58 - 'kubernetes-package-{distro}-{stream}'
59 - 'kubernetes-promote-{distro}-{stream}'
62 name: 'kubernetes-release-{distro}-{stream}'
64 project-type: multijob
66 disabled: '{obj:disabled}'
68 node: 'engine-package-{distro}-fra'
76 description: 'Branch the job is created for. DO NOT MODIFY!'
80 description: 'Distribution to provision and configre target nodes with. DO NOT MODIFY!'
83 default: '{deploy-scenario}'
84 description: 'Scenario to test change with. This depends on the branch of the stack.'
88 description: 'CI loop type. DO NOT MODIFY!'
92 description: 'Engine verbosity'
94 name: NORDIX_ENGINE_VERSION
96 description: 'Engine version of engine to package, deploy, test, release'
100 description: 'Stack to package, deploy, test, release'
104 description: 'Stack version of engine to package, deploy, test, release'
106 name: NORDIX_KUBESPRAY_VERSION
108 description: 'Kubespray version of engine to package, deploy, test, release'
110 name: NORDIX_BIFROST_VERSION
112 description: 'Bifrost version of engine to package, deploy, test, release'
114 name: NORDIX_HEAT_VERSION
116 description: 'Heat version of engine to package, deploy, test, release'
119 default: '{promote-stack}'
120 description: 'Heat version of engine to package, deploy, test, release'
124 # NOTE (fdegir): throttle categories are controlled in jenkins global configuration
131 - engine-verify-package
137 - fix-workspace-permissions
143 cron: "#H 0,8,16 * * *"
147 url: https://gerrit.nordix.org/infra/engine.git
154 - 'generate-release-metadata-macro'
156 properties-file: "$WORKSPACE/release.properties"
157 - 'generate-ssh-keypair-macro'
158 - 'wait-pkg-mgr-macro'
161 condition: SUCCESSFUL
162 execution-type: PARALLEL
164 - name: 'kubernetes-package-{distro}-{stream}'
165 current-parameters: false
167 node-parameters: true
168 property-file: "$WORKSPACE/release.properties"
169 kill-phase-on: FAILURE
172 name: Release Test {deploy-scenario}
173 condition: SUCCESSFUL
174 execution-type: PARALLEL
176 - name: 'kubernetes-release-offline-deploy-test-{distro}-baremetal-{stream}'
177 current-parameters: false
179 node-parameters: false
180 property-file: "$WORKSPACE/release.properties"
181 kill-phase-on: FAILURE
185 condition: SUCCESSFUL
186 execution-type: PARALLEL
188 - name: 'kubernetes-promote-{distro}-{stream}'
189 current-parameters: false
191 node-parameters: true
192 property-file: "$WORKSPACE/release.properties"
193 kill-phase-on: FAILURE
197 name: 'kubernetes-package-{distro}-{stream}'
199 disabled: '{obj:disabled}'
207 description: 'Execution mode to run engine'
215 - credentials-binding:
216 - username-password-separated:
217 credential-id: 'nordix-cicd-arm-credentials'
218 username: NORDIX_ARM_USERNAME
219 password: NORDIX_ARM_TOKEN
221 - fix-workspace-permissions
225 url: https://gerrit.nordix.org/infra/engine.git
233 - 'upload-artifact-macro'
236 name: 'kubernetes-promote-{distro}-{stream}'
238 disabled: '{obj:disabled}'
248 - credentials-binding:
249 - username-password-separated:
250 credential-id: 'nordix-cicd-arm-credentials'
251 username: NORDIX_ARM_USERNAME
252 password: NORDIX_ARM_TOKEN
254 - fix-workspace-permissions
258 url: https://gerrit.nordix.org/infra/engine.git