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'
71 use-build-blocker: true
73 - 'cloud-infra-verify-{distro}-.*'
76 blocking-level: 'NODE'
85 - fix-workspace-permissions
89 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
91 refspec: $GERRIT_REFSPEC
94 - nordix-gerrit-trigger-patchset-created:
95 project: 'infra\/engine|infra\/swconfig'
102 condition: SUCCESSFUL
104 - name: 'cloud-infra-verify-{distro}-deploy-{type}-{stream}'
105 current-parameters: true
106 predefined-parameters: |
108 GERRIT_PROJECT=$GERRIT_PROJECT
109 GERRIT_BRANCH=$GERRIT_BRANCH
110 GERRIT_REFSPEC=$GERRIT_REFSPEC
111 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
112 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
113 node-parameters: true
114 kill-phase-on: FAILURE
118 condition: SUCCESSFUL
120 - name: 'cloud-infra-verify-{distro}-test-{type}-{stream}'
121 current-parameters: true
122 predefined-parameters: |
124 GERRIT_PROJECT=$GERRIT_PROJECT
125 GERRIT_BRANCH=$GERRIT_BRANCH
126 GERRIT_REFSPEC=$GERRIT_REFSPEC
127 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
128 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
129 node-parameters: true
134 name: 'cloud-infra-verify-{distro}-{phase}-{type}-{stream}'
146 default: $GERRIT_PROJECT
149 default: 'ubuntu1604'
154 - fix-workspace-permissions
158 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
160 refspec: $GERRIT_REFSPEC
163 - 'cloud-infra-verify-{phase}-macro'
165 # -------------------------------
167 # -------------------------------
170 name: 'cloud-infra-verify-deploy-macro'
173 !include-raw: ./cloud-infra-deploy.sh
176 name: 'cloud-infra-verify-test-macro'
179 !include-raw: ./cloud-infra-test.sh
181 # vim: set ts=2 sw=2 expandtab: