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-build-ubuntu1804'
117 description: 'Slave label to schedule this job on.'
126 - fix-workspace-permissions
130 cron: "H 0,8,16 * * *"
134 url: https://gerrit.nordix.org/infra/engine.git
141 - 'generate-ssh-keypair-macro'
142 - 'generate-build-metadata-macro'
143 - 'wait-pkg-mgr-macro'
146 condition: SUCCESSFUL
147 execution-type: PARALLEL
149 - name: 'onap-{onap-profile}-periodic-package-{distro}-{onap-branch}'
150 current-parameters: true
152 node-parameters: true
153 property-file: "$WORKSPACE/build.properties"
154 kill-phase-on: FAILURE
157 name: release test k8-calico-onap {onap-profile}
158 condition: SUCCESSFUL
159 execution-type: PARALLEL
161 - name: 'k8-calico-onap-{onap-profile}-online-ubuntu1804-city-cloud-periodic-{onap-branch}'
162 current-parameters: false
164 node-parameters: false
165 property-file: "$WORKSPACE/build.properties"
166 predefined-parameters: |
167 EXECUTION_MODE=$EXECUTION_MODE
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: 'onap-{onap-profile}-periodic-promote-{distro}-{onap-branch}'
179 current-parameters: true
181 node-parameters: true
182 property-file: "$WORKSPACE/build.properties"
183 kill-phase-on: FAILURE
187 name: 'onap-{onap-profile}-periodic-package-{distro}-{onap-branch}'
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
216 - 'onap-package-builder-macro'
219 name: 'onap-{onap-profile}-periodic-promote-{distro}-{onap-branch}'
221 disabled: '{obj:disabled}'
231 - credentials-binding:
232 - username-password-separated:
233 credential-id: 'nordix-cicd-arm-credentials'
234 username: NORDIX_ARM_USERNAME
235 password: NORDIX_ARM_TOKEN
237 - fix-workspace-permissions
241 url: https://gerrit.nordix.org/infra/engine.git
248 - 'onap-promote-builder-macro'