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-multus-plugins'
44 deploy-scenario: 'k8-multus-plugins'
48 deploy-scenario: 'k8-calico-nofeature'
52 deploy-scenario: 'k8-calico-nofeature'
58 execution-mode: offline-deployment
59 openrc-credentials-file: 'est-jenkins-openrcfile-city-frankfurt-cicd'
65 - 'kubernetes-release-{distro}-{stream}'
66 - 'kubernetes-package-{distro}-{stream}'
67 - 'kubernetes-promote-{distro}-{stream}'
70 name: 'kubernetes-release-{distro}-{stream}'
72 project-type: multijob
74 disabled: '{obj:disabled}'
76 node: 'engine-package-{distro}-fra'
84 description: 'Branch the job is created for. DO NOT MODIFY!'
88 description: 'Distribution to provision and configre target nodes with. DO NOT MODIFY!'
91 default: '{deploy-scenario}'
92 description: 'Scenario to test change with. This depends on the branch of the stack.'
96 description: 'CI loop type. DO NOT MODIFY!'
100 description: 'Engine verbosity'
102 name: NORDIX_ENGINE_VERSION
104 description: 'Engine version of engine to package, deploy, test, release'
107 default: 'kubernetes'
108 description: 'Stack to package, deploy, test, release'
112 description: 'Stack version of engine to package, deploy, test, release'
114 name: NORDIX_KUBESPRAY_VERSION
116 description: 'Kubespray version of engine to package, deploy, test, release'
118 name: NORDIX_BIFROST_VERSION
120 description: 'Bifrost version of engine to package, deploy, test, release'
122 name: NORDIX_HEAT_VERSION
124 description: 'Heat version of engine to package, deploy, test, release'
127 default: '{promote-stack}'
128 description: 'Heat version of engine to package, deploy, test, release'
132 # NOTE (fdegir): throttle categories are controlled in jenkins global configuration
139 - engine-verify-package
145 - fix-workspace-permissions
151 cron: "#H 0,8,16 * * *"
155 url: https://gerrit.nordix.org/infra/engine.git
162 - 'generate-release-metadata-macro'
164 properties-file: "$WORKSPACE/release.properties"
165 - 'generate-ssh-keypair-macro'
166 - 'wait-pkg-mgr-macro'
169 condition: SUCCESSFUL
170 execution-type: PARALLEL
172 - name: 'kubernetes-package-{distro}-{stream}'
173 current-parameters: false
175 node-parameters: true
176 property-file: "$WORKSPACE/release.properties"
177 kill-phase-on: FAILURE
180 name: Release Test {deploy-scenario}
181 condition: SUCCESSFUL
182 execution-type: PARALLEL
184 - name: 'kubernetes-release-offline-deploy-test-{distro}-baremetal-{stream}'
185 current-parameters: false
187 node-parameters: false
188 property-file: "$WORKSPACE/release.properties"
189 kill-phase-on: FAILURE
193 condition: SUCCESSFUL
194 execution-type: PARALLEL
196 - name: 'kubernetes-promote-{distro}-{stream}'
197 current-parameters: false
199 node-parameters: true
200 property-file: "$WORKSPACE/release.properties"
201 kill-phase-on: FAILURE
205 name: 'kubernetes-package-{distro}-{stream}'
207 disabled: '{obj:disabled}'
215 description: 'Execution mode to run engine'
223 - credentials-binding:
224 - username-password-separated:
225 credential-id: 'nordix-cicd-arm-credentials'
226 username: NORDIX_ARM_USERNAME
227 password: NORDIX_ARM_TOKEN
229 - fix-workspace-permissions
233 url: https://gerrit.nordix.org/infra/engine.git
241 - 'upload-artifact-macro'
244 name: 'kubernetes-promote-{distro}-{stream}'
246 disabled: '{obj:disabled}'
256 - credentials-binding:
257 - username-password-separated:
258 credential-id: 'nordix-cicd-arm-credentials'
259 username: NORDIX_ARM_USERNAME
260 password: NORDIX_ARM_TOKEN
262 - fix-workspace-permissions
266 url: https://gerrit.nordix.org/infra/engine.git