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'
72 use-build-blocker: true
74 - 'cloud-infra-verify-{distro}-.*'
77 blocking-level: 'NODE'
86 - fix-workspace-permissions
90 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
92 refspec: $GERRIT_REFSPEC
95 - nordix-gerrit-trigger-patchset-created:
96 project: 'infra\/engine|infra\/swconfig'
103 condition: SUCCESSFUL
105 - name: 'cloud-infra-verify-{distro}-deploy-{type}-{stream}'
106 current-parameters: true
107 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: |
127 GERRIT_PROJECT=$GERRIT_PROJECT
128 GERRIT_BRANCH=$GERRIT_BRANCH
129 GERRIT_REFSPEC=$GERRIT_REFSPEC
130 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
131 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
132 node-parameters: true
137 name: 'cloud-infra-verify-{distro}-{phase}-{type}-{stream}'
149 default: $GERRIT_PROJECT
152 default: 'ubuntu1604'
160 - fix-workspace-permissions
164 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
166 refspec: $GERRIT_REFSPEC
169 - 'cloud-infra-verify-{phase}-macro'
171 # -------------------------------
173 # -------------------------------
176 name: 'cloud-infra-verify-deploy-macro'
179 !include-raw: ./cloud-infra-deploy.sh
182 name: 'cloud-infra-verify-test-macro'
185 !include-raw: ./cloud-infra-test.sh
187 # vim: set ts=2 sw=2 expandtab: