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=========================================================
21 name: 'cloud-infra-lint'
23 project: 'cloud-infra-lint'
31 repos-to-enable: 'infra\/engine|infra\/test|infra\/swconfig'
34 repos-to-enable: 'infra\/engine|infra\/test|infra\/swconfig|infra\/hwconfig'
37 repos-to-enable: 'infra\/engine|infra\/test|infra\/swconfig'
41 - 'cloud-infra-verify-{lint-type}-{stream}'
44 name: 'cloud-infra-verify-{lint-type}-{stream}'
46 disabled: '{obj:disabled}'
50 node: infra-tools-docker-slave-ubuntu1804
54 project: $GERRIT_PROJECT
56 - nordix-gerrit-parameters
59 default: '{lint-type}'
60 description: 'Lint type to run'
68 - fix-workspace-permissions
72 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
74 refspec: $GERRIT_REFSPEC
80 server-name: 'Nordix Gerrit'
82 - patchset-created-event:
83 exclude-drafts: 'false'
84 exclude-trivial-rebase: 'false'
85 exclude-no-code-change: 'false'
86 - draft-published-event
87 - comment-added-contains-event:
88 comment-contains-value: 'recheck'
89 - comment-added-contains-event:
90 comment-contains-value: 'reverify'
92 - project-compare-type: 'REG_EXP'
93 project-pattern: '{repos-to-enable}'
95 - branch-compare-type: 'ANT'
96 branch-pattern: '**/{branch}'
97 disable-strict-forbidden-file-verification: 'false'
100 pattern: 'docs/**|.gitignore'
101 custom-url: '* $JOB_NAME $BUILD_URL'
104 - 'cloud-infra-lint-macro'
106 # vim: set ts=2 sw=2 expandtab: