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-offline'
23 project: 'kubernetes-release-offline'
28 execution-mode: offline-deployment
39 openrc-credentials-file: 'est-jenkins-openrcfile-city-karlskrona-onap'
42 - 'kubernetes-periodic-release-{environment-type}-{distro}'
43 - 'kubernetes-periodic-package-{distro}'
44 - 'kubernetes-periodic-promote-{distro}'
47 name: 'kubernetes-periodic-release-{environment-type}-{distro}'
49 project-type: multijob
51 disabled: '{obj:disabled}'
58 default: '{execution-mode}'
59 description: 'Engine execution mode - online-deployment or offline-deployment - default is online-deployment'
63 description: 'Distribution to use for configuring target nodes (networking etc.)'
67 description: 'Installer type to use'
70 default: 'k8-multus-plugins'
71 description: 'Scenario to deploy and test'
75 description: 'Verbosity setting for the engine - true or false - default is false'
77 name: ARTIFACTS_TO_UPLOAD
78 default: "k8s-installer-ubuntu1804.bsx offline-package.tgz"
79 description: 'Artifacts to upload'
81 name: ARTIFACT_TO_DOWNLOAD
82 default: "k8s-installer-ubuntu1804.bsx"
83 description: 'Artifact to download'
85 name: NORDIX_ARM_PUBLIC_IP
86 default: '91.106.198.25'
87 description: 'Public IP of Nordix Artifactory. Offline deployments can not resolve domain name'
89 name: NORDIX_ARM_HTTPS_URL
90 default: 'https://artifactory.nordix.org/artifactory'
91 description: 'URL to Nordix Artifactory'
94 default: 'nordix-kubernetes'
95 description: 'Name of the repository to upload and download artifact to/from. Depends on the stack'
99 description: 'CI loop type'
102 default: 'engine-package-ubuntu1804'
103 description: 'Slave label to schedule this job on.'
108 use-build-blocker: true
110 - 'engine-verify-package-.*'
111 - 'onap-sdc-periodic-release-offline-.*'
112 - 'onap-so-periodic-release-offline-.*'
113 - 'kubernetes-periodic-release-offline-.*'
120 - fix-workspace-permissions
124 cron: "H 0,8,16 * * *"
128 url: https://gerrit.nordix.org/infra/engine.git
135 - 'generate-ssh-keypair-macro'
136 - 'generate-build-metadata-macro'
137 - 'wait-pkg-mgr-macro'
140 condition: SUCCESSFUL
141 execution-type: PARALLEL
143 - name: 'kubernetes-periodic-package-{distro}'
144 current-parameters: true
146 node-parameters: true
147 property-file: "$WORKSPACE/build.properties"
148 kill-phase-on: FAILURE
151 name: release test k8-multus-plugins
152 condition: SUCCESSFUL
153 execution-type: PARALLEL
155 - name: 'k8-multus-plugins-offline-{distro}-baremetal-periodic'
156 current-parameters: false
158 node-parameters: false
159 property-file: "$WORKSPACE/build.properties"
160 predefined-parameters: |
161 EXECUTION_MODE=$EXECUTION_MODE
162 NORDIX_ARM_PUBLIC_IP=$NORDIX_ARM_PUBLIC_IP
163 ARTIFACT_TO_DOWNLOAD=$ARTIFACT_TO_DOWNLOAD
165 kill-phase-on: FAILURE
169 condition: SUCCESSFUL
170 execution-type: PARALLEL
172 - name: 'kubernetes-periodic-promote-{distro}'
173 current-parameters: true
175 node-parameters: true
176 property-file: "$WORKSPACE/build.properties"
177 kill-phase-on: FAILURE
181 name: 'kubernetes-periodic-package-{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
211 - 'upload-artifact-macro'
214 name: 'kubernetes-periodic-promote-{distro}'
216 disabled: '{obj:disabled}'
226 - credentials-binding:
227 - username-password-separated:
228 credential-id: 'nordix-cicd-arm-credentials'
229 username: NORDIX_ARM_USERNAME
230 password: NORDIX_ARM_TOKEN
232 - fix-workspace-permissions
236 url: https://gerrit.nordix.org/infra/engine.git