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-verify-package'
23 project: 'engine-verify-package'
28 openrc-credentials-file: 'est-jenkins-openrcfile-city-karlskrona-onap'
29 execution-mode: 'packaging'
30 gated-projects: 'infra\/engine'
40 - 'engine-verify-package-{distro}-{stream}'
43 name: 'engine-verify-package-{distro}-{stream}'
45 disabled: '{obj:disabled}'
52 default: '{execution-mode}'
53 description: 'Engine execution mode - packaging'
57 description: 'Distribution to use for configuring target nodes (networking etc.)'
61 description: 'Verbosity setting for the engine - true or false - default is false'
63 name: ARTIFACTS_TO_UPLOAD
64 default: "k8s-installer-ubuntu1804.bsx"
65 description: 'Artifacts to upload'
67 name: NORDIX_ARM_PUBLIC_IP
68 default: '91.106.198.25'
69 description: 'Public IP of Nordix Artifactory. Offline deployments can not resolve domain name'
71 name: NORDIX_ARM_HTTPS_URL
72 default: 'https://artifactory.nordix.org/artifactory'
73 description: 'URL to Nordix Artifactory'
76 default: 'nordix-kubernetes'
77 description: 'Name of the repository to upload and download artifact to/from. Depends on the stack'
81 description: 'CI loop type'
84 default: 'engine-master-offline-{distro}'
85 description: 'Slave label to schedule this job on.'
87 project: $GERRIT_PROJECT
89 description: 'The project and branch which the change is proposed for'
90 - nordix-gerrit-parameters
103 - fix-workspace-permissions
109 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
111 refspec: $GERRIT_REFSPEC
117 server-name: 'Nordix Gerrit'
119 - patchset-created-event:
120 exclude-drafts: 'false'
121 exclude-trivial-rebase: 'false'
122 exclude-no-code-change: 'false'
123 - draft-published-event
124 - comment-added-contains-event:
125 comment-contains-value: 'recheck'
126 - comment-added-contains-event:
127 comment-contains-value: 'reverify'
129 - project-compare-type: 'REG_EXP'
130 project-pattern: '{gated-projects}'
132 - branch-compare-type: 'ANT'
133 branch-pattern: '**/{branch}'
134 disable-strict-forbidden-file-verification: 'true'
135 forbidden-file-paths:
137 pattern: 'docs/**|releasenotes/**'
139 successful: '{obj:successful}'
140 failed: '{obj:failed}'
141 unstable: '{obj:unstable}'
142 notbuilt: '{obj:notbuilt}'
143 custom-url: '* $JOB_NAME $BUILD_URL'
144 readable-message: 'true'
145 dependency-jobs: 'engine-verify-tox-{stream}'
150 - credentials-binding:
151 - username-password-separated:
152 credential-id: 'nordix-cicd-arm-credentials'
153 username: NORDIX_ARM_USERNAME
154 password: NORDIX_ARM_TOKEN
156 - fix-workspace-permissions
159 - 'generate-ssh-keypair-macro'
160 - 'wait-pkg-mgr-macro'
162 - 'upload-artifact-macro'