3 # ============LICENSE_START=======================================================
4 # Copyright (C) 2019 Nordix Foundation.
5 # ================================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
18 # SPDX-License-Identifier: Apache-2.0
19 # ============LICENSE_END=========================================================
22 name: 'cloud-infra-verify'
24 project: 'infra/engine'
42 - 'cloud-infra-verify-{distro}-{type}-{stream}'
43 - 'cloud-infra-verify-{distro}-{phase}-{type}-{stream}'
46 name: 'cloud-infra-verify-{distro}-{type}-{stream}'
48 project-type: multijob
50 disabled: '{obj:disabled}'
58 - nordix-gerrit-parameters
69 use-build-blocker: true
71 - 'cloud-infra-verify-{distro}-.*'
83 - fix-workspace-permissions
86 - cloud-name: Xerces_EST_ONAP
87 template-name: cloud-infra-vpod
93 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
95 refspec: $GERRIT_REFSPEC
98 - nordix-gerrit-trigger-patchset-created:
99 project: 'infra\/engine|infra\/swconfig'
106 condition: SUCCESSFUL
108 - name: 'cloud-infra-verify-{distro}-deploy-{type}-{stream}'
109 current-parameters: true
110 predefined-parameters: |
113 GERRIT_PROJECT=$GERRIT_PROJECT
114 GERRIT_BRANCH=$GERRIT_BRANCH
115 GERRIT_REFSPEC=$GERRIT_REFSPEC
116 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
117 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
118 node-parameters: true
119 kill-phase-on: FAILURE
123 condition: SUCCESSFUL
125 - name: 'cloud-infra-verify-{distro}-test-{type}-{stream}'
126 current-parameters: true
127 predefined-parameters: |
130 GERRIT_PROJECT=$GERRIT_PROJECT
131 GERRIT_BRANCH=$GERRIT_BRANCH
132 GERRIT_REFSPEC=$GERRIT_REFSPEC
133 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
134 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
135 node-parameters: true
140 name: 'cloud-infra-verify-{distro}-{phase}-{type}-{stream}'
152 default: $GERRIT_PROJECT
155 default: 'ubuntu1604'
163 - fix-workspace-permissions
167 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
169 refspec: $GERRIT_REFSPEC
172 - 'cloud-infra-verify-{phase}-macro'
174 # -------------------------------
176 # -------------------------------
179 name: 'cloud-infra-verify-deploy-macro'
182 !include-raw: ./cloud-infra-deploy.sh
185 name: 'cloud-infra-verify-test-macro'
188 !include-raw: ./cloud-infra-test.sh
190 # vim: set ts=2 sw=2 expandtab: