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'
112 execution-type: PARALLEL
114 - name: 'engine-verify-ansible-lint-{stream}'
115 current-parameters: true
118 - name: 'engine-verify-shellcheck-{stream}'
119 current-parameters: true
122 - name: 'engine-verify-yamllint-{stream}'
123 current-parameters: true
126 - name: 'engine-verify-docs-{stream}'
127 current-parameters: true
132 name: 'engine-verify-{lint-type}-{stream}'
134 disabled: '{obj:disabled}'
138 node: infra-tools-docker-slave-ubuntu1804
143 default: '{lint-type}'
144 description: 'Lint type to run'
146 name: REPOS_TO_IGNORE
147 default: '{repos-to-ignore}'
148 description: 'Repos to ignore for the specific lint type'
156 - fix-workspace-permissions
160 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
162 refspec: $GERRIT_REFSPEC
167 - 'engine-verify-tox-macro'
169 # vim: set ts=2 sw=2 expandtab: