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
47 openrc-credentials-file: 'est-jenkins-openrcfile-city-frankfurt-cicd'
53 - 'kubernetes-release-{distro}-{stream}'
54 - 'kubernetes-package-{distro}-{stream}'
55 - 'kubernetes-promote-{distro}-{stream}'
58 name: 'kubernetes-release-{distro}-{stream}'
60 project-type: multijob
62 disabled: '{obj:disabled}'
64 node: 'engine-package-{distro}-fra'
72 description: 'Branch the job is created for. DO NOT MODIFY!'
76 description: 'Distribution to provision and configre target nodes with. DO NOT MODIFY!'
79 default: '{deploy-scenario}'
80 description: 'Scenario to test change with. This depends on the branch of the stack.'
84 description: 'CI loop type. DO NOT MODIFY!'
88 description: 'Engine verbosity'
90 name: NORDIX_ENGINE_VERSION
92 description: 'Engine version of engine to package, deploy, test, release'
96 description: 'Stack to package, deploy, test, release'
100 description: 'Stack version of engine to package, deploy, test, release'
102 name: NORDIX_KUBESPRAY_VERSION
104 description: 'Kubespray version of engine to package, deploy, test, release'
106 name: NORDIX_BIFROST_VERSION
108 description: 'Bifrost version of engine to package, deploy, test, release'
110 name: NORDIX_HEAT_VERSION
112 description: 'Heat version of engine to package, deploy, test, release'
115 default: '{promote-stack}'
116 description: 'Heat version of engine to package, deploy, test, release'
120 # NOTE (fdegir): throttle categories are controlled in jenkins global configuration
127 - engine-verify-package
133 - fix-workspace-permissions
139 cron: "#H 0,8,16 * * *"
143 url: https://gerrit.nordix.org/infra/engine.git
150 - 'generate-release-metadata-macro'
152 properties-file: "$WORKSPACE/release.properties"
153 - 'generate-ssh-keypair-macro'
154 - 'wait-pkg-mgr-macro'
157 condition: SUCCESSFUL
158 execution-type: PARALLEL
160 - name: 'kubernetes-package-{distro}-{stream}'
161 current-parameters: false
163 node-parameters: true
164 property-file: "$WORKSPACE/release.properties"
165 kill-phase-on: FAILURE
168 name: Release Test {deploy-scenario}
169 condition: SUCCESSFUL
170 execution-type: PARALLEL
172 - name: 'kubernetes-release-offline-deploy-test-{distro}-baremetal-{stream}'
173 current-parameters: false
175 node-parameters: false
176 property-file: "$WORKSPACE/release.properties"
177 kill-phase-on: FAILURE
181 condition: SUCCESSFUL
182 execution-type: PARALLEL
184 - name: 'kubernetes-promote-{distro}-{stream}'
185 current-parameters: false
187 node-parameters: true
188 property-file: "$WORKSPACE/release.properties"
189 kill-phase-on: FAILURE
193 name: 'kubernetes-package-{distro}-{stream}'
195 disabled: '{obj:disabled}'
203 description: 'Execution mode to run engine'
211 - credentials-binding:
212 - username-password-separated:
213 credential-id: 'nordix-cicd-arm-credentials'
214 username: NORDIX_ARM_USERNAME
215 password: NORDIX_ARM_TOKEN
217 - fix-workspace-permissions
221 url: https://gerrit.nordix.org/infra/engine.git
229 - 'upload-artifact-macro'
232 name: 'kubernetes-promote-{distro}-{stream}'
234 disabled: '{obj:disabled}'
244 - credentials-binding:
245 - username-password-separated:
246 credential-id: 'nordix-cicd-arm-credentials'
247 username: NORDIX_ARM_USERNAME
248 password: NORDIX_ARM_TOKEN
250 - fix-workspace-permissions
254 url: https://gerrit.nordix.org/infra/engine.git