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: 'engine-release'
23 project: 'engine-release'
28 execution-mode: offline-deployment
29 pdf: 'file:///opt/engine/offline/git/hwconfig/pods'
30 idf: 'file:///opt/engine/offline/git/hwconfig/pods'
41 openrc-credentials-file: 'est-jenkins-openrcfile-city-karlskrona-onap'
44 - 'kubernetes-periodic-release-{environment-type}-{distro}'
45 - 'kubernetes-periodic-{phase}-{distro}'
48 name: 'kubernetes-periodic-release-{environment-type}-{distro}'
50 project-type: multijob
52 disabled: '{obj:disabled}'
59 default: '{execution-mode}'
60 description: 'Engine execution mode - online-deployment or offline-deployment - default is online-deployment'
64 description: 'Distribution to use for configuring target nodes (networking etc.)'
68 description: 'Installer type to use'
71 default: 'k8-calico-nofeature'
72 description: 'Scenario to deploy and test'
75 default: '{pdf}/${{NODE_NAME}}-pdf.yml'
76 description: 'PDF file to use for deployment'
79 default: '{idf}/${{NODE_NAME}}-idf.yml'
80 description: 'IDF file to use for deployment'
84 description: 'Verbosity setting for the engine - true or false - default is false'
86 name: NORDIX_ARM_PUBLIC_IP
87 default: '91.106.198.25'
88 description: 'Public IP of Nordix Artifactory. Offline deployments can not resolve domain name'
90 name: NORDIX_ARM_HTTPS_URL
91 default: 'https://artifactory.nordix.org/artifactory'
92 description: 'URL to Nordix Artifactory'
95 default: 'nordix-kubernetes'
96 description: 'Name of the repository to upload and download artifact to/from. Depends on the stack'
98 name: NORDIX_ARTIFACT_URL
99 default: "$NORDIX_ARM_HTTPS_URL/$NORDIX_ARM_REPO/installer/oss/change/$GERRIT_CHANGE_NUMBER/k8s-installer-ubuntu1804.bsx"
100 description: 'Name of the repository to upload and download artifact to/from. Depends on the stack'
103 default: 'engine-build-ubuntu1804'
104 description: 'Slave label to schedule this job on.'
113 - fix-workspace-permissions
117 cron: "H 0,8,16 * * *"
121 url: https://gerrit.nordix.org/infra/engine.git
128 - 'engine-wait-pkg-mgr-macro'
129 - 'engine-generate-ssh-keypair-macro'
130 - 'engine-generate-job-metadata-macro'
133 condition: SUCCESSFUL
134 execution-type: PARALLEL
136 - name: 'kubernetes-periodic-package-{distro}'
137 current-parameters: true
139 node-parameters: true
140 property-file: "$WORKSPACE/job.properties"
141 kill-phase-on: FAILURE
144 name: release test k8-calico-nofeature
145 condition: SUCCESSFUL
146 execution-type: PARALLEL
148 - name: 'k8-calico-nofeature-offline-{distro}-baremetal-periodic'
149 current-parameters: false
151 node-parameters: false
152 property-file: "$WORKSPACE/job.properties"
153 kill-phase-on: FAILURE
156 name: release test k8-multus-nofeature
157 condition: SUCCESSFUL
158 execution-type: PARALLEL
160 - name: 'k8-multus-nofeature-offline-{distro}-baremetal-periodic'
161 current-parameters: false
163 node-parameters: false
164 property-file: "$WORKSPACE/job.properties"
165 kill-phase-on: FAILURE
169 condition: SUCCESSFUL
170 execution-type: PARALLEL
172 - name: 'kubernetes-periodic-promote-package-{distro}'
173 current-parameters: true
175 node-parameters: true
176 property-file: "$WORKSPACE/job.properties"
177 kill-phase-on: FAILURE
181 name: 'kubernetes-periodic-{phase}-{distro}'
183 disabled: '{obj:disabled}'
193 - credentials-binding:
194 - username-password-separated:
195 credential-id: 'nordix-cicd-arm-credentials'
196 username: NORDIX_ARM_USERNAME
197 password: NORDIX_ARM_TOKEN
199 - fix-workspace-permissions
203 url: https://gerrit.nordix.org/infra/engine.git
214 # - 'engine-wait-pkg-mgr-macro'
215 # - 'engine-generate-ssh-keypair-macro'
216 # - 'engine-packaging-macro'
217 # - 'engine-upload-artifact-macro'