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
61 default: 'cloud-infra-vpod-ubuntu1604-xerces'
63 node-eligibility: 'ignore-offline'
71 use-build-blocker: true
73 - 'cloud-infra-verify-{distro}-.*'
76 blocking-level: 'NODE'
87 - fix-workspace-permissions
91 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
93 refspec: $GERRIT_REFSPEC
96 - nordix-gerrit-trigger-patchset-created:
97 project: 'infra\/engine|infra\/swconfig'
104 condition: SUCCESSFUL
106 - name: 'cloud-infra-verify-{distro}-deploy-{type}-{stream}'
107 current-parameters: true
108 predefined-parameters: |
110 GERRIT_PROJECT=$GERRIT_PROJECT
111 GERRIT_BRANCH=$GERRIT_BRANCH
112 GERRIT_REFSPEC=$GERRIT_REFSPEC
113 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
114 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
115 node-parameters: true
116 kill-phase-on: FAILURE
120 condition: SUCCESSFUL
122 - name: 'cloud-infra-verify-{distro}-test-{type}-{stream}'
123 current-parameters: true
124 predefined-parameters: |
126 GERRIT_PROJECT=$GERRIT_PROJECT
127 GERRIT_BRANCH=$GERRIT_BRANCH
128 GERRIT_REFSPEC=$GERRIT_REFSPEC
129 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
130 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
131 node-parameters: true
136 name: 'cloud-infra-verify-{distro}-{phase}-{type}-{stream}'
148 default: $GERRIT_PROJECT
151 default: 'ubuntu1604'
156 - fix-workspace-permissions
160 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
162 refspec: $GERRIT_REFSPEC
165 - 'cloud-infra-verify-{phase}-macro'
167 # -------------------------------
169 # -------------------------------
172 name: 'cloud-infra-verify-deploy-macro'
175 !include-raw: ./cloud-infra-deploy.sh
178 name: 'cloud-infra-verify-test-macro'
181 !include-raw: ./cloud-infra-test.sh
183 # vim: set ts=2 sw=2 expandtab: