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'
63 node-eligibility: 'ignore-offline'
74 use-build-blocker: true
76 - 'cloud-infra-verify-{distro}-.*'
79 blocking-level: 'NODE'
88 - fix-workspace-permissions
92 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
94 refspec: $GERRIT_REFSPEC
97 - nordix-gerrit-trigger-patchset-created:
98 project: 'infra\/engine|infra\/swconfig'
105 condition: SUCCESSFUL
107 - name: 'cloud-infra-verify-{distro}-deploy-{type}-{stream}'
108 current-parameters: true
109 predefined-parameters: |
112 GERRIT_PROJECT=$GERRIT_PROJECT
113 GERRIT_BRANCH=$GERRIT_BRANCH
114 GERRIT_REFSPEC=$GERRIT_REFSPEC
115 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
116 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
117 node-parameters: true
118 kill-phase-on: FAILURE
122 condition: SUCCESSFUL
124 - name: 'cloud-infra-verify-{distro}-test-{type}-{stream}'
125 current-parameters: true
126 predefined-parameters: |
129 GERRIT_PROJECT=$GERRIT_PROJECT
130 GERRIT_BRANCH=$GERRIT_BRANCH
131 GERRIT_REFSPEC=$GERRIT_REFSPEC
132 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
133 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
134 node-parameters: true
139 name: 'cloud-infra-verify-{distro}-{phase}-{type}-{stream}'
151 default: $GERRIT_PROJECT
154 default: 'ubuntu1604'
162 - fix-workspace-permissions
166 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
168 refspec: $GERRIT_REFSPEC
171 - 'cloud-infra-verify-{phase}-macro'
173 # -------------------------------
175 # -------------------------------
178 name: 'cloud-infra-verify-deploy-macro'
181 !include-raw: ./cloud-infra-deploy.sh
184 name: 'cloud-infra-verify-test-macro'
187 !include-raw: ./cloud-infra-test.sh
189 # vim: set ts=2 sw=2 expandtab: