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'
32 repos-to-enable: 'infra\/engine|infra\/test|infra\/swconfig'
34 repos-to-enable: 'infra\/engine|infra\/test|infra\/swconfig|infra\/hwconfig'
36 repos-to-enable: 'infra\/engine|infra\/test|infra\/swconfig'
39 - 'cloud-infra-verify-{lint-type}-{stream}'
42 name: 'cloud-infra-verify-{lint-type}-{stream}'
44 disabled: '{obj:disabled}'
48 node: infra-tools-docker-slave-ubuntu1804
52 project: $GERRIT_PROJECT
54 - nordix-gerrit-parameters
57 default: '{lint-type}'
58 description: 'Lint type to run'
66 - fix-workspace-permissions
70 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
72 refspec: $GERRIT_REFSPEC
78 server-name: 'Nordix Gerrit'
80 - patchset-created-event:
81 exclude-drafts: 'false'
82 exclude-trivial-rebase: 'false'
83 exclude-no-code-change: 'false'
84 - draft-published-event
85 - comment-added-contains-event:
86 comment-contains-value: 'recheck'
87 - comment-added-contains-event:
88 comment-contains-value: 'reverify'
90 - project-compare-type: 'REG_EXP'
91 project-pattern: '{repos-to-enable}'
93 - branch-compare-type: 'ANT'
94 branch-pattern: '**/{branch}'
95 disable-strict-forbidden-file-verification: 'false'
98 pattern: 'docs/**|.gitignore'
99 custom-url: '* $JOB_NAME $BUILD_URL'
102 - 'cloud-infra-lint-macro'
104 # vim: set ts=2 sw=2 expandtab: