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-deployment'
23 project: 'engine-deployment'
28 gated-projects: 'infra\/engine'
33 execution-mode: online-deployment
40 execution-mode: offline-deployment
51 openrc-credentials-file: 'est-jenkins-openrcfile-city-karlskrona-onap'
54 - 'engine-verify-{environment-type}-{distro}-{cloud}-{stream}'
55 - 'engine-verify-packaging-{distro}-{stream}'
58 name: 'engine-verify-{environment-type}-{distro}-{cloud}-{stream}'
60 project-type: multijob
62 disabled: '{obj:disabled}'
68 project: $GERRIT_PROJECT
70 description: 'The project and branch which the change is proposed for'
73 default: '{execution-mode}'
74 description: 'Engine execution mode - online-deployment or offline-deployment - default is online-deployment'
78 description: 'Verbosity setting for the engine - true or false - default is false'
79 - nordix-gerrit-parameters
82 default: 'engine-master-{environment-type}-{distro}'
83 description: 'Slave label to schedule this job on.'
87 description: 'Distribution to use for configuring target nodes (networking etc.)'
92 use-build-blocker: true
94 - 'engine-verify-packaging-ubuntu1804.*'
95 - 'engine-verify-online-ubuntu1804.*'
96 - 'engine-verify-offline-ubuntu1804.*'
106 - credentials-binding:
107 - username-password-separated:
108 credential-id: 'nordix-cicd-arm-credentials'
109 username: NORDIX_ARM_USERNAME
110 password: NORDIX_ARM_TOKEN
112 - fix-workspace-permissions
118 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
120 refspec: $GERRIT_REFSPEC
126 server-name: 'Nordix Gerrit'
128 - patchset-created-event:
129 exclude-drafts: 'false'
130 exclude-trivial-rebase: 'false'
131 exclude-no-code-change: 'false'
132 - draft-published-event
133 - comment-added-contains-event:
134 comment-contains-value: 'recheck'
135 - comment-added-contains-event:
136 comment-contains-value: 'reverify'
138 - project-compare-type: 'REG_EXP'
139 project-pattern: '{gated-projects}'
141 - branch-compare-type: 'ANT'
142 branch-pattern: '**/{branch}'
143 disable-strict-forbidden-file-verification: 'true'
144 forbidden-file-paths:
148 successful: '{obj:successful}'
149 failed: '{obj:failed}'
150 unstable: '{obj:unstable}'
151 notbuilt: '{obj:notbuilt}'
152 custom-url: '* $JOB_NAME $BUILD_URL'
157 condition: SUCCESSFUL
158 execution-type: PARALLEL
160 - name: 'engine-verify-packaging-{distro}-{stream}'
161 current-parameters: true
162 node-parameters: true
163 kill-phase-on: FAILURE
166 name: Deployment and Testing
167 condition: SUCCESSFUL
168 execution-type: PARALLEL
170 - name: 'engine-verify-{environment-type}-deploy-test-{distro}-city-virtual-master'
171 current-parameters: true
172 node-parameters: false
173 kill-phase-on: FAILURE
175 - name: 'engine-verify-{environment-type}-deploy-test-{distro}-city-cloud-master'
176 current-parameters: true
177 node-parameters: false
178 kill-phase-on: FAILURE
182 name: 'engine-verify-packaging-{distro}-{stream}'
184 disabled: '{obj:disabled}'
191 use-build-blocker: true
193 - 'engine-verify-packaging-ubuntu1804.*'
194 - 'engine-verify-online-ubuntu1804.*'
195 - 'engine-verify-offline-ubuntu1804.*'
205 - credentials-binding:
206 - username-password-separated:
207 credential-id: 'nordix-cicd-arm-credentials'
208 username: NORDIX_ARM_USERNAME
209 password: NORDIX_ARM_TOKEN
211 - fix-workspace-permissions
217 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
219 refspec: $GERRIT_REFSPEC