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=========================================================
28 gated-projects: 'infra/engine|infra/hwconfig|infra/swconfig|infra/test|infra/provisioner/bifrost|infra/provisioner/heat|infra/installer/kolla|infra/installer/kubespray'
33 repos-to-ignore: 'infra/hwconfig'
36 repos-to-ignore: 'infra/hwconfig|infra/swconfig|infra/test|infra/provisioner/bifrost|infra/provisioner/heat|infra/installer/kolla|infra/installer/kubespray'
39 repos-to-ignore: 'infra/hwconfig'
45 - 'engine-verify-tox-{stream}'
46 - 'engine-verify-{lint-type}-{stream}'
49 name: 'engine-verify-tox-{stream}'
51 project-type: multijob
55 node: infra-tools-docker-slave-ubuntu1804
59 project: $GERRIT_PROJECT
61 description: 'The project and branch which the change is proposed for'
65 description: 'Verbosity setting for the tox script'
66 - nordix-gerrit-parameters
74 - fix-workspace-permissions
78 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
79 branch: refs/heads/$GERRIT_BRANCH
80 refspec: $GERRIT_REFSPEC
86 server-name: 'Nordix Gerrit'
88 - patchset-created-event:
89 exclude-drafts: 'false'
90 exclude-trivial-rebase: 'false'
91 exclude-no-code-change: 'false'
92 - draft-published-event
93 - comment-added-contains-event:
94 comment-contains-value: 'recheck'
95 - comment-added-contains-event:
96 comment-contains-value: 'reverify'
98 - project-compare-type: 'REG_EXP'
99 project-pattern: '{gated-projects}'
101 - branch-compare-type: 'ANT'
102 branch-pattern: '**/{branch}'
103 disable-strict-forbidden-file-verification: 'false'
104 forbidden-file-paths:
106 pattern: '.gitignore|.gitreview|.yamllint|README.md|bindep.txt|setup.cfg|setup.py'
107 custom-url: '* $JOB_NAME $BUILD_URL'
113 execution-type: PARALLEL
115 - name: 'engine-verify-ansible-lint-{stream}'
116 current-parameters: true
119 - name: 'engine-verify-shellcheck-{stream}'
120 current-parameters: true
123 - name: 'engine-verify-yamllint-{stream}'
124 current-parameters: true
127 - name: 'engine-verify-docs-{stream}'
128 current-parameters: true
133 name: 'engine-verify-{lint-type}-{stream}'
135 disabled: '{obj:disabled}'
139 node: infra-tools-docker-slave-ubuntu1804
144 default: '{lint-type}'
145 description: 'Lint type to run'
147 name: REPOS_TO_IGNORE
148 default: '{repos-to-ignore}'
149 description: 'Repos to ignore for the specific lint type'
157 - fix-workspace-permissions
161 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
162 branch: refs/heads/$GERRIT_BRANCH
163 refspec: $GERRIT_REFSPEC
170 # vim: set ts=2 sw=2 expandtab: