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: 'onap-release-online'
23 project: 'onap-release-online'
28 execution-mode: online-deployment
49 openrc-credentials-file: 'est-jenkins-openrcfile-city-karlskrona-onap'
52 - 'onap-{onap-profile}-periodic-release-{environment-type}-{distro}-{onap-branch}'
53 - 'onap-{onap-profile}-periodic-package-{distro}-{onap-branch}'
54 - 'onap-{onap-profile}-periodic-promote-{distro}-{onap-branch}'
57 name: 'onap-{onap-profile}-periodic-release-{environment-type}-{distro}-{onap-branch}'
59 project-type: multijob
61 disabled: '{obj:disabled}'
68 default: '{execution-mode}'
69 description: 'Engine execution mode - online-deployment or offline-deployment - default is online-deployment'
73 description: 'Distribution to use for configuring target nodes (networking etc.)'
77 description: 'Installer type to use'
80 default: 'k8-calico-onap'
81 description: 'Scenario to deploy and test'
84 default: '{onap-profile}'
85 description: 'ONAP Profile to deploy and test'
89 description: 'Verbosity setting for the engine - true or false - default is false'
91 name: ARTIFACTS_TO_UPLOAD
92 default: "onap-{onap-profile}-installer-ubuntu1804.bsx offline-package.tgz"
93 description: 'Artifacts to upload'
95 name: ARTIFACT_TO_DOWNLOAD
96 default: "onap-{onap-profile}-installer-ubuntu1804.bsx"
97 description: 'Artifact to download'
99 name: NORDIX_ARM_PUBLIC_IP
100 default: '91.106.198.25'
101 description: 'Public IP of Nordix Artifactory. Offline deployments can not resolve domain name'
103 name: NORDIX_ARM_HTTPS_URL
104 default: 'https://artifactory.nordix.org/artifactory'
105 description: 'URL to Nordix Artifactory'
107 name: NORDIX_ARM_REPO
108 default: 'nordix-onap'
109 description: 'Name of the repository to upload and download artifact to/from. Depends on the stack'
113 description: 'CI loop type'
116 default: 'engine-package-ubuntu1804'
117 description: 'Slave label to schedule this job on.'
122 use-build-blocker: true
124 - 'engine-verify-package-.*'
125 - 'onap-sdc-periodic-release-offline-.*'
126 - 'onap-so-periodic-release-offline-.*'
127 - 'kubernetes-periodic-release-offline-.*'
134 - fix-workspace-permissions
138 cron: "H 0,8,16 * * *"
142 url: https://gerrit.nordix.org/infra/engine.git
149 - 'generate-ssh-keypair-macro'
150 - 'generate-build-metadata-macro'
151 - 'wait-pkg-mgr-macro'
154 condition: SUCCESSFUL
155 execution-type: PARALLEL
157 - name: 'onap-{onap-profile}-periodic-package-{distro}-{onap-branch}'
158 current-parameters: true
160 node-parameters: true
161 property-file: "$WORKSPACE/build.properties"
162 kill-phase-on: FAILURE
165 name: release test k8-calico-onap {onap-profile}
166 condition: SUCCESSFUL
167 execution-type: PARALLEL
169 - name: 'k8-calico-onap-{onap-profile}-online-ubuntu1804-city-cloud-periodic-{onap-branch}'
170 current-parameters: false
172 node-parameters: false
173 property-file: "$WORKSPACE/build.properties"
174 predefined-parameters: |
175 EXECUTION_MODE=$EXECUTION_MODE
176 NORDIX_ARM_PUBLIC_IP=$NORDIX_ARM_PUBLIC_IP
177 ARTIFACT_TO_DOWNLOAD=$ARTIFACT_TO_DOWNLOAD
179 kill-phase-on: FAILURE
183 condition: SUCCESSFUL
184 execution-type: PARALLEL
186 - name: 'onap-{onap-profile}-periodic-promote-{distro}-{onap-branch}'
187 current-parameters: true
189 node-parameters: true
190 property-file: "$WORKSPACE/build.properties"
191 kill-phase-on: FAILURE
195 name: 'onap-{onap-profile}-periodic-package-{distro}-{onap-branch}'
197 disabled: '{obj:disabled}'
207 - credentials-binding:
208 - username-password-separated:
209 credential-id: 'nordix-cicd-arm-credentials'
210 username: NORDIX_ARM_USERNAME
211 password: NORDIX_ARM_TOKEN
213 - fix-workspace-permissions
217 url: https://gerrit.nordix.org/infra/engine.git
224 - 'onap-package-builder-macro'
227 name: 'onap-{onap-profile}-periodic-promote-{distro}-{onap-branch}'
229 disabled: '{obj:disabled}'
239 - credentials-binding:
240 - username-password-separated:
241 credential-id: 'nordix-cicd-arm-credentials'
242 username: NORDIX_ARM_USERNAME
243 password: NORDIX_ARM_TOKEN
245 - fix-workspace-permissions
249 url: https://gerrit.nordix.org/infra/engine.git
256 - 'onap-promote-builder-macro'