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
39 openrc-credentials-file: 'est-jenkins-openrcfile-city-karlskrona-onap'
42 - 'kubernetes-periodic-release-{environment-type}-{distro}'
43 - 'kubernetes-periodic-{phase}-{distro}'
46 name: 'kubernetes-periodic-release-{environment-type}-{distro}'
48 project-type: multijob
50 disabled: '{obj:disabled}'
57 default: '{execution-mode}'
58 description: 'Engine execution mode - online-deployment or offline-deployment - default is online-deployment'
62 description: 'Distribution to use for configuring target nodes (networking etc.)'
66 description: 'Installer type to use'
69 default: 'k8-calico-nofeature'
70 description: 'Scenario to deploy and test'
74 description: 'Verbosity setting for the engine - true or false - default is false'
76 name: ARTIFACTS_TO_UPLOAD
77 default: "k8s-installer-ubuntu1804.bsx offline-package.tgz"
78 description: 'Artifacts to upload'
80 name: ARTIFACT_TO_DOWNLOAD
81 default: "k8s-installer-ubuntu1804.bsx"
82 description: 'Artifact to download'
84 name: NORDIX_ARM_PUBLIC_IP
85 default: '91.106.198.25'
86 description: 'Public IP of Nordix Artifactory. Offline deployments can not resolve domain name'
88 name: NORDIX_ARM_HTTPS_URL
89 default: 'https://artifactory.nordix.org/artifactory'
90 description: 'URL to Nordix Artifactory'
93 default: 'nordix-kubernetes'
94 description: 'Name of the repository to upload and download artifact to/from. Depends on the stack'
98 description: 'CI loop type'
101 default: 'engine-build-ubuntu1804'
102 description: 'Slave label to schedule this job on.'
111 - fix-workspace-permissions
115 cron: "H 0,8,16 * * *"
119 url: https://gerrit.nordix.org/infra/engine.git
126 - 'wait-pkg-mgr-macro'
127 - 'generate-ssh-keypair-macro'
128 - 'generate-job-metadata-macro'
131 condition: SUCCESSFUL
132 execution-type: PARALLEL
134 - name: 'kubernetes-periodic-package-{distro}'
135 current-parameters: true
137 node-parameters: true
138 property-file: "$WORKSPACE/build.properties"
139 kill-phase-on: FAILURE
142 name: release test k8-calico-nofeature
143 condition: SUCCESSFUL
144 execution-type: PARALLEL
146 - name: 'k8-calico-nofeature-offline-{distro}-baremetal-periodic'
147 current-parameters: false
149 node-parameters: false
150 property-file: "$WORKSPACE/build.properties"
151 predefined-parameters: |
152 NORDIX_ARM_PUBLIC_IP=$NORDIX_ARM_PUBLIC_IP
153 ARTIFACT_TO_DOWNLOAD=$ARTIFACT_TO_DOWNLOAD
155 kill-phase-on: FAILURE
158 name: release test k8-multus-nofeature
159 condition: SUCCESSFUL
160 execution-type: PARALLEL
162 - name: 'k8-multus-nofeature-offline-{distro}-baremetal-periodic'
163 current-parameters: false
165 node-parameters: false
166 property-file: "$WORKSPACE/build.properties"
167 predefined-parameters: |
168 NORDIX_ARM_PUBLIC_IP=$NORDIX_ARM_PUBLIC_IP
169 ARTIFACT_TO_DOWNLOAD=$ARTIFACT_TO_DOWNLOAD
171 kill-phase-on: FAILURE
175 condition: SUCCESSFUL
176 execution-type: PARALLEL
178 - name: 'kubernetes-periodic-promote-{distro}'
179 current-parameters: true
181 node-parameters: true
182 property-file: "$WORKSPACE/build.properties"
183 kill-phase-on: FAILURE
187 name: 'kubernetes-periodic-{phase}-{distro}'
189 disabled: '{obj:disabled}'
199 - credentials-binding:
200 - username-password-separated:
201 credential-id: 'nordix-cicd-arm-credentials'
202 username: NORDIX_ARM_USERNAME
203 password: NORDIX_ARM_TOKEN
205 - fix-workspace-permissions
209 url: https://gerrit.nordix.org/infra/engine.git
220 # - 'wait-pkg-mgr-macro'
221 # - 'generate-ssh-keypair-macro'
223 # - 'upload-artifact-macro'