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-calico-nofeature'
40 deploy-scenario: 'k8-calico-nofeature'
46 execution-mode: offline-deployment
57 openrc-credentials-file: 'est-jenkins-openrcfile-city-frankfurt-cicd'
60 - 'kubernetes-release-{distro}-{stream}'
61 - 'kubernetes-package-{distro}-{stream}'
62 - 'kubernetes-promote-{distro}-{stream}'
65 name: 'kubernetes-release-{distro}-{stream}'
67 project-type: multijob
69 disabled: '{obj:disabled}'
71 node: 'engine-package-{distro}-fra'
79 description: 'Branch the job is created for. DO NOT MODIFY!'
83 description: 'Distribution to provision and configre target nodes with. DO NOT MODIFY!'
86 default: '{deploy-scenario}'
87 description: 'Scenario to test change with. This depends on the branch of the stack.'
91 description: 'CI loop type. DO NOT MODIFY!'
95 description: 'Engine verbosity'
97 name: NORDIX_ENGINE_VERSION
99 description: 'Engine version of engine to package, deploy, test, release'
102 default: 'kubernetes'
103 description: 'Stack to package, deploy, test, release'
107 description: 'Stack version of engine to package, deploy, test, release'
109 name: NORDIX_KUBESPRAY_VERSION
111 description: 'Kubespray version of engine to package, deploy, test, release'
113 name: NORDIX_BIFROST_VERSION
115 description: 'Bifrost version of engine to package, deploy, test, release'
117 name: NORDIX_HEAT_VERSION
119 description: 'Heat version of engine to package, deploy, test, release'
122 default: '{promote-stack}'
123 description: 'Heat version of engine to package, deploy, test, release'
127 # NOTE (fdegir): throttle categories are controlled in jenkins global configuration
134 - engine-verify-package
140 - fix-workspace-permissions
146 cron: "#H 0,8,16 * * *"
150 url: https://gerrit.nordix.org/infra/engine.git
157 - 'generate-release-metadata-macro'
159 properties-file: "$WORKSPACE/release.properties"
160 - 'generate-ssh-keypair-macro'
161 - 'wait-pkg-mgr-macro'
164 condition: SUCCESSFUL
165 execution-type: PARALLEL
167 - name: 'kubernetes-package-{distro}-{stream}'
168 current-parameters: false
170 node-parameters: true
171 property-file: "$WORKSPACE/release.properties"
172 kill-phase-on: FAILURE
175 name: Release Test {deploy-scenario}
176 condition: SUCCESSFUL
177 execution-type: PARALLEL
179 - name: 'kubernetes-release-offline-deploy-test-{distro}-baremetal-{stream}'
180 current-parameters: false
182 node-parameters: false
183 property-file: "$WORKSPACE/release.properties"
184 kill-phase-on: FAILURE
188 condition: SUCCESSFUL
189 execution-type: PARALLEL
191 - name: 'kubernetes-promote-{distro}-{stream}'
192 current-parameters: false
194 node-parameters: true
195 property-file: "$WORKSPACE/release.properties"
196 kill-phase-on: FAILURE
200 name: 'kubernetes-package-{distro}-{stream}'
202 disabled: '{obj:disabled}'
210 description: 'Execution mode to run engine'
218 - credentials-binding:
219 - username-password-separated:
220 credential-id: 'nordix-cicd-arm-credentials'
221 username: NORDIX_ARM_USERNAME
222 password: NORDIX_ARM_TOKEN
224 - fix-workspace-permissions
228 url: https://gerrit.nordix.org/infra/engine.git
236 - 'upload-artifact-macro'
239 name: 'kubernetes-promote-{distro}-{stream}'
241 disabled: '{obj:disabled}'
251 - credentials-binding:
252 - username-password-separated:
253 credential-id: 'nordix-cicd-arm-credentials'
254 username: NORDIX_ARM_USERNAME
255 password: NORDIX_ARM_TOKEN
257 - fix-workspace-permissions
261 url: https://gerrit.nordix.org/infra/engine.git