2 # ============LICENSE_START=======================================================
3 # Copyright (C) 2019 Nordix Foundation.
4 # ================================================================================
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
17 # SPDX-License-Identifier: Apache-2.0
18 # ============LICENSE_END=========================================================
32 repos-to-ignore: 'infra/hwconfig'
35 repos-to-ignore: 'infra/hwconfig|infra/swconfig|infra/test'
38 repos-to-ignore: 'infra/hwconfig'
44 - 'engine-verify-tox-{stream}'
45 - 'engine-verify-{lint-type}-{stream}'
48 name: 'engine-verify-tox-{stream}'
50 project-type: multijob
54 node: infra-tools-docker-slave-ubuntu1804
58 project: $GERRIT_PROJECT
60 description: 'The project and branch which the change is proposed for'
64 description: 'Verbosity setting for the tox script'
65 - nordix-gerrit-parameters
73 - fix-workspace-permissions
77 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
79 refspec: $GERRIT_REFSPEC
85 server-name: 'Nordix Gerrit'
87 - patchset-created-event:
88 exclude-drafts: 'false'
89 exclude-trivial-rebase: 'false'
90 exclude-no-code-change: 'false'
91 - draft-published-event
92 - comment-added-contains-event:
93 comment-contains-value: 'recheck'
94 - comment-added-contains-event:
95 comment-contains-value: 'reverify'
97 - project-compare-type: 'REG_EXP'
98 project-pattern: 'infra\/engine|infra\/test|infra\/swconfig|infra\/hwconfig'
100 - branch-compare-type: 'ANT'
101 branch-pattern: '**/{branch}'
102 disable-strict-forbidden-file-verification: 'false'
103 forbidden-file-paths:
105 pattern: '.gitignore|.gitreview|.yamllint|README.md|bindep.txt|setup.cfg|setup.py'
106 custom-url: '* $JOB_NAME $BUILD_URL'
113 - name: 'engine-verify-ansible-lint-{stream}'
114 current-parameters: true
117 predefined-parameters: |
118 GERRIT_PROJECT=$GERRIT_PROJECT
119 GERRIT_BRANCH=$GERRIT_BRANCH
120 GERRIT_REFSPEC=$GERRIT_REFSPEC
121 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
122 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
128 - name: 'engine-verify-shellcheck-{stream}'
129 current-parameters: true
132 predefined-parameters: |
133 GERRIT_PROJECT=$GERRIT_PROJECT
134 GERRIT_BRANCH=$GERRIT_BRANCH
135 GERRIT_REFSPEC=$GERRIT_REFSPEC
136 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
137 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
143 - name: 'engine-verify-yamllint-{stream}'
144 current-parameters: true
147 predefined-parameters: |
148 GERRIT_PROJECT=$GERRIT_PROJECT
149 GERRIT_BRANCH=$GERRIT_BRANCH
150 GERRIT_REFSPEC=$GERRIT_REFSPEC
151 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
152 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
158 - name: 'engine-verify-docs-{stream}'
159 current-parameters: true
162 predefined-parameters: |
163 GERRIT_PROJECT=$GERRIT_PROJECT
164 GERRIT_BRANCH=$GERRIT_BRANCH
165 GERRIT_REFSPEC=$GERRIT_REFSPEC
166 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
167 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
171 name: 'engine-verify-{lint-type}-{stream}'
173 disabled: '{obj:disabled}'
177 node: infra-tools-docker-slave-ubuntu1804
182 default: $GERRIT_PROJECT
183 description: 'The project which the change is proposed for'
186 default: '{lint-type}'
187 description: 'Lint type to run'
189 name: REPOS_TO_IGNORE
190 default: '{repos-to-ignore}'
191 description: 'Repos to ignore for the specific lint type'
195 description: 'Verbosity setting for the tox script'
196 - nordix-gerrit-parameters
204 - fix-workspace-permissions
208 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
210 refspec: $GERRIT_REFSPEC
215 - 'engine-verify-tox-macro'
217 # vim: set ts=2 sw=2 expandtab: